drm/amdgpu/gfx10: fix resume failure when enabling async gfx ring
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Mon, 1 Apr 2019 13:44:21 +0000 (21:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:27 +0000 (18:59 -0500)
commit4b6349d4d84c271b349b9e674796f5ac16c89a27
tree2e3f87a11877a6b9aa5aacafedda50d1650a7a00
parent36f87f0acd039618b080e08702e4d25b825754d8
drm/amdgpu/gfx10: fix resume failure when enabling async gfx ring

'adev->in_suspend' code path is missing in gfx_v10_0_gfx_init_queue()

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