Commit e289df20 authored by Alon Levy's avatar Alon Levy

spiceqxl_io_port: s/init_qxl_ram/xspice_init_qxl_ram/

parent e3691235
......@@ -1331,7 +1331,7 @@ qxl_pre_init(ScrnInfoPtr pScrn, int flags)
if (!qxl_check_device(pScrn, qxl))
goto out;
#else
init_qxl_ram(qxl); /* initialize the rings */
xspice_init_qxl_ram(qxl); /* initialize the rings */
#endif
pScrn->videoRam = (qxl->rom->num_pages * 4096) / 1024;
xf86DrvMsg(scrnIndex, X_INFO, "%d KB of video RAM\n", pScrn->videoRam);
......
......@@ -39,7 +39,7 @@ static int spiceqxl_io_port_debug_level = 5;
} \
} while (0)
void init_qxl_ram(qxl_screen_t *qxl)
void xspice_init_qxl_ram(qxl_screen_t *qxl)
{
QXLRam *ram = get_ram_header(qxl);
uint64_t *item;
......@@ -62,7 +62,7 @@ static void qxl_reset_state(qxl_screen_t *qxl)
assert(SPICE_RING_IS_EMPTY(&ram->cursor_ring));
qxl->shadow_rom.update_id = 0;
*qxl->rom = qxl->shadow_rom;
init_qxl_ram(qxl);
xspice_init_qxl_ram(qxl);
qxl->num_free_res = 0;
qxl->last_release = NULL;
// TODO - dirty ?
......
......@@ -5,6 +5,6 @@
/* used to initialize the rings before the first reset, avoid a valgrind
* warning */
void init_qxl_ram(qxl_screen_t *qxl);
void xspice_init_qxl_ram(qxl_screen_t *qxl);
#endif // SPICEQXL_IO_PORT_H
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