RE: [PATCH] drm/amdgpu: Fix the dead lock issue.

2018-09-11 Thread Deng, Emily
From: Christian König Sent: Tuesday, September 11, 2018 2:40 PM To: Zhou, David(ChunMing) ; Deng, Emily ; Zhou, David(ChunMing) ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amdgpu: Fix the dead lock issue. That won't work correctly. The TTM BO is unreferenced in a couple of more

Re: [PATCH] drm/amdgpu: Fix the dead lock issue.

2018-09-11 Thread Christian König
: Tuesday, September 11, 2018 11:28 AM To: Deng, Emily ; Zhou, David(ChunMing) ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amdgpu: Fix the dead lock issue. On 2018年09月11日 11:23, Deng, Emily wrote: -Original Message- From: Zhou, David(ChunMing) Sent: Tuesday, September 11, 2018

Re: [PATCH] drm/amdgpu: Fix the dead lock issue.

2018-09-10 Thread zhoucm1
: Fix the dead lock issue. On 2018年09月11日 11:23, Deng, Emily wrote: -Original Message- From: Zhou, David(ChunMing) Sent: Tuesday, September 11, 2018 11:03 AM To: Deng, Emily ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amdgpu: Fix the dead lock issue. On 2018年09月11日 10:51

Re: [PATCH] drm/amdgpu: Fix the dead lock issue.

2018-09-10 Thread zhoucm1
On 2018年09月11日 11:32, Deng, Emily wrote: -Original Message- From: amd-gfx On Behalf Of zhoucm1 Sent: Tuesday, September 11, 2018 11:28 AM To: Deng, Emily ; Zhou, David(ChunMing) ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amdgpu: Fix the dead lock issue. On 2018年09月11日

RE: [PATCH] drm/amdgpu: Fix the dead lock issue.

2018-09-10 Thread Deng, Emily
>-Original Message- >From: amd-gfx On Behalf Of >zhoucm1 >Sent: Tuesday, September 11, 2018 11:28 AM >To: Deng, Emily ; Zhou, David(ChunMing) >; amd-gfx@lists.freedesktop.org >Subject: Re: [PATCH] drm/amdgpu: Fix the dead lock issue. > > > >On 201

Re: [PATCH] drm/amdgpu: Fix the dead lock issue.

2018-09-10 Thread zhoucm1
On 2018年09月11日 11:23, Deng, Emily wrote: -Original Message- From: Zhou, David(ChunMing) Sent: Tuesday, September 11, 2018 11:03 AM To: Deng, Emily ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amdgpu: Fix the dead lock issue. On 2018年09月11日 10:51, Emily Deng wrote

RE: [PATCH] drm/amdgpu: Fix the dead lock issue.

2018-09-10 Thread Deng, Emily
>-Original Message- >From: Zhou, David(ChunMing) >Sent: Tuesday, September 11, 2018 11:03 AM >To: Deng, Emily ; amd-gfx@lists.freedesktop.org >Subject: Re: [PATCH] drm/amdgpu: Fix the dead lock issue. > > > >On 2018年09月11日 10:51, Emily Deng wrote: >> It

Re: [PATCH] drm/amdgpu: Fix the dead lock issue.

2018-09-10 Thread zhoucm1
On 2018年09月11日 10:51, Emily Deng wrote: It will ramdomly have the dead lock issue when test TDR: 1. amdgpu_device_handle_vram_lost gets the lock shadow_list_lock 2. amdgpu_bo_create locked the bo's resv lock 3. amdgpu_bo_create_shadow is waiting for the shadow_list_lock 4.

Re: [PATCH] drm/amdgpu: Fix the dead lock issue.

2018-09-10 Thread Zhang, Jerry (Junwei)
On 09/11/2018 10:51 AM, Emily Deng wrote: It will ramdomly have the dead lock issue when test TDR: 1. amdgpu_device_handle_vram_lost gets the lock shadow_list_lock 2. amdgpu_bo_create locked the bo's resv lock 3. amdgpu_bo_create_shadow is waiting for the shadow_list_lock 4.

RE: [PATCH] drm/amdgpu: Fix the dead lock issue.

2018-09-10 Thread Deng, Emily
>-Original Message- >From: Koenig, Christian >Sent: Monday, September 10, 2018 3:23 PM >To: Deng, Emily ; amd-gfx@lists.freedesktop.org >Subject: Re: [PATCH] drm/amdgpu: Fix the dead lock issue. > >Am 10.09.2018 um 09:19 schrieb Deng, Emily: >>> -

Re: [PATCH] drm/amdgpu: Fix the dead lock issue.

2018-09-10 Thread Christian König
Am 10.09.2018 um 09:19 schrieb Deng, Emily: -Original Message- From: Christian König Sent: Monday, September 10, 2018 3:06 PM To: Deng, Emily ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amdgpu: Fix the dead lock issue. Am 10.09.2018 um 06:07 schrieb Emily Deng

RE: [PATCH] drm/amdgpu: Fix the dead lock issue.

2018-09-10 Thread Deng, Emily
>-Original Message- >From: Christian König >Sent: Monday, September 10, 2018 3:06 PM >To: Deng, Emily ; amd-gfx@lists.freedesktop.org >Subject: Re: [PATCH] drm/amdgpu: Fix the dead lock issue. > >Am 10.09.2018 um 06:07 schrieb Emily Deng: >> It will ramdomly ha

Re: [PATCH] drm/amdgpu: Fix the dead lock issue.

2018-09-10 Thread Christian König
Am 10.09.2018 um 06:07 schrieb Emily Deng: It will ramdomly have the dead lock issue when test TDR: 1. amdgpu_device_handle_vram_lost gets the lock shadow_list_lock 2. amdgpu_bo_create locked the bo's resv lock 3. amdgpu_bo_create_shadow is waiting for the shadow_list_lock 4.