drm/amdgpu: Move gfx flag in_suspend to adev
authorRex Zhu <Rex.Zhu@amd.com>
Sat, 29 Sep 2018 07:27:02 +0000 (15:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Oct 2018 22:05:33 +0000 (17:05 -0500)
commit44779b43f15977885a0e3b45bf6deb6be18725e5
tree2319438d337d6a81714532471b843f23f849b1ba
parent3023015f791639838ec5d80e5c14851238a1a7d9
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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c