diff options
author | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2013-03-21 10:33:19 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2013-03-21 10:34:30 +0100 |
commit | 1643b8cd2dc53ed36916e11003590c7037b4ddd6 (patch) | |
tree | 73629198c357b5fcc63547534804d67cdb9e30aa /src/radeon_probe.h | |
parent | a4d1bc43d4d10e2ca1e512c1010e962c587d6c16 (diff) |
radeon: add refcounts to fix up zaphod open/close.
Oops, turns out my previous commits were buggy.
Adding proper refcounts will handle this correctly.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Diffstat (limited to 'src/radeon_probe.h')
-rw-r--r-- | src/radeon_probe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_probe.h b/src/radeon_probe.h index 516b7b48..1899a16c 100644 --- a/src/radeon_probe.h +++ b/src/radeon_probe.h @@ -128,7 +128,9 @@ typedef struct ScrnInfoPtr pPrimaryScrn; int fd; /* for sharing across zaphod heads */ + int fd_ref; unsigned long fd_wakeup_registered; /* server generation for which fd has been registered for wakeup handling */ + int fd_wakeup_ref; int dri2_info_cnt; } RADEONEntRec, *RADEONEntPtr; |