diff options
author | Chris Wilson <[email protected]> | 2012-03-26 21:15:53 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-04-03 11:18:46 +0100 |
commit | 62fb376e214d3c1bfdf6fbb77dac162f6da04d7e (patch) | |
tree | e740485e5c058ad0f8e22f26081c24014e127d5a /net/lapb/lapb_timer.c | |
parent | e199fd422420d1620cf64fd9bdd4ff8bc255cc76 (diff) |
drm: Validate requested virtual size against allocated fb size
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 <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Cc: [email protected]
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions