Skip to content

Commit 587f6ac

Browse files
AngeloGioacchino Del RegnoChun-Kuang Hu
authored andcommitted
drm/mediatek: mtk_dpi: Rename output fmts array for MT8195 DP_INTF
For the sake of increasing human readability and avoid possible confusion between DPI and DP_INTF output formats (as the two are ever so slightly different), rename the mt8195_output_fmts array to mt8195_dp_intf_output_fmts. This commit brings no functional changes. Signed-off-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: CK Hu <[email protected]> Link: https://patchwork.kernel.org/project/dri-devel/patch/[email protected]/ Signed-off-by: Chun-Kuang Hu <[email protected]>
1 parent 20fa6a8 commit 587f6ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/gpu/drm/mediatek/mtk_dpi.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ static const u32 mt8195_dpi_output_fmts[] = {
11061106
MEDIA_BUS_FMT_YUV10_1X30,
11071107
};
11081108

1109-
static const u32 mt8195_output_fmts[] = {
1109+
static const u32 mt8195_dp_intf_output_fmts[] = {
11101110
MEDIA_BUS_FMT_BGR888_1X24,
11111111
MEDIA_BUS_FMT_RGB888_1X24,
11121112
MEDIA_BUS_FMT_RGB888_2X12_LE,
@@ -1248,8 +1248,8 @@ static const struct mtk_dpi_conf mt8195_dpintf_conf = {
12481248
.dpi_factor = dpi_factor_mt8195_dp_intf,
12491249
.num_dpi_factor = ARRAY_SIZE(dpi_factor_mt8195_dp_intf),
12501250
.max_clock_khz = 600000,
1251-
.output_fmts = mt8195_output_fmts,
1252-
.num_output_fmts = ARRAY_SIZE(mt8195_output_fmts),
1251+
.output_fmts = mt8195_dp_intf_output_fmts,
1252+
.num_output_fmts = ARRAY_SIZE(mt8195_dp_intf_output_fmts),
12531253
.pixels_per_iter = 4,
12541254
.dimension_mask = DPINTF_HPW_MASK,
12551255
.hvsize_mask = DPINTF_HSIZE_MASK,

0 commit comments

Comments
 (0)