]> git.baikalelectronics.ru Git - kernel.git/commit
drm/qxl: support 64bit surface bar
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 11 Oct 2013 08:01:10 +0000 (10:01 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Nov 2013 03:36:20 +0000 (13:36 +1000)
commite9a26d5a17b05ac77225c2d6398ae1c68e5c659d
tree0810d31f2eb7b8dc9dd326fdbeccb38700adceec
parenta970dc4904f1883ceafe9ea9578c0d00443cb683
drm/qxl: support 64bit surface bar

qxl devices can have a 64bit surface bar, which is quite handy if
you need a bit more surface memory.  So try to use it if it is
present.  Note that this bar might be mapped above 4g.

QEMU command line to check that out:

    qemu-system-x86_64 -m 4g \
        -vga qxl -global qxl-vga.vram64_size_mb=512 \
        $otheroptions

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/qxl/qxl_kms.c