]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit35541782dcc1e502d1864075eded7b3bb23b7268
tree0810d31f2eb7b8dc9dd326fdbeccb38700adceec
parent121a6a17439b000b9699c3fa876636db20fa4107
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