Re: [PATCH] drm/amdgpu: Fix no irq process when evict vram

2018-02-06 Thread Alex Deucher
ander.deuc...@amd.com> > > > From: amd-gfx <amd-gfx-boun...@lists.freedesktop.org> on behalf of Yintian > Tao <yt...@amd.com> > Sent: Tuesday, December 12, 2017 10:37:43 PM > To: amd-gfx@lists.freedesktop.org > Cc: Tao, Yintian > Subject: [PATCH] drm/amdgpu: Fix no irq

Re: [PATCH] drm/amdgpu: Fix no irq process when evict vram

2017-12-13 Thread Deucher, Alexander
, 2017 10:37:43 PM To: amd-gfx@lists.freedesktop.org Cc: Tao, Yintian Subject: [PATCH] drm/amdgpu: Fix no irq process when evict vram When unload amdgpu driver we use sdma to evict vram but there is no irq process after sdma completed work which raises that waiting for the fence costs 2s which will

Re: [PATCH] drm/amdgpu: Fix no irq process when evict vram

2017-12-13 Thread Mike Lothian
gt; > *From:* Mike Lothian [mailto:m...@fireburn.co.uk] > *Sent:* Wednesday, December 13, 2017 7:23 PM > *To:* Tao, Yintian <yintian@amd.com> > *Cc:* amd-gfx@lists.freedesktop.org > *Subject:* Re: [PATCH] drm/amdgpu: Fix no irq process when evict vram > > > >

RE: [PATCH] drm/amdgpu: Fix no irq process when evict vram

2017-12-13 Thread Tao, Yintian
t;yintian@amd.com> Cc: amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amdgpu: Fix no irq process when evict vram Is this a follow on to https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-4.16-wip=b9141cd3930e390f156739829ca9589fda7926e4 On Wed, 13 Dec 2017 at 07:11 Yintian Tao &l

Re: [PATCH] drm/amdgpu: Fix no irq process when evict vram

2017-12-13 Thread Mike Lothian
Is this a follow on to https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-4.16-wip=b9141cd3930e390f156739829ca9589fda7926e4 On Wed, 13 Dec 2017 at 07:11 Yintian Tao wrote: > When unload amdgpu driver we use sdma to evict vram but there is no > irq process after sdma

[PATCH] drm/amdgpu: Fix no irq process when evict vram

2017-12-12 Thread Yintian Tao
When unload amdgpu driver we use sdma to evict vram but there is no irq process after sdma completed work which raises that waiting for the fence costs 2s which will trigger VFLR under SRIOV and at last make unload driver failed.The reason is that the shutdown varible in adev is set to true before