aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2010-05-28 05:21:59 -0400
committerDave Airlie <airlied@redhat.com>2010-05-31 19:37:25 -0400
commitd7e1958dbe4a7b81d4cab5fab545a068501b967e (patch)
tree92bf46006c21c4f1770bc8803ae6807461fa2e07 /drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
parent1ae1ddd5e99bbc067414ff571ac18d4312b4c8cf (diff)
drm/vmwgfx: Support older hardware.
V2: Fix a couple of typos. Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.h')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_drv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
index 9a0a82b41c3e..1341adef408d 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
@@ -187,6 +187,7 @@ struct vmw_private {
187 uint32_t vga_red_mask; 187 uint32_t vga_red_mask;
188 uint32_t vga_blue_mask; 188 uint32_t vga_blue_mask;
189 uint32_t vga_green_mask; 189 uint32_t vga_green_mask;
190 uint32_t vga_pitchlock;
190 191
191 /* 192 /*
192 * Framebuffer info. 193 * Framebuffer info.
@@ -401,6 +402,7 @@ extern int vmw_fifo_send_fence(struct vmw_private *dev_priv,
401extern void vmw_fifo_ping_host(struct vmw_private *dev_priv, uint32_t reason); 402extern void vmw_fifo_ping_host(struct vmw_private *dev_priv, uint32_t reason);
402extern int vmw_fifo_mmap(struct file *filp, struct vm_area_struct *vma); 403extern int vmw_fifo_mmap(struct file *filp, struct vm_area_struct *vma);
403extern bool vmw_fifo_have_3d(struct vmw_private *dev_priv); 404extern bool vmw_fifo_have_3d(struct vmw_private *dev_priv);
405extern bool vmw_fifo_have_pitchlock(struct vmw_private *dev_priv);
404 406
405/** 407/**
406 * TTM glue - vmwgfx_ttm_glue.c 408 * TTM glue - vmwgfx_ttm_glue.c
@@ -491,6 +493,9 @@ void vmw_kms_cursor_snoop(struct vmw_surface *srf,
491 struct ttm_object_file *tfile, 493 struct ttm_object_file *tfile,
492 struct ttm_buffer_object *bo, 494 struct ttm_buffer_object *bo,
493 SVGA3dCmdHeader *header); 495 SVGA3dCmdHeader *header);
496void vmw_kms_write_svga(struct vmw_private *vmw_priv,
497 unsigned width, unsigned height, unsigned pitch,
498 unsigned bbp, unsigned depth);
494 499
495/** 500/**
496 * Overlay control - vmwgfx_overlay.c 501 * Overlay control - vmwgfx_overlay.c