]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ccbc592c2e5ef56b64b322478364c048c472cd0
tree2319438d337d6a81714532471b843f23f849b1ba
parentde7c2da630c25976477ed3dc60b993db808f59c4
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