]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Pin the object whilst faulting it in
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 20 Nov 2012 10:45:17 +0000 (10:45 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 21 Nov 2012 16:45:04 +0000 (17:45 +0100)
commitf441b65022c87dd78cae75a145898ba1109344ca
treec3d97e0bbf8f8bb3eba541026f2bebaffb0e2710
parent0f67a4a91db4a524149eea73a67c974c45a6ea55
drm/i915: Pin the object whilst faulting it in

In order to prevent reaping of the object whilst setting it up to
handle the pagefault, we need to mark it as pinned. This has the nice
side-effect of eliminating some special cases from the pagefault handler
as well!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c