[PATCH] drm/imx: switch to universal planes

Philipp Zabel p.zabel at pengutronix.de
Fri Nov 6 07:25:13 PST 2015


Am Freitag, den 06.11.2015, 21:58 +0800 schrieb Liu Ying:
> Hi Phillip,
> 
> On Fri, Nov 06, 2015 at 11:12:20AM +0100, Philipp Zabel wrote:
> > Use drm_universal_plane_init to create the planes, create the primary
> > plane first and use drm_crtc_init_with_planes to associate it with
> > the crtc.
> 
> It's better to mention in the commit message that this patch removes the safe
> plane which is created by create_primary_plane(). Or, at least, it fixes the
> NULL pointer dereference issue triggered by the drm modetest I mentioned in my
> patch[1].
> 
> Otherwise, Acked-by: Liu Ying <Ying.Liu at freescale.com>
> 
> [1] https://lkml.org/lkml/2015/11/4/107

Thank you, I'll apply it referencing this thread.

regards
Philipp



More information about the dri-devel mailing list