]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Free hardware status page on unload when physically mapped
authorKeith Packard <keithp@keithp.com>
Thu, 7 Oct 2010 08:20:12 +0000 (09:20 +0100)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:03 +0000 (23:40 +0100)
commitd428b23edbf023b941cbf54fed79a591a1348b32
tree304c78f3a539d966f61cf29359e3b21a82e08892
parent6a132e669ac1845bef63801129800765c97d06d4
drm/i915: Free hardware status page on unload when physically mapped

commit c2873e9633fe908dccd36dbb1d370e9c59a1ca62 upstream.

A physically mapped hardware status page is allocated at driver load
time but was never freed. Call the existing code to free this page at
driver unload time on hardware which uses this kind.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
[ickle: call before tearing down registers on KMS-only path, as pointed
out by Dave Airlie]
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/i915_dma.c