diff options
author | Alon Levy <alevy@redhat.com> | 2012-06-10 18:05:06 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-06-22 10:49:45 +0200 |
commit | 13d1fd44c46629aad672f192abbf02238c6cbf36 (patch) | |
tree | fac6154a7602eb4ee39063ea693a3d55fc34504a /hw/qxl.h | |
parent | 4a1e244eb65c646bdd938d9d137ace42d76c95a7 (diff) |
qxl: add vgamem_size_mb and vgamem_size
In preperation for supporting a larger framebuffer for multiple monitors
on a single card, add a property to qxl vgamem_size_mb, and corresponding
byte sized vgamem_size, and use instead of VGA_RAM_SIZE.
[ kraxel: simplify property handling, add sanity checks ]
[ kraxel: fix mode copying ]
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/qxl.h')
-rw-r--r-- | hw/qxl.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -84,6 +84,7 @@ typedef struct PCIQXLDevice { QXLReleaseInfo *last_release; uint32_t last_release_offset; uint32_t oom_running; + uint32_t vgamem_size; /* rom pci bar */ QXLRom shadow_rom; @@ -105,6 +106,7 @@ typedef struct PCIQXLDevice { uint32_t ram_size_mb; uint32_t vram_size_mb; uint32_t vram32_size_mb; + uint32_t vgamem_size_mb; /* qxl_render_update state */ int render_update_cookie_num; |