summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>2013-03-21 10:33:19 +0100
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>2013-03-21 10:34:30 +0100
commit1643b8cd2dc53ed36916e11003590c7037b4ddd6 (patch)
tree73629198c357b5fcc63547534804d67cdb9e30aa /src/radeon.h
parenta4d1bc43d4d10e2ca1e512c1010e962c587d6c16 (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.h')
-rw-r--r--src/radeon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index f9863473..1cbeef67 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -453,6 +453,7 @@ typedef struct {
uint64_t vram_size;
uint64_t gart_size;
drmmode_rec drmmode;
+ Bool drmmode_inited;
/* r6xx+ tile config */
Bool have_tiling_info;
uint32_t tile_config;