[Spice-devel] [PATCH] qxl: add 64bit pci bar

Gerd Hoffmann kraxel at redhat.com
Tue Feb 21 03:05:33 PST 2012


Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
 spice/qxl_dev.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
index 5e6ce06..a2af017 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -61,6 +61,12 @@ enum {
     QXL_VRAM_RANGE_INDEX,
     QXL_ROM_RANGE_INDEX,
     QXL_IO_RANGE_INDEX,
+    /*
+     * Same as QXL_VRAM_RANGE_INDEX, but a 64bit bar which can be mapped
+     * above 4G.  Must be probed before using, it may or may not be there.
+     * Just use QXL_VRAM_RANGE_INDEX when not present.
+     */
+    QXL_VRAM64_RANGE_INDEX,  
 
     QXL_PCI_RANGES
 };
-- 
1.7.1



More information about the Spice-devel mailing list