diff options
| author | Ben Goz <[email protected]> | 2015-06-24 19:39:21 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2015-06-29 15:21:39 +0000 |
| commit | cd06bf687b89f7532d19b0e4484299372e1bf70c (patch) | |
| tree | 56fa750cb71c56a87cec48babad8b28d7db19134 /drivers/gpu/drm/amd/amdgpu/cikd.h | |
| parent | drm/radeon: use kzalloc for allocating one thing (diff) | |
| download | kernel-cd06bf687b89f7532d19b0e4484299372e1bf70c.tar.gz kernel-cd06bf687b89f7532d19b0e4484299372e1bf70c.zip | |
drm/amdgpu: Initialize compute sdma and memory from kgd
v2: add missing MTYPE_NONCACHED enum
Signed-off-by: Ben Goz <[email protected]>
Acked-by: Oded Gabbay <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
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 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 |
