summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrian Anderson <branderson@nvidia.com>2011-04-29 12:24:58 -0700
committerNiket Sirsi <nsirsi@nvidia.com>2011-05-19 17:55:54 -0700
commit93d6594415d7375cafc860cae0881a7f9ac1973a (patch)
treedb6a4631861c72f5b0284187b9c3f4fed756d1d6 /include
parent67b76781dab749c8d04f2004abb662cf8644a079 (diff)
tegra: video: add interface for use of tiled surfaces
Change-Id: I8ee718e0d56ff8dc2f2c2e1b5215d195f317f0e2 Reviewed-on: http://git-master/r/31084 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/video/tegrafb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/video/tegrafb.h b/include/video/tegrafb.h
index b9861bc7953a..c589742b2cfc 100644
--- a/include/video/tegrafb.h
+++ b/include/video/tegrafb.h
@@ -49,11 +49,15 @@
#define TEGRA_FB_WIN_BLEND_PREMULT 1
#define TEGRA_FB_WIN_BLEND_COVERAGE 2
+#define TEGRA_FB_WIN_LAYOUT_LINEAR 0
+#define TEGRA_FB_WIN_LAYOUT_TILED 1
+
/* set index to -1 to ignore window data */
struct tegra_fb_windowattr {
__s32 index;
__u32 buff_id;
__u32 blend;
+ __u32 layout;
__u32 offset;
__u32 offset_u;
__u32 offset_v;