diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2010-10-01 10:21:49 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-10-01 21:08:51 +1000 |
commit | 7a1c2f6c8d8485af5ac6c2a313f6a7162207a4af (patch) | |
tree | 867f60ced7f7742dc2f4a2010d32b516e90ea411 /drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | |
parent | 30c78bb838b26ec7997515844c0c734e454b3cba (diff) | |
download | linux-3.10-7a1c2f6c8d8485af5ac6c2a313f6a7162207a4af.tar.gz linux-3.10-7a1c2f6c8d8485af5ac6c2a313f6a7162207a4af.tar.bz2 linux-3.10-7a1c2f6c8d8485af5ac6c2a313f6a7162207a4af.zip |
vmwgfx: Enable use of the vblank system
This is to avoid accessing uninitialized data during
drm_irq_uninstall and vblank ioctls. At the same time, enable error check from
drm_kms_init which previously appeared to ignore all errors.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_kms.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c index 1636e9ba81a..e882ba099f0 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c @@ -996,3 +996,8 @@ out_unlock: ttm_read_unlock(&vmaster->lock); return ret; } + +u32 vmw_get_vblank_counter(struct drm_device *dev, int crtc) +{ + return 0; +} |