diff options
| author | AngeloGioacchino Del Regno <[email protected]> | 2025-04-09 13:13:02 +0000 |
|---|---|---|
| committer | Chun-Kuang Hu <[email protected]> | 2025-04-27 01:26:56 +0000 |
| commit | 618dfbe01a297dce9834e2456307f05d6be59834 (patch) | |
| tree | 9c8705bb4f872258f4669be126108608169be6f8 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | drm/mediatek: mtk_hdmi: Move output init to mtk_hdmi_register_audio_driver() (diff) | |
| download | kernel-618dfbe01a297dce9834e2456307f05d6be59834.tar.gz kernel-618dfbe01a297dce9834e2456307f05d6be59834.zip | |
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 <[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]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions
