Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ac134e6 authored by Vikash Garodia's avatar Vikash Garodia
Browse files

msm: vidc: Reorganize bus vote module in video



Restructure the video driver apis used to calculate and
vote bus bandwidth.
1. Introduce a header having bus related info.
2. Remove the remaining dependencies with governor.
3. Remove extern api.
4. Target specific function pointer to make it scalable.

Change-Id: Ief045fac9d9df1cb3d6307d2902f9189c7f8b311
Signed-off-by: default avatarVikash Garodia <vgarodia@codeaurora.org>
parent be4e22c9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -18,8 +18,8 @@ msm-vidc-objs := msm_v4l2_vidc.o \
                hfi_packetization.o \
                vidc_hfi.o \
                msm_vidc_clocks.o \
                msm_vidc_ar50_dyn_gov.o \
                msm_vidc_dyn_gov.o \
                msm_vidc_bus_iris1.o \
                msm_vidc_bus_iris2.o \
                msm_vidc_buffer_calculations.o

obj-$(CONFIG_MSM_VIDC_V4L2) := msm-vidc.o
+4 −1
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
 */

#ifdef _FIXP_ARITH_H
@@ -10,6 +10,9 @@
#ifndef _FIXEDPOINT_H_
#define _FIXEDPOINT_H_

#include <linux/types.h>
#include <linux/bits.h>

/*
 * Normally would typedef'ed, but checkpatch doesn't like typedef.
 * Also should be normally typedef'ed to intmax_t but that doesn't seem to be
Loading