Commit f6ff2e97 authored by Mihail Konev's avatar Mihail Konev Committed by Adam Jackson

modesetting: fix glamor ifdef

Add a missing ifdef needed for --disable-glamor.
Signed-off-by: default avatarMihail Konev <k.mvc@ya.ru>
Reviewed-by: Jon Turney's avatarJon Turney <jon.turney@dronecode.org.uk>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 8fee6a91
......@@ -594,6 +594,7 @@ redisplay_dirty(ScreenPtr screen, PixmapDirtyUpdatePtr dirty, int *timeout)
PixmapSyncDirtyHelper(dirty);
if (!screen->isGPU) {
#ifdef GLAMOR
/*
* When copying from the master framebuffer to the shared pixmap,
* we must ensure the copy is complete before the slave starts a
......@@ -602,6 +603,7 @@ redisplay_dirty(ScreenPtr screen, PixmapDirtyUpdatePtr dirty, int *timeout)
*/
if (ms->drmmode.glamor)
glamor_finish(screen);
#endif
/* Ensure the slave processes the damage immediately */
if (timeout)
*timeout = 0;
......
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