aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorDavid Panariti <David.Panariti@amd.com>2017-03-28 12:57:31 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-05-24 17:39:46 -0400
commitb4e40676e4aade3141194617199bec77a32b5680 (patch)
tree9bc79bab8b408d1629b17bec2d046e1ad65f40c3 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parenta576fe51512050d0005a7be40e59ae7c8b9b49d7 (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 67cdab9241a4..eb2240ce5fa8 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1061,6 +1061,8 @@ struct amdgpu_gfx {
1061 uint32_t grbm_soft_reset; 1061 uint32_t grbm_soft_reset;
1062 uint32_t srbm_soft_reset; 1062 uint32_t srbm_soft_reset;
1063 bool in_reset; 1063 bool in_reset;
1064 /* s3/s4 mask */
1065 bool in_suspend;
1064 /* NGG */ 1066 /* NGG */
1065 struct amdgpu_ngg ngg; 1067 struct amdgpu_ngg ngg;
1066}; 1068};