]> git.baikalelectronics.ru Git - 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)
commit93c195995156d5cb7f3648d0504b96b3df141003
tree85599d8a90d0bf9e715a2555c33871127862ec0d
parentebd56f3a4739f87c25054942f8507526ba5591e2
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