diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-04-04 16:06:09 +0300 |
---|---|---|
committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-04-07 03:52:10 +0300 |
commit | 8f41187a0649d6da7d18fb7256b565657c2cdd47 (patch) | |
tree | 0b3ca42811adaa43585d77355ebf6a6c48c336f3 /drivers/gpu/drm/msm | |
parent | 463ba323aeb48a6f84410a88b1880fc879130110 (diff) | |
download | linux-stable-8f41187a0649d6da7d18fb7256b565657c2cdd47.tar.gz linux-stable-8f41187a0649d6da7d18fb7256b565657c2cdd47.tar.bz2 linux-stable-8f41187a0649d6da7d18fb7256b565657c2cdd47.zip |
drm/msm/dpu: use defined symbol for sc8280xp's maxwidth
Use defined name DEFAULT_DPU_OUTPUT_LINE_WIDTH instead of open coding
the value.
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/530866/
Link: https://lore.kernel.org/r/20230404130622.509628-30-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/msm')
-rw-r--r-- | drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h index 39894cbf456d..d30b797e90e0 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h @@ -8,7 +8,7 @@ #define _DPU_8_0_SC8280XP_H static const struct dpu_caps sc8280xp_dpu_caps = { - .max_mixer_width = 2560, + .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH, .max_mixer_blendstages = 11, .qseed_type = DPU_SSPP_SCALER_QSEED4, .has_src_split = true, |