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: Add Kaanapali WB support

Add support for Kaanapali WB, which introduce register
relocations, use the updated registeri definition to ensure
compatibility.

Co-developed-by: Yongxing Mou <yongxing.mou@oss.qualcomm.com>
Signed-off-by: Yongxing Mou <yongxing.mou@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Yuanjie Yang <yuanjie.yang@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/698715/
Link: https://lore.kernel.org/r/20260115092749.533-12-yuanjie.yang@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>

authored by

Yuanjie Yang and committed by
Dmitry Baryshkov
c6c9f129 688c7734

+15 -2
+15 -2
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.c
··· 148 148 cfg); 149 149 } 150 150 151 + static void dpu_hw_wb_setup_qos_lut_v13(struct dpu_hw_wb *ctx, 152 + struct dpu_hw_qos_cfg *cfg) 153 + { 154 + if (!ctx || !cfg) 155 + return; 156 + 157 + dpu_hw_setup_qos_lut_v13(&ctx->hw, cfg); 158 + } 159 + 151 160 static void dpu_hw_wb_setup_cdp(struct dpu_hw_wb *ctx, 152 161 const struct msm_format *fmt, 153 162 bool enable) ··· 211 202 if (test_bit(DPU_WB_XY_ROI_OFFSET, &features)) 212 203 ops->setup_roi = dpu_hw_wb_roi; 213 204 214 - if (test_bit(DPU_WB_QOS, &features)) 215 - ops->setup_qos_lut = dpu_hw_wb_setup_qos_lut; 205 + if (test_bit(DPU_WB_QOS, &features)) { 206 + if (mdss_rev->core_major_ver >= 13) 207 + ops->setup_qos_lut = dpu_hw_wb_setup_qos_lut_v13; 208 + else 209 + ops->setup_qos_lut = dpu_hw_wb_setup_qos_lut; 210 + } 216 211 217 212 if (test_bit(DPU_WB_CDP, &features)) 218 213 ops->setup_cdp = dpu_hw_wb_setup_cdp;