diff options
author | Ben Goz <ben.goz@amd.com> | 2015-06-24 19:39:21 (GMT) |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-06-29 15:21:39 (GMT) |
commit | cd06bf687b89f7532d19b0e4484299372e1bf70c (patch) | |
tree | 56fa750cb71c56a87cec48babad8b28d7db19134 /drivers/gpu/drm/amd/amdgpu/cikd.h | |
parent | 69ee2410238e6ea6fd5d0a91b04510bba8abc7b5 (diff) | |
download | linux-cd06bf687b89f7532d19b0e4484299372e1bf70c.tar.xz |
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.h | 6 |
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 220865a..d19085a 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 |