]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Add fallback path for YCBCR422
authorMario Limonciello <Mario.Limonciello@amd.com>
Wed, 27 Aug 2025 17:17:19 +0000 (12:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Sep 2025 21:01:02 +0000 (17:01 -0400)
commitdb291ed1732e02e79dca431838713bbf602bda1c
tree78657d60789bb8d7d650298bc5a062bf26640d39
parent5e76bc677cb7c92b37d8bc66bb67a18922895be2
drm/amd/display: Add fallback path for YCBCR422

[Why]
DP validation may fail with multiple displays and higher color depths.
The sink may support others though.

[How]
When DP bandwidth validation fails, progressively fallback through:
- YUV422 8bpc (bandwidth efficient)
- YUV422 6bpc (reduced color depth)
- YUV420 (last resort)

This resolves cases where displays would show no image due to insufficient
DP link bandwidth for the requested RGB mode.

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
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h