summaryrefslogtreecommitdiff
path: root/include/video/samsung_fimd.h
diff options
context:
space:
mode:
authorChristoph Manszewski <c.manszewski@samsung.com>2018-10-25 18:23:49 +0300
committerInki Dae <inki.dae@samsung.com>2018-12-14 09:46:15 +0300
commit6f8ee5c21722f93d486b2ff041c28580c9511349 (patch)
tree9feefcc70dc1b9f000abecbcb4d00faf7a800fb4 /include/video/samsung_fimd.h
parent2a3c83f5fe0770d13bbb71b23674886ff4111f44 (diff)
downloadlinux-6f8ee5c21722f93d486b2ff041c28580c9511349.tar.xz
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/samsung_fimd.h')
-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