RE: [PATCH 2/2] drm/amdgpu: Fix dead lock issue for vblank

2020-09-18 Thread Deng, Emily
Thanks, will double check. Best wishes Emily Deng >-Original Message- >From: Zhang, Hawking >Sent: Friday, September 18, 2020 4:20 PM >To: Deng, Emily ; amd-gfx@lists.freedesktop.org >Cc: Deng, Emily >Subject: RE: [PATCH 2/2] drm/amdgpu: Fix dead lock issue for vbl

RE: [PATCH 2/2] drm/amdgpu: Fix dead lock issue for vblank

2020-09-18 Thread Zhang, Hawking
Emily.Deng Sent: Friday, September 18, 2020 11:27 To: amd-gfx@lists.freedesktop.org Cc: Deng, Emily Subject: [PATCH 2/2] 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 i

[PATCH 2/2] drm/amdgpu: Fix dead lock issue for vblank

2020-09-17 Thread Emily . Deng
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