diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-01-27 06:47:22 +0100 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-01-28 21:58:09 +0100 |
commit | f7f31e505aa79d91b979a38789b1608744361bdc (patch) | |
tree | 27dba9088af5473eeefeb2f40b75a64b1ac855da /arch | |
parent | video: s3c-fb: fix checkpatch error (diff) | |
download | linux-f7f31e505aa79d91b979a38789b1608744361bdc.tar.xz linux-f7f31e505aa79d91b979a38789b1608744361bdc.zip |
video: s3c-fb: add alpha value width setting
This patch adds alpha value width setting according to
transparency value of each window format, using BLENDCON
register. When alpha value is 8 bits, BLENDCON will set
alpha value width as 8 bits.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-samsung/include/plat/regs-fb.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/regs-fb.h b/arch/arm/plat-samsung/include/plat/regs-fb.h index 8f39aa5b26ea..6bf68ed01963 100644 --- a/arch/arm/plat-samsung/include/plat/regs-fb.h +++ b/arch/arm/plat-samsung/include/plat/regs-fb.h @@ -384,3 +384,9 @@ #define WPALCON_W0PAL_16BPP_A555 (0x5 << 0) #define WPALCON_W0PAL_16BPP_565 (0x6 << 0) +/* Blending equation control */ +#define BLENDCON (0x260) +#define BLENDCON_NEW_MASK (1 << 0) +#define BLENDCON_NEW_8BIT_ALPHA_VALUE (1 << 0) +#define BLENDCON_NEW_4BIT_ALPHA_VALUE (0 << 0) + |