drm/vmwgfx: Reorder device takedown somewhat
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 5 Mar 2015 10:33:24 +0000 (02:33 -0800)
committerSasha Levin <sasha.levin@oracle.com>
Sat, 28 Mar 2015 13:53:10 +0000 (09:53 -0400)
commitc95800d035abe0ad19aa8352e64c237e10724e67
treea6e9976a8372678247d02a47b0d32b66a54b1211
parent9297c326266dd08af2c7be30cbab32787eef9b9f
drm/vmwgfx: Reorder device takedown somewhat

[ Upstream commit 3458390b9f0ba784481d23134798faee27b5f16f ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c