[PATCH] drm/msm/dpu: drop rogue intr_tear_rd_ptr values

Abhinav Kumar quic_abhinavk at quicinc.com
Tue Apr 8 19:34:15 UTC 2025



On 4/8/2025 6:02 AM, Dmitry Baryshkov wrote:
> The commit 5a9d50150c2c ("drm/msm/dpu: shift IRQ indices by 1") shifted
> IRQ indices by 1, making 'NO_IRQ' to be 0 rather than -1 (and allowing
> to skip the definition if the IRQ is not present).
> Several platform files were sketched before that commit, but got applied
> afterwards. As such, they inherited historical (and currently incorrect)
> setting of .intr_tear_rd_ptr = -1 for 'NO_IRQ' value.
> 
> Drop that setting for all the affected platforms.
> 
> Fixes: 62af6e1cb596 ("drm/msm/dpu: Add support for MSM8917")
> Fixes: c079680bb0fa ("drm/msm/dpu: Add support for MSM8937")
> Fixes: 7a6109ce1c2c ("drm/msm/dpu: Add support for MSM8953")
> Fixes: daf9a92daeb8 ("drm/msm/dpu: Add support for MSM8996")
> Fixes: 7204df5e7e68 ("drm/msm/dpu: add support for SDM660 and SDM630 platforms")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at oss.qualcomm.com>
> ---
>   drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_1_14_msm8937.h | 2 --
>   drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_1_15_msm8917.h | 1 -
>   drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_1_16_msm8953.h | 3 ---
>   drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_1_7_msm8996.h  | 4 ----
>   drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_2_sdm660.h   | 3 ---
>   drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_3_sdm630.h   | 2 --
>   6 files changed, 15 deletions(-)
> 

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


More information about the Freedreno mailing list