Re: [PATCH 09/22] drm/amdgpu: fix kmd reload bug on bare-metal

2018-02-27 Thread Christian König
To: Liu, Monk ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 09/22] drm/amdgpu: fix kmd reload bug on bare-metal Is my understanding wrong ?... The first thing that cancel_delayed_work_sync() does is it takes the work item from the TODO list. The it makes sure that the work is currently

RE: [PATCH 09/22] drm/amdgpu: fix kmd reload bug on bare-metal

2018-02-27 Thread Liu, Monk
rds, > Christian. > >> Please show me how to do it to achieve the same goal and I can modify >> my patch >> >> /Monk >> >> -Original Message- >> From: Christian König [mailto:ckoenig.leichtzumer...@gmail.com] >> Sent: 2018年2月26日 18

Re: [PATCH 09/22] drm/amdgpu: fix kmd reload bug on bare-metal

2018-02-27 Thread Christian König
any more Is my understanding wrong ?... /Monk -Original Message- From: Koenig, Christian Sent: 2018年2月27日 16:42 To: Liu, Monk ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 09/22] drm/amdgpu: fix kmd reload bug on bare-metal Am 27.02.2018 um 05:45 schrieb Liu, Monk: In this case I th

RE: [PATCH 09/22] drm/amdgpu: fix kmd reload bug on bare-metal

2018-02-27 Thread Liu, Monk
inal Message- > From: Christian König [mailto:ckoenig.leichtzumer...@gmail.com] > Sent: 2018年2月26日 18:08 > To: Liu, Monk ; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 09/22] drm/amdgpu: fix kmd reload bug on > bare-metal > > Am 26.02.2018 um 06:18 schrieb Monk Liu

Re: [PATCH 09/22] drm/amdgpu: fix kmd reload bug on bare-metal

2018-02-27 Thread Christian König
.freedesktop.org Subject: Re: [PATCH 09/22] drm/amdgpu: fix kmd reload bug on bare-metal Am 26.02.2018 um 06:18 schrieb Monk Liu: issue: on bare-metal when doing kmd reload test, there are chance that kernel hit fatal error afer driver unloaded/reloaded fix: the cause is that those "idle work

RE: [PATCH 09/22] drm/amdgpu: fix kmd reload bug on bare-metal

2018-02-26 Thread Liu, Monk
ent: 2018年2月26日 18:08 To: Liu, Monk ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 09/22] drm/amdgpu: fix kmd reload bug on bare-metal Am 26.02.2018 um 06:18 schrieb Monk Liu: > issue: > on bare-metal when doing kmd reload test, there are chance that kernel > hit fatal error afer driv

Re: [PATCH 09/22] drm/amdgpu: fix kmd reload bug on bare-metal

2018-02-26 Thread Christian König
Am 26.02.2018 um 06:18 schrieb Monk Liu: issue: on bare-metal when doing kmd reload test, there are chance that kernel hit fatal error afer driver unloaded/reloaded fix: the cause is that those "idle work" not really stopped and if kmd was is unloaded too quick that were chance that "idle work"

[PATCH 09/22] drm/amdgpu: fix kmd reload bug on bare-metal

2018-02-25 Thread Monk Liu
issue: on bare-metal when doing kmd reload test, there are chance that kernel hit fatal error afer driver unloaded/reloaded fix: the cause is that those "idle work" not really stopped and if kmd was is unloaded too quick that were chance that "idle work" run after driver structures already release