drm/msm/dpu: drop DPU_DIM_LAYER from MIXER_MSM8998_MASK
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 11 Feb 2023 23:12:20 +0000 (01:12 +0200)
committerAbhinav Kumar <quic_abhinavk@quicinc.com>
Fri, 3 Mar 2023 18:04:09 +0000 (10:04 -0800)
The msm8998 doesn't seem to support DIM_LAYER, so drop it from
the supported features mask.

Fixes: 2d8a4edb672d ("drm/msm/dpu: use feature bit for LM combined alpha check")
Fixes: 94391a14fc27 ("drm/msm/dpu1: Add MSM8998 to hw catalog")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/522231/
Link: https://lore.kernel.org/r/20230211231259.1308718-12-dmitry.baryshkov@linaro.org
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c

index 4a26ef7bb0240ffc931bcb9243f1e0b168b25185..02bd8334d67c818c28dfd77b2a51b71d2f7da97d 100644 (file)
@@ -52,7 +52,7 @@
        (DMA_MSM8998_MASK | BIT(DPU_SSPP_CURSOR))
 
 #define MIXER_MSM8998_MASK \
-       (BIT(DPU_MIXER_SOURCESPLIT) | BIT(DPU_DIM_LAYER))
+       (BIT(DPU_MIXER_SOURCESPLIT))
 
 #define MIXER_SDM845_MASK \
        (BIT(DPU_MIXER_SOURCESPLIT) | BIT(DPU_DIM_LAYER) | BIT(DPU_MIXER_COMBINED_ALPHA))