OSDN Git Service

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)
commit1102900de082a7ef6991de0ad2ff88047ae859b3
tree0dbd5b913768f614c1b47a6c1e8483f8e4c5c5c3
parentb3eebe3d899fdcc77297f1513983a5250f0bed80
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