summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorChristoph Manszewski <c.manszewski@samsung.com>2018-10-25 17:23:49 +0200
committerInki Dae <inki.dae@samsung.com>2018-12-14 15:46:15 +0900
commit6f8ee5c21722f93d486b2ff041c28580c9511349 (patch)
tree9feefcc70dc1b9f000abecbcb4d00faf7a800fb4 /include/video
parent2a3c83f5fe0770d13bbb71b23674886ff4111f44 (diff)
downloadlinux-next-6f8ee5c21722f93d486b2ff041c28580c9511349.tar.gz
drm/exynos: fimd: Make plane alpha configurable
The fimd hardware supports variable plane alpha. Currently planes are opaque, make this configurable. Tested on TRATS2 with Exynos 4412 CPU, on top of linux-next-20181019. Signed-off-by: Christoph Manszewski <c.manszewski@samsung.com> 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 d8fc96ed11e9..f070b7c0d2cf 100644
--- a/include/video/samsung_fimd.h
+++ b/include/video/samsung_fimd.h
@@ -211,6 +211,7 @@
#define WINCON0_BPPMODE_24BPP_888 (0xb << 2)
#define WINCON1_LOCALSEL_CAMIF (1 << 23)
+#define WINCON1_ALPHA_MUL (1 << 7)
#define WINCON1_BLD_PIX (1 << 6)
#define WINCON1_BPPMODE_MASK (0xf << 2)
#define WINCON1_BPPMODE_SHIFT 2