]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Add HDMI DSC native YCbCr422 support
authorLeo Ma <hanghong.ma@amd.com>
Mon, 19 Aug 2024 17:25:27 +0000 (13:25 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:47 +0000 (16:29 +0200)
commit55fcbe5f60865717479a9d6a8d8d076c8f443759
treeb6fcafda73c71e93d1b1733820d238d0f722d265
parenta53841b074cc196c3caaa37e1f15d6bc90943b97
drm/amd/display: Add HDMI DSC native YCbCr422 support

commit 07bfa9cdbf3cd2daadfaaba0601f126f45951ffa upstream.

[WHY && HOW]
For some HDMI OVT timing, YCbCr422 encoding fails at the DSC
bandwidth check. The root cause is our DSC policy for timing
doesn't account for HDMI YCbCr422 native support.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Chris Park <chris.park@amd.com>
Signed-off-by: Leo Ma <hanghong.ma@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
drivers/gpu/drm/amd/display/dc/dc_dsc.h
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c