drm/amdgpu: correct in_suspend setting for navi series
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 27 Aug 2019 09:13:47 +0000 (17:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Aug 2019 20:52:26 +0000 (15:52 -0500)
commit317f9cc97bdcfef1e873ba4dfa2b7af87a17775f
tree192aa4a2e06f1be27af7337582a36886b8e3aafa
parentc072b0c24e6b8a1951b26b3a575e9e0491bd7bfe
drm/amdgpu: correct in_suspend setting for navi series

in_suspend flag should be set in amdgpu_device_suspend/resume in pairs,
instead of gfx10 ip suspend/resume function.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c