drm/vmwgfx: Refactor module load to not require fifo unless fbdev is loaded
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 9 Nov 2012 12:26:14 +0000 (12:26 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Nov 2012 06:19:56 +0000 (16:19 +1000)
commit506ff75c92a44d80da96bc18d9902d29e8236fc6
tree20d8a4f2a4d9b024e5b2b9bb37cea8d79eefbf8d
parent29a16e9543f4122da13e9c0e18af117cc4964fb8
drm/vmwgfx: Refactor module load to not require fifo unless fbdev is loaded

This also fixes a bug where the fence manager was left without irq
enabled when waiting for fences, causing various errors at module
load time

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Dmitry Torokhov <dtor@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c