]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix deadlock in fb teardown
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 20 Jul 2010 18:58:00 +0000 (11:58 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 26 Jul 2010 18:27:46 +0000 (11:27 -0700)
commit0143e95cc79210c8ae545eaf4c69e86b4544a55c
tree17a851e7577e5be3ad4423fb669f6752d5d7e014
parentf3996a1ae9d2c85b4a5146caba0d22b6db117b16
drm/i915: fix deadlock in fb teardown

At module unload time we'll tear down the fbdev state.  We do so under
the struct mutex, so we shouldn't try to use the unlocked variant of
the GEM object unreference function or we may deadlock.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_fb.c