diff options
author | Nikola Cornij <nikola.cornij@amd.com> | 2021-03-26 19:13:52 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-09 16:47:15 -0400 |
commit | fe8858bb097ba344a1d8280faef050504ce8d142 (patch) | |
tree | e0b4f334da4c9962c715388eaa3cec336e1516dd /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 03e70a0271f68a2a2d1640ac68bdb5c65876336b (diff) |
drm/amd/display: Fix black screen with scaled modes on some eDP panels
[why]
This was a regression introduced by commit:
drm/amd/display: Skip modeset for front porch change
Due to the change how timing parameters were set, scaled modes would
cause a black screen on some eDP panels. Would probably apply to
other displays (i.e. even non-eDP) that only have scaled modes,
but such case is not that usual for external displays.
[how]
Pick up crtc frame dimensions when programming the timing unless
it's FreeSync video mode.
Fixes: 6f59f229f8ed7a ("drm/amd/display: Skip modeset for front porch change")
Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions