aboutsummaryrefslogtreecommitdiff
path: root/hw/display/qxl.h
diff options
context:
space:
mode:
authorAnthony Liguori <anthony@codemonkey.ws>2013-09-20 08:08:18 -0500
committerAnthony Liguori <anthony@codemonkey.ws>2013-09-20 08:08:18 -0500
commit2571f8f5fbaea5dc3bdcd84737f109b459576e90 (patch)
tree3691da9f2f6aa712a0a224aa466ce6d0a2e0a8ad /hw/display/qxl.h
parentce63e9c258a05e344f81b28f2b995c530909a3f0 (diff)
parent521e759cf1ca05fc59a8653e48f18f830edbda7e (diff)
Merge remote-tracking branch 'spice/spice.v74' into staging
# By Gerd Hoffmann # Via Gerd Hoffmann * spice/spice.v74: qxl: compile only once qxl: simplify page dirtying qxl: simplify qxl_rom_size qxl: define qxl operating on 4k pages Message-id: 1379583534-7831-1-git-send-email-kraxel@redhat.com
Diffstat (limited to 'hw/display/qxl.h')
-rw-r--r--hw/display/qxl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/display/qxl.h b/hw/display/qxl.h
index 8e9b0c299e..84f0182383 100644
--- a/hw/display/qxl.h
+++ b/hw/display/qxl.h
@@ -27,6 +27,9 @@ enum qxl_mode {
#define QXL_NUM_DIRTY_RECTS 64
+#define QXL_PAGE_BITS 12
+#define QXL_PAGE_SIZE (1 << QXL_PAGE_BITS);
+
typedef struct PCIQXLDevice {
PCIDevice pci;
SimpleSpiceDisplay ssd;