summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-01-03 12:07:30 -0500
committerAlex Deucher <alexander.deucher@amd.com>2013-01-03 21:27:54 -0500
commitec46c76d506e845d28d60d0a9f0e993d517030f5 (patch)
tree969f239ab7e1e0022dd4f28ac18f723a2fec2ab3 /drivers
parent4b681c2843cff55bac354abd1cad577d41e10807 (diff)
downloadlinux-3.10-ec46c76d506e845d28d60d0a9f0e993d517030f5.tar.gz
linux-3.10-ec46c76d506e845d28d60d0a9f0e993d517030f5.tar.bz2
linux-3.10-ec46c76d506e845d28d60d0a9f0e993d517030f5.zip
drm/radeon: add GPU reset flags
The idea here is to move to a finer grained reset. In some cases we may not need reset every block, and in other cases we may not need to re-init the entire asic. Reviewed-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 9b9422c4403..34e52304a52 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -132,6 +132,11 @@ extern int radeon_lockup_timeout;
#define RADEON_VA_RESERVED_SIZE (8 << 20)
#define RADEON_IB_VM_MAX_SIZE (64 << 10)
+/* reset flags */
+#define RADEON_RESET_GFX (1 << 0)
+#define RADEON_RESET_COMPUTE (1 << 1)
+#define RADEON_RESET_DMA (1 << 2)
+
/*
* Errata workarounds.
*/