drm/amdgpu: Switch baremetal to use KIQ for compute ring management. (v3)
authorDavid Panariti <David.Panariti@amd.com>
Tue, 28 Mar 2017 16:57:31 +0000 (12:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:39:46 +0000 (17:39 -0400)
commitb4e40676e4aade3141194617199bec77a32b5680
tree9bc79bab8b408d1629b17bec2d046e1ad65f40c3
parenta576fe51512050d0005a7be40e59ae7c8b9b49d7
drm/amdgpu: Switch baremetal to use KIQ for compute ring management. (v3)

KIQ is the Kernel Interface Queue for managing the MEC.  Rather than setting
up rings via direct MMIO of ring registers, the rings are configured via
special packets sent to the KIQ.  The allows the MEC to better manage shared
resources and certain power events.

v2: squash in s3/s4 fix from Rex
v3: further fixes from Rex

Signed-off-by: David Panariti <David.Panariti@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Tom St Denis <tom.stdenis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c