[PATCH linux] drm/radeon: define RADEON_TILING_R600_NO_SCANOUT

Andres Rodriguez andresx7 at gmail.com
Mon Jan 9 18:34:26 UTC 2017


Add the missing definition of RADEON_TILING_R600_NO_SCANOUT.

This define currently exists in the libdrm radeon_drm.h, but missing
from from the kernel radeon_drm.h. This makes the header update process
inconvenient.

To solve the problem, add the define on the kernel side.

RADEON_TILING_R600_NO_SCANOUT is consumed by the radeon Mesa/Gallium
driver.

Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
---
 include/uapi/drm/radeon_drm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h
index 490a59c..9734670 100644
--- a/include/uapi/drm/radeon_drm.h
+++ b/include/uapi/drm/radeon_drm.h
@@ -838,6 +838,7 @@ struct drm_radeon_gem_userptr {
 #define RADEON_TILING_MACRO				0x1
 #define RADEON_TILING_MICRO				0x2
 #define RADEON_TILING_SWAP_16BIT			0x4
+#define RADEON_TILING_R600_NO_SCANOUT			RADEON_TILING_SWAP_16BIT
 #define RADEON_TILING_SWAP_32BIT			0x8
 /* this object requires a surface when mapped - i.e. front buffer */
 #define RADEON_TILING_SURFACE				0x10
-- 
2.9.3



More information about the amd-gfx mailing list