summaryrefslogtreecommitdiff
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2013-10-05 00:34:01 +0400
committerThierry Reding <treding@nvidia.com>2013-10-31 12:55:46 +0400
commit773af77fc479fd454c3f6836f86bf63996545cf4 (patch)
treea3610dd713a97cf934810079da61b1196e85d95b /include/uapi/drm
parent5f60ed0d840d53e9d65aa54e1a5365af8ce2769e (diff)
downloadlinux-773af77fc479fd454c3f6836f86bf63996545cf4.tar.xz
drm/tegra: Add support for tiled buffer objects
The gr2d and gr3d engines work more efficiently on buffers with a tiled memory layout. Allow created buffers to be marked as tiled so that the display controller can scan them out properly. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r--include/uapi/drm/tegra_drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/drm/tegra_drm.h b/include/uapi/drm/tegra_drm.h
index 73bde4eaf16c..6b420029a645 100644
--- a/include/uapi/drm/tegra_drm.h
+++ b/include/uapi/drm/tegra_drm.h
@@ -19,6 +19,8 @@
#include <drm/drm.h>
+#define DRM_TEGRA_GEM_CREATE_TILED (1 << 0)
+
struct drm_tegra_gem_create {
__u64 size;
__u32 flags;