Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/msm/dpu: Adjust CDM_MUX to support CWB PINGPONG

Similar to WB_MUX, CDM_MUX also needs to be adjusted to support
dedicated CWB PINGPONGs

Signed-off-by: Jessica Zhang <quic_jesszhan@quicinc.com>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/641272/
Link: https://lore.kernel.org/r/20250305-cdm-cwb-mux-fix-v1-1-16148ca6e4d2@quicinc.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

authored by

Jessica Zhang and committed by
Dmitry Baryshkov
1cf5cd92 69d02730

+3 -1
+3 -1
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.c
··· 214 214 mux_cfg = DPU_REG_READ(c, CDM_MUX); 215 215 mux_cfg &= ~0xf; 216 216 217 - if (pp) 217 + if (pp >= PINGPONG_CWB_0) 218 + mux_cfg |= 0xd; 219 + else if (pp) 218 220 mux_cfg |= (pp - PINGPONG_0) & 0x7; 219 221 else 220 222 mux_cfg |= 0xf;