[PATCH] drm/nouveau: fix oops in display destructor with headless cards

2014-06-18 Thread Ben Skeggs
On Tue, Jun 17, 2014 at 11:01 PM, Maarten Lankhorst wrote: > If init doesn't run then disp->outp might not be initialized, resulting in an > oops. This can't actually happen (in the very least, it's not supposed to)... What makes you think it can? > > Signed-off-by: Maarten Lankhorst > --- >

[PATCH] drm/nouveau: fix oops in display destructor with headless cards

2014-06-17 Thread Maarten Lankhorst
If init doesn't run then disp->outp might not be initialized, resulting in an oops. Signed-off-by: Maarten Lankhorst --- diff --git a/drivers/gpu/drm/nouveau/core/engine/disp/base.c b/drivers/gpu/drm/nouveau/core/engine/disp/base.c index c41f656abe64..9c38c5e40500 100644 ---