]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu:pass ctx->guilty address to entity init
authorMonk Liu <Monk.Liu@amd.com>
Mon, 23 Oct 2017 04:25:24 +0000 (12:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:33:09 +0000 (16:33 -0500)
commitc8b41bc4b0cb97b2cf19b994377b157c8ccf677e
tree0dbd5b913768f614c1b47a6c1e8483f8e4c5c5c3
parentfb443d55e98ce4ed781c29ed3f77fa311efc3a09
drm/amdgpu:pass ctx->guilty address to entity init

this way the real interested guilty is connected to entity->guilty
pointer, and we can use entity->pointer later in gpu recovery procedure

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.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c