drm/vmwgfx: Reorder device takedown somewhat
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 5 Mar 2015 10:33:24 +0000 (02:33 -0800)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 11 Mar 2015 18:47:40 +0000 (11:47 -0700)
commit3458390b9f0ba784481d23134798faee27b5f16f
treed4610eed6fd55bd1f727fbe1b14e65bb48ab7131
parent5151adb37a5918957f4c33a8d8e7629c0fb00563
drm/vmwgfx: Reorder device takedown somewhat

To take down the MOB and GMR memory types, the driver may have to issue
fence objects and thus make sure that the fence manager is taken down
after those memory types.
Reorder device init accordingly.

Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c