aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2011-10-17 05:59:45 -0400
committerDave Airlie <airlied@redhat.com>2011-10-18 04:39:04 -0400
commit1c482ab3596b8ee4c635926b35ee88ad56ba2f9c (patch)
treee1cfb706cce27e37d4c3d3f0c8f91b635ec59ba7 /drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
parent74b5ea307689b5abf577670b40965921d5dba4d5 (diff)
vmwgfx: Add vblank stubs
This fixes kernel panics when running the vbltest from the drm repo. We can't just skip initializing the vblank system since it sets up certain state for us, see: "vmwgfx: Enable use of the vblank system." 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
index 0e9b2cefaa9d..30589d0aecd9 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
@@ -618,6 +618,8 @@ bool vmw_kms_validate_mode_vram(struct vmw_private *dev_priv,
618 uint32_t pitch, 618 uint32_t pitch,
619 uint32_t height); 619 uint32_t height);
620u32 vmw_get_vblank_counter(struct drm_device *dev, int crtc); 620u32 vmw_get_vblank_counter(struct drm_device *dev, int crtc);
621int vmw_enable_vblank(struct drm_device *dev, int crtc);
622void vmw_disable_vblank(struct drm_device *dev, int crtc);
621int vmw_kms_present(struct vmw_private *dev_priv, 623int vmw_kms_present(struct vmw_private *dev_priv,
622 struct drm_file *file_priv, 624 struct drm_file *file_priv,
623 struct vmw_framebuffer *vfb, 625 struct vmw_framebuffer *vfb,