diff options
author | Dave Airlie <airlied@redhat.com> | 2010-10-28 11:10:03 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-10-28 11:12:01 +1000 |
commit | fb22d0c06a7dc42216230e198ff443d8035e9d21 (patch) | |
tree | c916096f7ea6086f8d197acaa331ed66c5cffd9f /src/radeon_probe.h | |
parent | 040140b5d7cbeaf5d83687bc87e4a236ff9f0cbd (diff) |
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
Diffstat (limited to 'src/radeon_probe.h')
-rw-r--r-- | src/radeon_probe.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |