Commit 86126748 authored by Philipp Zabel's avatar Philipp Zabel

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: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 5fb57ab3
...@@ -437,6 +437,7 @@ static void ipu_plane_atomic_update(struct drm_plane *plane, ...@@ -437,6 +437,7 @@ static void ipu_plane_atomic_update(struct drm_plane *plane,
ipu_dp_set_global_alpha(ipu_plane->dp, false, 0, false); ipu_dp_set_global_alpha(ipu_plane->dp, false, 0, false);
break; break;
default: default:
ipu_dp_set_global_alpha(ipu_plane->dp, true, 0, true);
break; break;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment