Commit 9ee2aa1c authored by Alon Levy's avatar Alon Levy

use spice-protocol defines for ring sizes

parent a3d3ab64
......@@ -908,13 +908,13 @@ qxl_screen_init(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
qxl->command_ring = qxl_ring_create (&(ram_header->cmd_ring),
sizeof (struct QXLCommand),
32, qxl->io_base + QXL_IO_NOTIFY_CMD);
QXL_COMMAND_RING_SIZE, QXL_IO_NOTIFY_CMD);
qxl->cursor_ring = qxl_ring_create (&(ram_header->cursor_ring),
sizeof (struct QXLCommand),
32, qxl->io_base + QXL_IO_NOTIFY_CURSOR);
QXL_CURSOR_RING_SIZE, QXL_IO_NOTIFY_CURSOR);
qxl->release_ring = qxl_ring_create (&(ram_header->release_ring),
sizeof (uint64_t),
8, 0);
QXL_RELEASE_RING_SIZE, 0);
qxl->surface_cache = qxl_surface_cache_create (qxl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment