drm: Don't allow page flip to change pixel format
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 21 Apr 2013 23:38:46 +0000 (01:38 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 22 Apr 2013 09:48:21 +0000 (19:48 +1000)
commit909d9cda2edfc61b8ec82e248eee3545b592e20d
tree253a10c2ee12c32820bddb29290757170aeee431
parent64c026e28d68bf64b0a3c85e31d74c42a7cdecd3
drm: Don't allow page flip to change pixel format

A page flip is not a mode set, changing the frame buffer pixel format
doesn't make sense and isn't handled by most drivers anyway. Disallow
it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c