From fb22d0c06a7dc42216230e198ff443d8035e9d21 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 28 Oct 2010 11:10:03 +1000 Subject: radeon: only register block handler once per fd. should fix https://bugs.freedesktop.org/show_bug.cgi?id=29726 the problem is of course the second head instance tries to access the fd and fails, however I think this might break syncing on the second head but not sure, but its better than just hanging up the X server --- src/radeon_probe.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/radeon_probe.h') diff --git a/src/radeon_probe.h b/src/radeon_probe.h index 36c91b27..dc19cce8 100644 --- a/src/radeon_probe.h +++ b/src/radeon_probe.h @@ -648,6 +648,7 @@ typedef struct void *FB; /* Map of FB region */ int FB_cnt; /* Map of FB region refcount */ int fd; /* for sharing across zaphod heads */ + Bool fd_wakeup_registered; /* fd has already been registered for wakeup handling */ } RADEONEntRec, *RADEONEntPtr; /* radeon_probe.c */ -- cgit v1.2.3