diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-01-27 00:47:22 -0500 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-01-28 15:58:09 -0500 |
commit | f7f31e505aa79d91b979a38789b1608744361bdc (patch) | |
tree | 27dba9088af5473eeefeb2f40b75a64b1ac855da /arch/arm/plat-samsung/include | |
parent | 05e52b4bfba0d1fa4195abbc4ac29c24033c8e96 (diff) |
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/arm/plat-samsung/include')
-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 @@ | |||
384 | #define WPALCON_W0PAL_16BPP_A555 (0x5 << 0) | 384 | #define WPALCON_W0PAL_16BPP_A555 (0x5 << 0) |
385 | #define WPALCON_W0PAL_16BPP_565 (0x6 << 0) | 385 | #define WPALCON_W0PAL_16BPP_565 (0x6 << 0) |
386 | 386 | ||
387 | /* Blending equation control */ | ||
388 | #define BLENDCON (0x260) | ||
389 | #define BLENDCON_NEW_MASK (1 << 0) | ||
390 | #define BLENDCON_NEW_8BIT_ALPHA_VALUE (1 << 0) | ||
391 | #define BLENDCON_NEW_4BIT_ALPHA_VALUE (0 << 0) | ||
392 | |||