diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-09-11 13:14:25 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-09-18 11:13:29 +0200 |
commit | 9efc2d8d813b94fde0a2bad6c13850bef7636748 (patch) | |
tree | 7e7dc1908111f046af7b2cb21ddb96be42e56949 /hw/display/qxl.h | |
parent | 6c2679fc19560699679200fb42ab4659bcbe7f79 (diff) |
qxl: define qxl operating on 4k pages
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/qxl.h')
-rw-r--r-- | hw/display/qxl.h | 3 |
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; |