diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2017-03-14 09:27:58 +0100 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2017-03-21 05:17:22 +0100 |
commit | f3cce673e1c11112c536fbc8e6912c5414d7141f (patch) | |
tree | 8118609cefaa4818084dd34ba508d52cf728ba92 /include/video | |
parent | drm/exynos/decon5433: fix vblank event handling (diff) | |
download | linux-f3cce673e1c11112c536fbc8e6912c5414d7141f.tar.xz linux-f3cce673e1c11112c536fbc8e6912c5414d7141f.zip |
drm/exynos/decon5433: signal frame done interrupt at front porch
DECON in case of video mode generates interrupt by default at start
of vertical back porch. As this interrupt is used to generate VBLANK
events more optimal point is start of vertical front porch.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/exynos5433_decon.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/video/exynos5433_decon.h b/include/video/exynos5433_decon.h index 352fc0d9528f..6b083d327e98 100644 --- a/include/video/exynos5433_decon.h +++ b/include/video/exynos5433_decon.h @@ -127,6 +127,10 @@ /* VIDINTCON0 */ #define VIDINTCON0_FRAMEDONE (1 << 17) +#define VIDINTCON0_FRAMESEL_BP (0 << 15) +#define VIDINTCON0_FRAMESEL_VS (1 << 15) +#define VIDINTCON0_FRAMESEL_AC (2 << 15) +#define VIDINTCON0_FRAMESEL_FP (3 << 15) #define VIDINTCON0_INTFRMEN (1 << 12) #define VIDINTCON0_INTEN (1 << 0) |