]> git.karo-electronics.de Git - linux-beck.git/commit
drm/fb-helper: reject any changes to the fbdev
authorStefan Agner <stefan@agner.ch>
Tue, 11 Oct 2016 23:15:04 +0000 (16:15 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 17 Oct 2016 14:42:41 +0000 (16:42 +0200)
commit865afb11949e5bf4bb32d9a2aa9867c1ac4d8da0
tree034e6903dc53909e89f7fb0568130464f516bad7
parenta28187ccab9410cad20e8808f00cfc07f99649c3
drm/fb-helper: reject any changes to the fbdev

The current fbdev emulation does not allow to push back changes in
width, height or depth to KMS, hence reject any changes with an
error. This makes sure that fbdev ioctl's fail properly and user
space does not assume that changes succeeded.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161011231504.17688-1-stefan@agner.ch
drivers/gpu/drm/drm_fb_helper.c