mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
gpu: nvgpu: Refactor PERF VFE unit
-Created ucode_perf_vfe_inf.h and moved all VFE interface structs and MACROs into this header -Created nvgpu_clk_fll_get_fmargin_idx to get freq margin index -Created nvgpu_vfe_var_get_s_param to read s_param -Removed MACROs and header includes which are not needed NVGPU-4448 Change-Id: I89f946d555bcbc7823665d2a5a761049f7a5e963 Signed-off-by: rmylavarapu <rmylavarapu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2260150 GVS: Gerrit_Virtual_Submit Reviewed-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
d0118c297e
commit
8f154fb6eb
@@ -23,18 +23,6 @@
|
||||
#ifndef NVGPU_PERF_VFE_VAR_H
|
||||
#define NVGPU_PERF_VFE_VAR_H
|
||||
|
||||
#include <nvgpu/boardobjgrp.h>
|
||||
#include <nvgpu/boardobjgrp_e32.h>
|
||||
#include <nvgpu/boardobjgrp_e255.h>
|
||||
#include <nvgpu/pmu/pmuif/nvgpu_cmdif.h>
|
||||
|
||||
#define VFE_VAR_GET(_pperf, _idx) \
|
||||
((struct vfe_var)BOARDOBJGRP_OBJ_GET_BY_IDX( \
|
||||
&((_pperf)->vfe.vars.super.super), (_idx)))
|
||||
|
||||
#define VFE_VAR_IDX_IS_VALID(_pperf, _idx) \
|
||||
boardobjgrp_idxisvalid(&((_pperf)->vfe.vars.super.super), (_idx))
|
||||
|
||||
struct vfe_var {
|
||||
struct boardobj super;
|
||||
u32 out_range_min;
|
||||
|
||||
Reference in New Issue
Block a user