xf86-video-intel: src/sna/sna_driver.c
Chris Wilson
ickle at kemper.freedesktop.org
Fri Aug 8 06:04:57 PDT 2014
src/sna/sna_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8d135867c886e98fa0bc5a7a21a1b3d84851daaa
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Fri Aug 8 14:04:14 2014 +0100
sna: Update check for static driver data on loading error
Bugzilla: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1354424
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index dc0a659..f903adf 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -1184,7 +1184,7 @@ static void sna_free_screen(FREE_SCREEN_ARGS_DECL)
struct sna *sna = to_sna(scrn);
DBG(("%s\n", __FUNCTION__));
- if ((uintptr_t)sna & 1)
+ if ((uintptr_t)sna & 3)
return;
scrn->driverPrivate = (void *)((uintptr_t)sna->info | (sna->flags & SNA_IS_SLAVED) | 2);
More information about the xorg-commit
mailing list