]> git.baikalelectronics.ru Git - kernel.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)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 7 Oct 2010 09:00:18 +0000 (10:00 +0100)
commitb58a6a4e0433177b782bec8aac2a57dbd8882b08
tree6650c29aa136a05ec5b0a2d86c9fab3bf530822a
parentba691f5e215ab35df74e97e875cc226a1730cefe
drm/i915: Free hardware status page on unload when physically mapped

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>
[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>
Cc: stable@kernel.org
drivers/gpu/drm/i915/i915_dma.c