diff options
| author | Dave Airlie <airlied@linux.ie> | 2004-08-29 12:04:35 +0000 | 
|---|---|---|
| committer | Dave Airlie <airlied@linux.ie> | 2004-08-29 12:04:35 +0000 | 
| commit | 1430163b4bbf7b00367ea1066c1c5fe85dbeefed (patch) | |
| tree | 478348e12b86280253f91beb4b23ed90ea349b04 /linux/drm_bufs.h | |
| parent | 6916572c1c32cd030258ab917f0a568517d5006b (diff) | |
Drop GAMMA DRM from a great height ...
Diffstat (limited to 'linux/drm_bufs.h')
| -rw-r--r-- | linux/drm_bufs.h | 27 | 
1 files changed, 0 insertions, 27 deletions
| diff --git a/linux/drm_bufs.h b/linux/drm_bufs.h index c21ff748..fbde072c 100644 --- a/linux/drm_bufs.h +++ b/linux/drm_bufs.h @@ -404,9 +404,6 @@ static void DRM(cleanup_buf_error)(drm_device_t *dev, drm_buf_entry_t *entry)  			  sizeof(*entry->buflist),  			  DRM_MEM_BUFS); -		if (dev->fn_tbl.freelist_destroy) -			dev->fn_tbl.freelist_destroy(&entry->freelist); -  		entry->buf_count = 0;  	}  } @@ -575,14 +572,6 @@ int DRM(addbufs_agp)( struct inode *inode, struct file *filp,  	DRM_DEBUG( "dma->buf_count : %d\n", dma->buf_count );  	DRM_DEBUG( "entry->buf_count : %d\n", entry->buf_count ); -	if (dev->fn_tbl.freelist_create) -	{ -		dev->fn_tbl.freelist_create( &entry->freelist, entry->buf_count); -		for ( i = 0 ; i < entry->buf_count ; i++ ) { -			dev->fn_tbl.freelist_put( dev, &entry->freelist, &entry->buflist[i] ); -		} -	} -  	up( &dev->struct_sem );  	request.count = entry->buf_count; @@ -817,14 +806,6 @@ int DRM(addbufs_pci)( struct inode *inode, struct file *filp,  	dma->page_count += entry->seg_count << page_order;  	dma->byte_count += PAGE_SIZE * (entry->seg_count << page_order); -	if (dev->fn_tbl.freelist_create) -	{ -		dev->fn_tbl.freelist_create( &entry->freelist, entry->buf_count); -		for ( i = 0 ; i < entry->buf_count ; i++ ) { -			dev->fn_tbl.freelist_put( dev, &entry->freelist, &entry->buflist[i] ); -		} -	} -  	up( &dev->struct_sem );  	request.count = entry->buf_count; @@ -990,14 +971,6 @@ int DRM(addbufs_sg)( struct inode *inode, struct file *filp,  	DRM_DEBUG( "dma->buf_count : %d\n", dma->buf_count );  	DRM_DEBUG( "entry->buf_count : %d\n", entry->buf_count ); -	if (dev->fn_tbl.freelist_create) -	{ -		dev->fn_tbl.freelist_create( &entry->freelist, entry->buf_count); -		for ( i = 0 ; i < entry->buf_count ; i++ ) { -			dev->fn_tbl.freelist_put( dev, &entry->freelist, &entry->buflist[i] ); -		} -	} -  	up( &dev->struct_sem );  	request.count = entry->buf_count; | 
