Re: [PATCH] drm/amdgpu:fix gpu recover missing skipping(v2)

2017-11-08 Thread Christian König
Am 08.11.2017 um 08:08 schrieb Monk Liu: if app close CTX right after IB submit, gpu recover will fail to find out the entity behind this guilty job thus lead to no job skipping for this guilty job. to fix this corner case just move the increasement of job->karma out of the entity iteration. v2

Re: [PATCH] drm/amdgpu:fix gpu recover missing skipping

2017-11-08 Thread Christian König
Am 08.11.2017 um 07:39 schrieb Monk Liu: if app close CTX right after IB submit, gpu recover will failed to find out the entity/ctx behind the guilty job thus lead to bad job skipping in scheduler failed to fix this corner case just move the job->karma increasing out of the condition that the ba

RE: [PATCH] drm/amdgpu:fix gpu recover missing skipping

2017-11-07 Thread Yu, Xiangliang
Reviewed-and-tested-By: Xiangliang Yu > -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Monk Liu > Sent: Wednesday, November 08, 2017 2:39 PM > To: amd-gfx@lists.freedesktop.org > Cc: Liu, Monk > Subject: [PATCH] drm/amdgpu:fix gpu recove

RE: [PATCH] drm/amdgpu:fix gpu recover missing skipping(v2)

2017-11-07 Thread Yu, Xiangliang
Reviewed-By: Xiangliang Yu > -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Monk Liu > Sent: Wednesday, November 08, 2017 3:08 PM > To: amd-gfx@lists.freedesktop.org > Cc: Liu, Monk > Subject: [PATCH] drm/amdgpu:fix gpu recover missing s