]> git.baikalelectronics.ru Git - kernel.git/commit
vmwgfx: Fix display system init & close functions
authorJakob Bornecrantz <jakob@vmware.com>
Mon, 17 Oct 2011 09:59:43 +0000 (11:59 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 18 Oct 2011 08:39:01 +0000 (09:39 +0100)
commit673248740bdfd815571fff135ad053870d5a49df
tree39731fbd2536bd8f5444b2ba9750c9eb51ce1b1c
parent9f750a541ddadb307b85320984826a8ccc6a1df7
vmwgfx: Fix display system init & close functions

Make sure we null the display private, make sure we catch and
handle vblank failing to init and don't call vblank_cleanup if
we haven't initialized the display 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>
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c