]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu:cleanup job reset routine(v2)
authorMonk Liu <Monk.Liu@amd.com>
Mon, 16 Oct 2017 11:46:43 +0000 (19:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:33:10 +0000 (16:33 -0500)
commit62433b1090b8fad4df2954625fcbba7839ba1205
tree9198ac8b6d047072804fdd52f367bb4923f05f7e
parentf8ce489f988e470cd06e59beae41478a3281cfbe
drm/amdgpu:cleanup job reset routine(v2)

merge the setting guilty on context into this function
to avoid implement extra routine.

v2:
go through entity list and compare the fence_ctx
before operate on the entity, otherwise the entity
may be just a wild pointer

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Chunming Zhou <David1.Zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.h