aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
diff options
context:
space:
mode:
authorFangzhi Zuo <Jerry.Zuo@amd.com>2024-10-17 18:15:10 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-11-04 11:40:51 -0500
commitabdd2768d7630bc8ec3403aea24f4197bada3c1f (patch)
tree31c0eae3091d69537b1331f872de9d9acd935da8 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
parent38077562e0594a294eaf4d8e6bbd8c1c26c2540f (diff)
downloadlinux-abdd2768d7630bc8ec3403aea24f4197bada3c1f.tar.gz
linux-abdd2768d7630bc8ec3403aea24f4197bada3c1f.tar.bz2
linux-abdd2768d7630bc8ec3403aea24f4197bada3c1f.zip
drm/amd/display: Prune Invalid Modes For HDMI Output
[Why] 1. HDMI does not have 6 bpc support. Having 6 bpc pass validation does not comply with spec. 2. Validate 420 only for native HDMI, but not apply to pcon use case. 3. Current mode validation log is not readable. [how] 1. Cap 8 bpc for dp-hdmi converter. 2. Validate yuv420 for pcon use case as well, if rgb/yuv444 8bpc cannot fit into pcon bw limitation of the link from the converter to HDMI sink. 3. Add readable pixel_format and color_depth into debug log. Reviewed-by: Wayne Lin <wayne.lin@amd.com> Signed-off-by: Fangzhi Zuo <Jerry.Zuo@amd.com> Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions