summaryrefslogtreecommitdiff
path: root/include/uapi/drm/tegra_drm.h
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2013-10-07 11:47:58 +0400
committerThierry Reding <treding@nvidia.com>2013-10-31 12:55:46 +0400
commitdb7fbdfd25ee009165b6c3b80a9d1c6d8534ad94 (patch)
tree1ba0c25b63b227a7f139b03ae217daf0b7ec1f81 /include/uapi/drm/tegra_drm.h
parent773af77fc479fd454c3f6836f86bf63996545cf4 (diff)
downloadlinux-db7fbdfd25ee009165b6c3b80a9d1c6d8534ad94.tar.xz
drm/tegra: Support bottom-up buffer objects
The gr3d engine renders images bottom-up. Allow buffers that are used for 3D content to be marked as such and implement support in the display controller to present them 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/tegra_drm.h')
-rw-r--r--include/uapi/drm/tegra_drm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/drm/tegra_drm.h b/include/uapi/drm/tegra_drm.h
index 6b420029a645..0f8575f58db8 100644
--- a/include/uapi/drm/tegra_drm.h
+++ b/include/uapi/drm/tegra_drm.h
@@ -19,7 +19,8 @@
#include <drm/drm.h>
-#define DRM_TEGRA_GEM_CREATE_TILED (1 << 0)
+#define DRM_TEGRA_GEM_CREATE_TILED (1 << 0)
+#define DRM_TEGRA_GEM_CREATE_BOTTOM_UP (1 << 1)
struct drm_tegra_gem_create {
__u64 size;