[PATCH] drm: Reject page_flip for !DRIVER_MODESET

2016-08-20 Thread Daniel Vetter
Somehow this one slipped through, which means drivers without modeset support can be oopsed (since those also don't call drm_mode_config_init, which means the crtc lookup will chase an uninitalized idr). Reported-by: Alexander Potapenko Cc: Alexander Potapenko Cc: stable at vger.kernel.org

[PATCH] drm: Reject page_flip for !DRIVER_MODESET

2016-08-20 Thread Chris Wilson
On Sat, Aug 20, 2016 at 12:22:11PM +0200, Daniel Vetter wrote: > Somehow this one slipped through, which means drivers without modeset > support can be oopsed (since those also don't call > drm_mode_config_init, which means the crtc lookup will chase an > uninitalized idr). > > Reported-by: