diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2025-04-09 15:13:02 +0200 |
---|---|---|
committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2025-04-27 01:26:56 +0000 |
commit | 618dfbe01a297dce9834e2456307f05d6be59834 (patch) | |
tree | 9c8705bb4f872258f4669be126108608169be6f8 /rust/helpers/pci.c | |
parent | 26c691a6620069894ba3fde9147cf49d340870b3 (diff) |
drm/mediatek: mtk_dpi: Use switch in mtk_dpi_config_color_format()
In preparation for adding support for an additional color format,
convert the format conditional in mtk_dpi_config_color_format()
to a switch.
This also makes the concept of RGB being the default color format
a little more human readable.
This commit brings no functional differences.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20250409131306.108635-2-angelogioacchino.delregno@collabora.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions