drm/exynos: add macro to get the address of START_S reg
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Sat, 15 Aug 2015 16:26:15 +0000 (13:26 -0300)
committerInki Dae <daeinki@gmail.com>
Sun, 30 Aug 2015 15:27:37 +0000 (00:27 +0900)
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>
include/video/samsung_fimd.h

index 0530e5a4c6b1f6a84ecc16a343e9d767dd7bf8af..d8fc96ed11e9d29ecde7654419d1554aaeb7ab16 100644 (file)
 
 /* 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))