]> git.karo-electronics.de Git - linux-beck.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)
commit86126748cd5063aa888ce252f16b89b35e7d4707
tree4d3920b43befbb74faacae329bab89234ec7e0de
parent5fb57ab328aaf313c5ad9c4c48900f632e7c6f1c
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