summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-08-04 06:19:17 +0200
committerMarek Olšák <[email protected]>2011-08-16 09:15:11 +0200
commitefbccfeca071b052bb8da0a7f0277000869b2ea1 (patch)
treed4a11babb44a2504d600ea42baa8106ae44a76e8
parent041ed559e11ee99d720c8132428c07d8fe57ec81 (diff)
winsys/radeon: remove the device file descriptor from the interface
r600g doesn't need it anymore. Reviewed-by: Alex Deucher <[email protected]>
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_winsys.c1
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_winsys.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
index 1f3bd6dd7bd..e234321d934 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
@@ -316,7 +316,6 @@ struct radeon_winsys *radeon_drm_winsys_create(int fd)
}
ws->fd = fd;
- ws->info.fd = fd;
if (!do_winsys_init(ws))
goto fail;
diff --git a/src/gallium/winsys/radeon/drm/radeon_winsys.h b/src/gallium/winsys/radeon/drm/radeon_winsys.h
index 9f70c5c2f9f..bf5b144fe2c 100644
--- a/src/gallium/winsys/radeon/drm/radeon_winsys.h
+++ b/src/gallium/winsys/radeon/drm/radeon_winsys.h
@@ -73,7 +73,6 @@ struct radeon_info {
uint32_t pci_id;
uint32_t gart_size;
uint32_t vram_size;
- uint32_t fd; /* XXX transitional */
uint32_t drm_major; /* version */
uint32_t drm_minor;