History

drm/radeon: add a CS flag END_OF_FRAME

No version bump is required because setting the flag on older DRM has no effect. This only reserves the bit and doesn't use it. I assume we will use it for buffer eviction heuristics.

Marek Olšák committed 13 years ago

Commit 57f57081 parent ae133a11 file · +1 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/drm/radeon_drm.h+1−0
@@ -913,6 +913,7 @@ struct drm_radeon_gem_va { · 912 unmodified lines
913/* The first dword of RADEON_CHUNK_ID_FLAGS is a uint32 of these flags: */913/* The first dword of RADEON_CHUNK_ID_FLAGS is a uint32 of these flags: */
914#define RADEON_CS_KEEP_TILING_FLAGS 0x01914#define RADEON_CS_KEEP_TILING_FLAGS 0x01
915#define RADEON_CS_USE_VM 0x02915#define RADEON_CS_USE_VM 0x02
916#define RADEON_CS_END_OF_FRAME 0x04 /* a hint from userspace which CS is the last one */
916/* The second dword of RADEON_CHUNK_ID_FLAGS is a uint32 that sets the ring type */917/* The second dword of RADEON_CHUNK_ID_FLAGS is a uint32 that sets the ring type */
917#define RADEON_CS_RING_GFX 0918#define RADEON_CS_RING_GFX 0
918#define RADEON_CS_RING_COMPUTE 1919#define RADEON_CS_RING_COMPUTE 1