diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2018-09-29 03:27:02 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-10-09 18:05:33 -0400 |
commit | 44779b43f15977885a0e3b45bf6deb6be18725e5 (patch) | |
tree | 2319438d337d6a81714532471b843f23f849b1ba /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | |
parent | 3023015f791639838ec5d80e5c14851238a1a7d9 (diff) |
drm/amdgpu: Move gfx flag in_suspend to adev
Move in_suspend flag to adev from gfx, so
can be used in other ip blocks, also keep
consistent with gpu_in_reset flag.
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h index f172e92c463c..b61b5c11aead 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | |||
@@ -297,8 +297,7 @@ struct amdgpu_gfx { | |||
297 | /* reset mask */ | 297 | /* reset mask */ |
298 | uint32_t grbm_soft_reset; | 298 | uint32_t grbm_soft_reset; |
299 | uint32_t srbm_soft_reset; | 299 | uint32_t srbm_soft_reset; |
300 | /* s3/s4 mask */ | 300 | |
301 | bool in_suspend; | ||
302 | /* NGG */ | 301 | /* NGG */ |
303 | struct amdgpu_ngg ngg; | 302 | struct amdgpu_ngg ngg; |
304 | 303 | ||