winsys/radeon: remove the device file descriptor from the interface
authorMarek Olšák <maraeo@gmail.com>
Thu, 4 Aug 2011 04:19:17 +0000 (06:19 +0200)
committerMarek Olšák <maraeo@gmail.com>
Tue, 16 Aug 2011 07:15:11 +0000 (09:15 +0200)
r600g doesn't need it anymore.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
src/gallium/winsys/radeon/drm/radeon_winsys.h

index 1f3bd6dd7bd21c22fe3e4ec14edf4bb0ac7f1e9c..e234321d93481a32113907035ae65c9d62c0af54 100644 (file)
@@ -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;
index 9f70c5c2f9fd59cc4c61c46f73bd97df0ddeb01f..bf5b144fe2c080eef90b87c32e1b4de643cb530b 100644 (file)
@@ -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;