[PATCH v4 07/11] drm/msm/dpu: use dpu_perf_cfg in DPU core_perf code

Abhinav Kumar quic_abhinavk at quicinc.com
Mon Jul 17 18:39:18 UTC 2023



On 7/12/2023 3:11 PM, Dmitry Baryshkov wrote:
> Simplify dpu_core_perf code by using only dpu_perf_cfg instead of using
> full-featured catalog data.
> 
> Acked-by: Konrad Dybcio <konrad.dybcio at linaro.org>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
>   drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c | 73 ++++++++-----------
>   drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.h |  8 +-
>   drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c       |  2 +-
>   3 files changed, 35 insertions(+), 48 deletions(-)
> 

With dpu_core_rev as a separate struct, if we do need the dpu hw version 
in this module, we can just pass that instead. Hence,

Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>



More information about the dri-devel mailing list