aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
diff options
context:
space:
mode:
authorAun-Ali Zaidi <admin@kodeit.net>2022-01-29 05:49:55 +0000
committerAlex Deucher <alexander.deucher@amd.com>2022-02-02 18:26:32 -0500
commit33413ef964b8cdbb25a23aaf0b4aa8f0a330c4cf (patch)
tree1c7093d4ba5bcd4f40ac4fd1a106422c70e3afef /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
parentdrm/amd/display: clean up some inconsistent indenting (diff)
downloadlinux-dev-33413ef964b8cdbb25a23aaf0b4aa8f0a330c4cf.tar.xz
linux-dev-33413ef964b8cdbb25a23aaf0b4aa8f0a330c4cf.zip
drm/amd/display: Force link_rate as LINK_RATE_RBR2 for 2018 15" Apple Retina panels
The eDP link rate reported by the DP_MAX_LINK_RATE dpcd register (0xa) is contradictory to the highest rate supported reported by EDID (0xc = LINK_RATE_RBR2). The effects of this compounded with commit '4a8ca46bae8a ("drm/amd/display: Default max bpc to 16 for eDP")' results in no display modes being found and a dark panel. For now, simply force the maximum supported link rate for the eDP attached 2018 15" Apple Retina panels. Additionally, we must also check the firmware revision since the device ID reported by the DPCD is identical to that of the more capable 16,1, incorrectly quirking it. We also use said firmware check to quirk the refreshed 15,1 models with Vega graphics as they use a slightly newer firmware version. Tested-by: Aun-Ali Zaidi <admin@kodeit.net> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Aun-Ali Zaidi <admin@kodeit.net> Signed-off-by: Aditya Garg <gargaditya08@live.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions