Skip to content
Snippets Groups Projects
Commit 33413ef9 authored by Aun-Ali Zaidi's avatar Aun-Ali Zaidi Committed by Alex Deucher
Browse files

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
'4a8ca46b ("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: default avatarAun-Ali Zaidi <admin@kodeit.net>
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAun-Ali Zaidi <admin@kodeit.net>
Signed-off-by: default avatarAditya Garg <gargaditya08@live.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent dd4dabe4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment