]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Set up pixel encoding for YCBCR422
authorMario Limonciello <Mario.Limonciello@amd.com>
Wed, 27 Aug 2025 01:18:22 +0000 (20:18 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Sep 2025 21:00:55 +0000 (17:00 -0400)
commit5e76bc677cb7c92b37d8bc66bb67a18922895be2
tree0309ba27754e8ca6b8a61083662fb3bc160f0ecf
parent02a6c2e4b28ff31f7a904c196a99fb2efe81e2cf
drm/amd/display: Set up pixel encoding for YCBCR422

[Why]
fill_stream_properties_from_drm_display_mode() will not configure pixel
encoding to YCBCR422 when the DRM color format supports YCBCR422 but not
YCBCR420 or YCBCR4444.  Instead it will fallback to RGB.

[How]
Add support for YCBCR422 in pixel encoding mapping.

Suggested-by: Mauri Carvalho <mcarvalho3@lenovo.com>
Reviewed-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Mario Limonciello <Mario.Limonciello@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c