]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: i915_gem_object_finish_gtt must always release gtt mmap
authorKeith Packard <keithp@keithp.com>
Sat, 25 Jun 2011 04:02:59 +0000 (21:02 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 25 Jun 2011 04:02:59 +0000 (21:02 -0700)
commitcbe83026bfa71322f3664833f9003e9b4325acc2
treee177fb47db75b19071cbfd24aaec018b8282e49c
parentdd265d054238efc792e3231c240183997dc0f3c1
drm/i915: i915_gem_object_finish_gtt must always release gtt mmap

Even if the object is no longer in the GTT domain, there may still be
a user space mapping which needs to be released.

Without this fix, render-based text (mostly in firefox) would
occasionally get corrupted when the system was under load.

Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_gem.c