[PATCH v3 04/23] drm/msm/dpu: switch RM to use crtc_id rather than enc_id for allocation

Abhinav Kumar quic_abhinavk at quicinc.com
Thu Oct 31 19:18:15 UTC 2024



On 10/16/2024 6:21 PM, Jessica Zhang wrote:
> From: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> 
> Up to now the driver has been using encoder to allocate hardware
> resources. Switch it to use CRTC id in preparation for the next step.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> Signed-off-by: Jessica Zhang <quic_jesszhan at quicinc.com>
> ---
>   drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c |  18 +--
>   drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h     |  12 +-
>   drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c      | 182 ++++++++++++++--------------
>   drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h      |  12 +-
>   4 files changed, 108 insertions(+), 116 deletions(-)
> 

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



More information about the Freedreno mailing list