drm/i915: Reserve shadow batch VMA analogue to others
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 7 Jan 2015 17:32:39 +0000 (17:32 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 8 Jan 2015 08:34:58 +0000 (09:34 +0100)
commit7226572d8ed48f7e1aa9de5383d919490d6e9a0c
treec2a162ddb47f7079316fcadaaf94fb9b85e3081f
parentc9dc0f35986c0e2fc81e0b71ddc7e3adad733829
drm/i915: Reserve shadow batch VMA analogue to others

If not pinned VMA can become an eviction target just before it needs to be
executed which breaks the internal object lifetime rules.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=87399
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_execbuffer.c