-
- Downloads
drm/msm/dpu: Fail atomic_check if multiple outputs request CDM block
Currently, our hardware only supports a single output using CDM block at most. Because of this, we cannot support cases where both writeback and DP output request CDM simultaneously To avoid this happening when CWB is enabled, change msm_display_topoloy.needs_cdm into a num_cdm counter to track how many outputs are requesting CDM block. Return EINVAL if multiple outputs are trying to reserve CDM. Signed-off-by:Jessica Zhang <quic_jesszhan@quicinc.com> Reviewed-by:
Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/637499/ Link: https://lore.kernel.org/r/20250214-concurrent-wb-v6-6-a44c293cf422@quicinc.com Signed-off-by:
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Showing
- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c 2 additions, 2 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c 9 additions, 3 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_rm.c
- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h 3 additions, 2 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_rm.h
Loading
Please register or sign in to comment