summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_dma.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-12-09 10:37:24 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-10 08:13:58 +0100
commitad071acb53110c8efd26ff1e5b5d57449b43833b (patch)
tree8b20b8bd890979b941a8c2bc99c970b68ad93bb9 /drivers/gpu/drm/i915/i915_dma.c
parentacc240d41ea1ab9c488a79219fb313b5b46265ae (diff)
drm/i915: Repeat eviction search after idling the GPU
With the advent of hw context support, we gained some objects that are pinned for the duration of their request. That is we can make aperture space available by idling the GPU and in the process performing a context switch back to the always-pinned default context. As such, we should not conclude that there is no space in the aperture for the current object until we have unpinned any such context objects. Note that we also have the problem of outstanding pageflips preventing eviction of their framebuffer objects to resolve. Testcase: igt/gem_ctx_exec/eviction Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72507 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Tested-by: lu hua <huax.lu@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_dma.c')
0 files changed, 0 insertions, 0 deletions