summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2011-07-15 11:00:51 -0400
committerSøren Sandmann Pedersen <ssp@redhat.com>2011-07-15 11:01:13 -0400
commitce5507756e87a73bc6275ac275073932cd122583 (patch)
treef0fc3e920e2d59dd714393030e036dc3485cbf7c /src
parent9b915fab9d29f66b825d7a46e158f026f10a41dc (diff)
Revert "use spice-protocol defines for ring sizes"
This reverts commit 9ee2aa1ccefe1f3fecaf481f38581c9b0f201ef4. Conflicts: src/qxl_driver.c
Diffstat (limited to 'src')
-rw-r--r--src/qxl_driver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index 08bf2d8..3590785 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -908,13 +908,13 @@ qxl_screen_init(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
qxl->command_ring = qxl_ring_create ((struct qxl_ring_header *)&(ram_header->cmd_ring),
sizeof (struct QXLCommand),
- QXL_COMMAND_RING_SIZE, QXL_IO_NOTIFY_CMD);
+ 32, qxl->io_base + QXL_IO_NOTIFY_CMD);
qxl->cursor_ring = qxl_ring_create ((struct qxl_ring_header *)&(ram_header->cursor_ring),
sizeof (struct QXLCommand),
- QXL_CURSOR_RING_SIZE, QXL_IO_NOTIFY_CURSOR);
+ 32, qxl->io_base + QXL_IO_NOTIFY_CURSOR);
qxl->release_ring = qxl_ring_create ((struct qxl_ring_header *)&(ram_header->release_ring),
sizeof (uint64_t),
- QXL_RELEASE_RING_SIZE, 0);
+ 8, 0);
qxl->surface_cache = qxl_surface_cache_create (qxl);