summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/cikd.h
diff options
context:
space:
mode:
authorBen Goz <ben.goz@amd.com>2015-06-24 22:39:21 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-06-29 11:21:39 -0400
commitcd06bf687b89f7532d19b0e4484299372e1bf70c (patch)
tree56fa750cb71c56a87cec48babad8b28d7db19134 /drivers/gpu/drm/amd/amdgpu/cikd.h
parent69ee2410238e6ea6fd5d0a91b04510bba8abc7b5 (diff)
drm/amdgpu: Initialize compute sdma and memory from kgd
v2: add missing MTYPE_NONCACHED enum Signed-off-by: Ben Goz <ben.goz@amd.com> Acked-by: Oded Gabbay <oded.gabbay@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cikd.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/cikd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cikd.h b/drivers/gpu/drm/amd/amdgpu/cikd.h
index 220865a44814..d19085a97064 100644
--- a/drivers/gpu/drm/amd/amdgpu/cikd.h
+++ b/drivers/gpu/drm/amd/amdgpu/cikd.h
@@ -552,4 +552,10 @@
#define VCE_CMD_IB_AUTO 0x00000005
#define VCE_CMD_SEMAPHORE 0x00000006
+/* valid for both DEFAULT_MTYPE and APE1_MTYPE */
+enum {
+ MTYPE_CACHED = 0,
+ MTYPE_NONCACHED = 3
+};
+
#endif