drm/msm/dpu: move UBWC/memory configuration to separate struct
UBWC and highest bank settings differ slightly between different DPU units of the same generation, while the dpu_caps and dpu_mdp_cfg are much more stable. To ease configuration reuse move ubwc_swizzle and highest_bank_bit data to separate structure. Reviewed-by:Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by:
Abhinav Kumar <quic_abhinavk@quicinc.com> Signed-off-by:
Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/530820/ Link: https://lore.kernel.org/r/20230404130622.509628-7-dmitry.baryshkov@linaro.org Signed-off-by:
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Showing
- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c 82 additions, 30 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c
- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h 14 additions, 5 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h
- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c 9 additions, 9 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c
- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h 2 additions, 2 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h
Loading
Please register or sign in to comment