drm/radeon: Add early unregister of firmware fb's
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 6 Oct 2010 16:39:07 +0000 (16:39 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 21 Dec 2010 01:36:14 +0000 (11:36 +1000)
commita56f7428d7534f162fbb089c5c79012bf38a7c29
tree5103e19664b60d6e750e21d94b6a2cabb7e0fac4
parent68d3059665c4a57223f855eb02f9ab7ce5b3a593
drm/radeon: Add early unregister of firmware fb's

Without this, we attempt the handover too late, the firmware fb
might be accessing the chip simultaneously to us re-initializing
various parts of it, which might frighten babies or cause all sort
of nasty psychologic trauma to kitten.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
[danvet: add cc: stable, forward ported and compile-fixed for X86]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
[airlied: move to even earlier in module load.]
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_drv.c