vmwgfx: Enable use of the vblank system
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 1 Oct 2010 08:21:49 +0000 (10:21 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 1 Oct 2010 11:08:51 +0000 (21:08 +1000)
commit7a1c2f6c8d8485af5ac6c2a313f6a7162207a4af
tree867f60ced7f7742dc2f4a2010d32b516e90ea411
parent30c78bb838b26ec7997515844c0c734e454b3cba
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>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c