drm/edid: add a quirk for two LG monitors to get them to work on 10bpc
authorHamza Mahfooz <hamza.mahfooz@amd.com>
Fri, 21 Oct 2022 20:37:34 +0000 (16:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Oct 2022 19:12:09 +0000 (15:12 -0400)
commitaa193f7eff8ff753577351140b8af13b76cdc7c2
tree40490dd315605295659c7c072f41f52054b665a3
parentc9bdc6c3cf39df6db9c611d05fc512b1276b1cc8
drm/edid: add a quirk for two LG monitors to get them to work on 10bpc

The LG 27GP950 and LG 27GN950 have visible display corruption when
trying to use 10bpc modes. So, to fix this, cap their maximum DSC
target bitrate to 15bpp.

Suggested-by: Roman Li <roman.li@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/drm_edid.c
include/drm/drm_connector.h