summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorMonk Liu <Monk.Liu@amd.com>2017-01-26 15:32:16 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:53:12 -0400
commit223049cd54bdf32be581aff4c2cc0f8a9cb7cef0 (patch)
treebca59570d1ce76fa6635965608c5ffde8ceb7bba /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent2641e38b0269be73c8d495eba3df1c7f2a3c2224 (diff)
downloadlinux-223049cd54bdf32be581aff4c2cc0f8a9cb7cef0.tar.bz2
drm/amdgpu:new field in_reset introduced for gfx
use it to seperate driver load and gpu reset/resume because gfx IP need different approach for different hw_init trigger source Signed-off-by: Monk Liu <Monk.Liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 3ba21ffdc6c0..9b3b2a3001cc 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -903,6 +903,7 @@ struct amdgpu_gfx {
/* reset mask */
uint32_t grbm_soft_reset;
uint32_t srbm_soft_reset;
+ bool in_reset;
};
int amdgpu_ib_get(struct amdgpu_device *adev, struct amdgpu_vm *vm,