Commit 8f41187a authored by Dmitry Baryshkov's avatar Dmitry Baryshkov

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: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/530866/
Link: https://lore.kernel.org/r/20230404130622.509628-30-dmitry.baryshkov@linaro.orgSigned-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent 463ba323
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#define _DPU_8_0_SC8280XP_H #define _DPU_8_0_SC8280XP_H
static const struct dpu_caps sc8280xp_dpu_caps = { static const struct dpu_caps sc8280xp_dpu_caps = {
.max_mixer_width = 2560, .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 11, .max_mixer_blendstages = 11,
.qseed_type = DPU_SSPP_SCALER_QSEED4, .qseed_type = DPU_SSPP_SCALER_QSEED4,
.has_src_split = true, .has_src_split = true,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment