Skip to content

Commit 8f41187

Browse files
committed
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 <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/530866/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent 463ba32 commit 8f41187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#define _DPU_8_0_SC8280XP_H
99

1010
static const struct dpu_caps sc8280xp_dpu_caps = {
11-
.max_mixer_width = 2560,
11+
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
1212
.max_mixer_blendstages = 11,
1313
.qseed_type = DPU_SSPP_SCALER_QSEED4,
1414
.has_src_split = true,

0 commit comments

Comments
 (0)