drm: don't drop handle reference on unload
authorDave Airlie <airlied@redhat.com>
Thu, 7 Oct 2010 04:01:17 +0000 (14:01 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Oct 2010 04:01:17 +0000 (14:01 +1000)
commitdab8dcfa3c8e3b021a138bee7c17791b4991ba55
treea18d922cd613beb3ef8dc375124a81c5396f50d6
parent1df6a2ebd75067aefbdf07482bf8e3d0584e04ee
drm: don't drop handle reference on unload

since the handle references are all tied to a file_priv, and when it disappears
all the handle refs go with it.

The fbcon ones we'd only notice on unload, but the nouveau notifier one
would would happen on reboot.

nouveau: Reported-by: Marc Dionne <marc.c.dionne@gmail.com>
nouveau: Tested-by: Marc Dionne <marc.c.dionne@gmail.com>
i915 unload: Reported-by: Keith Packard <keithp@keithp.com>
Acked-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/intel_fb.c
drivers/gpu/drm/nouveau/nouveau_fbcon.c
drivers/gpu/drm/nouveau/nouveau_notifier.c
drivers/gpu/drm/radeon/radeon_fb.c