]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita24e904037c22b2889efb5d6f21cf8244c082ec6
tree253a10c2ee12c32820bddb29290757170aeee431
parente6369a060f8b1d39507ec66b2606e1763b7700dc
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