]> 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)
commitfa345be03d4e8f4a3e8308a520e2b85facfb587c
tree4d3920b43befbb74faacae329bab89234ec7e0de
parenta8853aebdc0033e1e928a6268e8a2460b82bc8d2
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