]> git.baikalelectronics.ru Git - kernel.git/commit
video: s3c-fb: correct transparency checking in 32bpp
authorJingoo Han <jg1.han@samsung.com>
Tue, 24 May 2011 08:55:23 +0000 (08:55 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 24 May 2011 09:04:37 +0000 (18:04 +0900)
commit6d4d8f75582090c07b41dc1d842f47aae887e7e3
treea18e6ff51105adacd20c887fdceec15872878898
parent31efe6a3cd4e6f6f970c89d4cb49b46ff01e4f81
video: s3c-fb: correct transparency checking in 32bpp

32bpp means ARGB 8888 in the driver, therfore the transparency length
and offset should be 8 and 24 respectively. However, the transparency
length and offset were previously 0, which means that the driver supports
RGB 888 without alpha blending when 32bpp is used.

So, the transparency checking in 32bpp is corrected so that the
transparency length and offset are 8 and 24 respectively.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/s3c-fb.c