]> git.baikalelectronics.ru Git - kernel.git/commit
drm/imx: ipuv3-plane: disable local alpha for planes without alpha channel
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 18 Oct 2016 15:09:30 +0000 (17:09 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 20 Oct 2016 12:39:51 +0000 (14:39 +0200)
commit0341cb3271476e437242c0eb4535fb865d597c9a
tree4d3920b43befbb74faacae329bab89234ec7e0de
parent2e34e508354b52a90035240f4cfc1af5b74492e5
drm/imx: ipuv3-plane: disable local alpha for planes without alpha channel

Without this patch, after enabling the overlay plane with an RGBA
framebuffer, switching to a framebuffer without alpha channel would
cause the plane to vanish, since the pixel local alpha is constant
zero in that case. Disable local alpha again when setting an opaque
framebuffer.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-plane.c