]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amdgpu/gfx9: fix resume of KIQ and KCQs (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Apr 2017 21:24:47 +0000 (17:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 22:33:36 +0000 (18:33 -0400)
commitba0c19f5f000d49efc98c0a4dafbd7266a5a20bc
tree85599d8a90d0bf9e715a2555c33871127862ec0d
parent0f1dfd520fdf66cee6bbb5a15f2c2363f3132421
drm/amdgpu/gfx9: fix resume of KIQ and KCQs (v2)

No need to reset the wptr and clear the rings.  The UNMAP_QUEUES
packet writes the current MQD state back the MQD on suspend,
so there is no need to reset it as well.

v2: fix from gfx8 (Rex)

Acked-by: Tom St Denis <tom.stdenis@amd.com>
Acked-by: monk liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c