History

drm/radeon: Add RADEON_INFO_VA_UNMAP_WORKING query

This tells userspace that it's safe to use the RADEON_VA_UNMAP operation of the DRM_RADEON_GEM_VA ioctl. Cc: stable@vger.kernel.org (NOTE: Backporting this commit requires at least backports of commits 26d4d129b6042197b4cbc8341c0618f99231af2f, 48afbd70ac7b6aa62e8d452091023941d8085f8a and c29c0876ec05d51a93508a39b90b92c29ba6423d as well, otherwise using RADEON_VA_UNMAP runs into trouble)

Michel Dänzer committed 11 years ago

Commit 3bc980b1 parent 25161082 files · +4 −0Browse files

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

Unified · Split

include/uapi/drm/radeon_drm.h+1−0
@@ -1038,6 +1038,7 @@ struct drm_radeon_cs { · 1037 unmodified lines
10381038 #define RADEON_INFO_CURRENT_GPU_SCLK 0x22
10391039 #define RADEON_INFO_CURRENT_GPU_MCLK 0x23
10401040 #define RADEON_INFO_READ_REG 0x24
1041+#define RADEON_INFO_VA_UNMAP_WORKING 0x25
10411042
10421043 struct drm_radeon_info {
10431044 uint32_t request;