diff options
author | Emily.Deng <Emily.Deng@amd.com> | 2020-09-14 17:57:01 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-09-22 12:25:15 -0400 |
commit | 36499e4c776ad2e51bb6d0075acdfba9f728b8c2 (patch) | |
tree | f691d5941276c1a0361db93d1a85efd8f622a308 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9de9a54aba76ae6b3eb5da221114619977872ec6 (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions