[PATCH] drm: Reject page_flip for !DRIVER_MODESET

Chris Wilson chris at chris-wilson.co.uk
Sat Aug 20 10:56:11 UTC 2016


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: Alexander Potapenko <glider at google.com>
> Cc: Alexander Potapenko <glider at google.com>
> Cc: stable at vger.kernel.org
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>

That explains the oops.

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the dri-devel mailing list