diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-12-13 12:27:28 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2012-12-14 10:45:26 -0500 |
commit | 278a334cbc96d3da66d56235b8ce84081e9a1892 (patch) | |
tree | b5359119856453cdd69277003861e0a9a9e2b408 /include/uapi | |
parent | cd459e525f4faeefa0bf78e1bcba3e04496b2cb5 (diff) | |
download | blackbird-op-linux-278a334cbc96d3da66d56235b8ce84081e9a1892.tar.gz blackbird-op-linux-278a334cbc96d3da66d56235b8ce84081e9a1892.zip |
drm/radeon: enable the async DMA rings in the CS ioctl
This enables the functionality added in the previous
patches. Userspace acceleration drivers can use the
CS ioctl to submit command buffers to the async DMA
rings.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/drm/radeon_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h index 5645a878faec..eeda91774c8a 100644 --- a/include/uapi/drm/radeon_drm.h +++ b/include/uapi/drm/radeon_drm.h @@ -917,6 +917,7 @@ struct drm_radeon_gem_va { /* The second dword of RADEON_CHUNK_ID_FLAGS is a uint32 that sets the ring type */ #define RADEON_CS_RING_GFX 0 #define RADEON_CS_RING_COMPUTE 1 +#define RADEON_CS_RING_DMA 2 /* The third dword of RADEON_CHUNK_ID_FLAGS is a sint32 that sets the priority */ /* 0 = normal, + = higher priority, - = lower priority */ |