diff options
author | 2023-05-17 14:39:46 -0400 | |
---|---|---|
committer | 2023-06-09 10:40:30 -0400 | |
commit | b18f05a0666aecd5cb19c26a8305bcfa4e9d6502 (patch) | |
tree | dbb0384131871a3b369d99144f570eff1e0701ef /drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | |
parent | drm/amdgpu: Validate VM ioctl flags. (diff) | |
download | linux-b18f05a0666aecd5cb19c26a8305bcfa4e9d6502.tar.gz linux-b18f05a0666aecd5cb19c26a8305bcfa4e9d6502.tar.bz2 linux-b18f05a0666aecd5cb19c26a8305bcfa4e9d6502.zip |
drm/amd/display: Fix artifacting on eDP panels when engaging freesync video mode
[Why]
When freesync video mode is enabled, switching resolution from native
mode to one of the freesync video compatible modes can trigger continous
artifacts on some eDP panels when running under KDE. The articating can be seen in the
attached bug report.
[How]
Fix this by restricting updates that require full commit by using the same checks
for stream and scaling changes in the the enable pass of dm_update_crtc_state()
along with the check for compatible timings for freesync vide mode.
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2162
Fixes: da5e14909776 ("drm/amd/display: Fix hang when skipping modeset")
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c')
0 files changed, 0 insertions, 0 deletions