linux/drivers/gpu/drm/amd
Monk Liu cfb83b1d9c drm/amdgpu:fix gpu recover missing skipping(v2)
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:
only do karma increasment if bad->s_priority != KERNEL
because we always consider KERNEL job be correct and always
want to recover an unfinished kernel job (sometimes kernel
job is interrupted by VF FLR or other GPU hang event)

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-By: Xiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-12-04 16:41:46 -05:00
..
acp
amdgpu drm/amdgpu:read VRAMLOST from gim 2017-12-04 16:41:45 -05:00
amdkfd Merge tag 'drm-amdkfd-fixes-2017-11-26' of git://people.freedesktop.org/~gabbayo/linux into drm-fixes 2017-12-01 09:14:46 +10:00
display drm/amd/display: Remove fb_location parameter from get_fb_info 2017-12-04 16:41:41 -05:00
include drm/amdgpu: add new pp function point notify_smu_memory_info 2017-12-04 16:33:18 -05:00
lib drm/amd/chash: Fix typo 2017-09-28 16:03:29 -04:00
powerplay drm/amd/pp: delete an outdated comment in amd_powerplay.c 2017-12-04 16:33:19 -05:00
scheduler drm/amdgpu:fix gpu recover missing skipping(v2) 2017-12-04 16:41:46 -05:00