]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc58b71b27d926bd866ea405d5ec765eb6aee9457
tree867f60ced7f7742dc2f4a2010d32b516e90ea411
parente28d3759681375bdd51e40bb4c2571019ebfe6e3
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