summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2015-08-15 19:26:15 +0300
committerInki Dae <daeinki@gmail.com>2015-08-30 18:27:37 +0300
commit44205083751cdcfdbd3f8607694ee1a5a9b161c7 (patch)
treecb8f471cb0912eaec89b07eb707e5447b205ab84 /include/video
parent822f6dfd714c961e3c5648b1d4a5ac10f807d592 (diff)
downloadlinux-44205083751cdcfdbd3f8607694ee1a5a9b161c7.tar.xz
drm/exynos: add macro to get the address of START_S reg
This macro is need to get the value of the START shadow register, that will tell if an framebuffer is currently displayed on the screen or not. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/samsung_fimd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/samsung_fimd.h b/include/video/samsung_fimd.h
index 0530e5a4c6b1..d8fc96ed11e9 100644
--- a/include/video/samsung_fimd.h
+++ b/include/video/samsung_fimd.h
@@ -296,6 +296,7 @@
/* Video buffer addresses */
#define VIDW_BUF_START(_buff) (0xA0 + ((_buff) * 8))
+#define VIDW_BUF_START_S(_buff) (0x40A0 + ((_buff) * 8))
#define VIDW_BUF_START1(_buff) (0xA4 + ((_buff) * 8))
#define VIDW_BUF_END(_buff) (0xD0 + ((_buff) * 8))
#define VIDW_BUF_END1(_buff) (0xD4 + ((_buff) * 8))