ps3fb: Tear down FB setup during cleanup
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Wed, 10 Jun 2009 04:38:49 +0000 (04:38 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 15 Jun 2009 03:26:21 +0000 (13:26 +1000)
commitc204ff65590837e6a9c50ca549497b4682682ec6
tree8ba43efed25b4c7945f5e8e12b684b92e97f1a72
parentd3352c9f1e8e2f2989d9686c8aa8acb4842fe75e
ps3fb: Tear down FB setup during cleanup

During cleanup, use L1GPU_CONTEXT_ATTRIBUTE_FB_CLOSE to tear down the setup
done by L1GPU_CONTEXT_ATTRIBUTE_FB_SETUP.

This allows unloading and reloading of ps3fb while the sound driver keeps the
GPU open.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: linux-fbdev-devel@lists.sourceforge.net
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/ps3gpu.h
drivers/video/ps3fb.c