diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-07-16 20:42:36 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-08-11 00:49:02 +0300 |
commit | fae82e59d2ff7d789878c9eb3a007ae7eb6641b2 (patch) | |
tree | d30bb9dcd6b10528f7ef4f04149e84cb05f51f8a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | b06bc7ec4da26dccda040a65896ea22ee6638a7a (diff) | |
download | linux-fae82e59d2ff7d789878c9eb3a007ae7eb6641b2.tar.xz |
drm/i915: Handle ENOSPC after failing to insert a mappable node
Even after adding individual page support for GTT mmaping, we can still
fail to find any space within the mappable region, and
drm_mm_insert_node() will then report ENOSPC. We have to then handle
this error by using the shmem access to the pages.
Fixes: b50a53715f09 ("drm/i915: Support for pread/pwrite ... objects")
Testcase: igt/gem_concurrent_blit
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ankitprasad Sharma <ankitprasad.r.sharma@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com
Link: http://patchwork.freedesktop.org/patch/msgid/1468690956-23480-1-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
(cherry picked from commit d1054ee492a89b134fb0ac527b0714c277ae9c0f)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions