]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
qxl: don't create too large primary surface
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Thu, 16 Oct 2014 09:39:44 +0000 (11:39 +0200)
committerJiri Slaby <jslaby@suse.cz>
Thu, 13 Nov 2014 18:02:32 +0000 (19:02 +0100)
commitff4b0a924a8d99fb56e77760ebe7ea1e0129163b
tree52b0bbf656d5f34da29f2db733d1186481cf4b65
parentf223ebe3b68f4317cee5f2f0e081884c85da1fa2
qxl: don't create too large primary surface

commit c572aaf46f71f63ae5914d4e194a955e0ba1b519 upstream.

Limit primary to qemu vgamem size, to avoid reaching
qemu guest bug "requested primary larger than framebuffer"
on resizing screen too large to fit.

Remove unneeded and misleading variables.

Related to:
https://bugzilla.redhat.com/show_bug.cgi?id=1127552

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/gpu/drm/qxl/qxl_display.c