]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit60a16a30d97e8acc9bfed5f4bd1dd03e21a479ea
tree39731fbd2536bd8f5444b2ba9750c9eb51ce1b1c
parentb07759bf41d52aaecd5de92c7d725d6834b23349
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