summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorYunxiang Li <Yunxiang.Li@amd.com>2022-09-22 00:20:19 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-10-06 19:06:25 +0300
commit8799c0be89ebb99a16098bdf618f49f817bef76a (patch)
tree774159fe9386b0b8ad2fb5b1c275073ab15ea9d4 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentf6aa84b83aee629fbbbc4ea16c2c142caf920d5a (diff)
downloadlinux-8799c0be89ebb99a16098bdf618f49f817bef76a.tar.xz
drm/amd/display: Fix vblank refcount in vrr transition
manage_dm_interrupts disable/enable vblank using drm_crtc_vblank_off/on which causes drm_crtc_vblank_get in vrr_transition to fail, and later when drm_crtc_vblank_put is called the refcount on vblank will be messed up. Therefore move the call to after manage_dm_interrupts. Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1247 Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1380 Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Yunxiang Li <Yunxiang.Li@amd.com> Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions