MLK-18031 video: mxsfb: enable global alpha when grayscale is 0 for 32bpp format
authorFancy Fang <chen.fang@nxp.com>
Mon, 23 Apr 2018 10:52:13 +0000 (18:52 +0800)
committerFancy Fang <chen.fang@nxp.com>
Tue, 24 Apr 2018 01:52:05 +0000 (09:52 +0800)
commitdcb2eecd4635388fc138fb0c989d4b01ce94ae95
tree76eab5aaa6c1106c3c1693606628785b0acfaf6c
parent2d340e6331624b745734a18fb9356c292d221d30
MLK-18031 video: mxsfb: enable global alpha when grayscale is 0 for 32bpp format

For overlay framebuffer, when its grayscale is '0' and the format
bpp is 32, enable the global alpha blending by default which can
make the overlay fb can display the framebuffer content as long as
it is unblanked.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit fede70b9066b03c24347619775fd7d007c5ddafb)
drivers/video/fbdev/mxsfb.c