From: Daniel Vetter Date: Sat, 20 Aug 2016 10:22:11 +0000 (+0200) Subject: drm: Reject page_flip for !DRIVER_MODESET X-Git-Tag: v3.2.84~74 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=59a7b3c317cdb000f62d154d593ecc2818170f37 drm: Reject page_flip for !DRIVER_MODESET commit 6f00975c619064a18c23fd3aced325ae165a73b9 upstream. 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 Signed-off-by: Daniel Vetter Reviewed-by: Chris Wilson Signed-off-by: Dave Airlie Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed