mirror_ubuntu-kernels/drivers/gpu/drm/amd
Emily.Deng 36499e4c77 drm/amdgpu: Fix dead lock issue for vblank
Always start vblank timer, but only calls vblank function
when vblank is enabled.

This is used to fix the dead lock issue.
When drm_crtc_vblank_off want to disable vblank,
it first get event_lock, and then call hrtimer_cancel,
but hrtimer_cancel want to wait timer handler function finished.
Timer handler also want to aquire event_lock in drm_handle_vblank.

Signed-off-by: Emily.Deng <Emily.Deng@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-09-22 12:25:15 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: Fix dead lock issue for vblank 2020-09-22 12:25:15 -04:00
amdkfd drm/amdkfd: Move process doorbell allocation into kfd device 2020-09-22 12:25:02 -04:00
display drm/amd/display: fix crash/reboot while accessing sysfs files 2020-09-22 12:25:09 -04:00
include drm/amdgpu: add VCN 3.0 AV1 registers 2020-09-17 18:01:46 -04:00
pm drm/amd/pm: Skip smu_post_init in SRIOV 2020-09-18 16:14:56 -04:00