diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2013-10-04 20:34:01 (GMT) |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2013-10-31 08:55:46 (GMT) |
commit | 773af77fc479fd454c3f6836f86bf63996545cf4 (patch) | |
tree | a3610dd713a97cf934810079da61b1196e85d95b /include | |
parent | 5f60ed0d840d53e9d65aa54e1a5365af8ce2769e (diff) | |
download | linux-fsl-qoriq-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')
-rw-r--r-- | include/uapi/drm/tegra_drm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/drm/tegra_drm.h b/include/uapi/drm/tegra_drm.h index 73bde4e..6b42002 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; |