aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.h')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_drv.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
index 59f614225bcd..28df788da44e 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
@@ -417,8 +417,6 @@ enum {
417 417
418struct vmw_private { 418struct vmw_private {
419 struct ttm_bo_device bdev; 419 struct ttm_bo_device bdev;
420 struct ttm_bo_global_ref bo_global_ref;
421 struct drm_global_reference mem_global_ref;
422 420
423 struct vmw_fifo_state fifo; 421 struct vmw_fifo_state fifo;
424 422
@@ -842,8 +840,6 @@ extern int vmw_fifo_flush(struct vmw_private *dev_priv,
842 * TTM glue - vmwgfx_ttm_glue.c 840 * TTM glue - vmwgfx_ttm_glue.c
843 */ 841 */
844 842
845extern int vmw_ttm_global_init(struct vmw_private *dev_priv);
846extern void vmw_ttm_global_release(struct vmw_private *dev_priv);
847extern int vmw_mmap(struct file *filp, struct vm_area_struct *vma); 843extern int vmw_mmap(struct file *filp, struct vm_area_struct *vma);
848 844
849/** 845/**
@@ -1363,7 +1359,7 @@ vmw_bo_reference(struct vmw_buffer_object *buf)
1363 1359
1364static inline struct ttm_mem_global *vmw_mem_glob(struct vmw_private *dev_priv) 1360static inline struct ttm_mem_global *vmw_mem_glob(struct vmw_private *dev_priv)
1365{ 1361{
1366 return (struct ttm_mem_global *) dev_priv->mem_global_ref.object; 1362 return &ttm_mem_glob;
1367} 1363}
1368 1364
1369static inline void vmw_fifo_resource_inc(struct vmw_private *dev_priv) 1365static inline void vmw_fifo_resource_inc(struct vmw_private *dev_priv)