[PATCH] drm/atomic: fix potential null ptr on plane enable

2014-12-08 Thread Daniel Vetter
On Mon, Dec 08, 2014 at 11:42:56AM -0800, Sean Paul wrote: > On Mon, Dec 8, 2014 at 7:45 AM, Rob Clark wrote: > > > > When a plane is being enabled, plane->crtc has not been set yet. Use > > plane->state->crtc. > > > > Reviewed-by: Sean Paul Merged to topic/atomic-core, thanks. -Daniel -- Dan

[PATCH] drm/atomic: fix potential null ptr on plane enable

2014-12-08 Thread Sean Paul
On Mon, Dec 8, 2014 at 7:45 AM, Rob Clark wrote: > > When a plane is being enabled, plane->crtc has not been set yet. Use > plane->state->crtc. > Reviewed-by: Sean Paul > > Signed-off-by: Rob Clark > --- > Looks like this is still missing on drm-next.. I probably forgot to > send it earlier.

[PATCH] drm/atomic: fix potential null ptr on plane enable

2014-12-08 Thread Rob Clark
When a plane is being enabled, plane->crtc has not been set yet. Use plane->state->crtc. Signed-off-by: Rob Clark --- Looks like this is still missing on drm-next.. I probably forgot to send it earlier. drivers/gpu/drm/drm_atomic_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)