aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/Kconfig
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-03-26 21:15:53 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-13 08:14:06 -0700
commitce6e47c818057c59786fd9a7f10c6d4bb48cb950 (patch)
treeb5de8e6c1b9b76fd35abca3de0b55f0dbdcf2b54 /drivers/hid/Kconfig
parenteb221774b352966c562b5c92a28d01ddc1bc4393 (diff)
downloadkernel_samsung_crespo-ce6e47c818057c59786fd9a7f10c6d4bb48cb950.zip
kernel_samsung_crespo-ce6e47c818057c59786fd9a7f10c6d4bb48cb950.tar.gz
kernel_samsung_crespo-ce6e47c818057c59786fd9a7f10c6d4bb48cb950.tar.bz2
drm: Validate requested virtual size against allocated fb size
commit 62fb376e214d3c1bfdf6fbb77dac162f6da04d7e upstream. mplayer -vo fbdev tries to create a screen that is twice as tall as the allocated framebuffer for "doublebuffering". By default, and all in-tree users, only sufficient memory is allocated and mapped to satisfy the smallest framebuffer and the virtual size is no larger than the actual. For these users, we should therefore reject any userspace request to create a screen that requires a buffer larger than the framebuffer originally allocated. References: https://bugs.freedesktop.org/show_bug.cgi?id=38138 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hid/Kconfig')
0 files changed, 0 insertions, 0 deletions