aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-02-02 13:27:21 +0000
committerChris Wilson <[email protected]>2017-02-03 09:55:58 +0000
commitbb96dcf5830e5d81a1da2e2a14e6c0f7dfc64348 (patch)
tree907e6681629ee8c28ae2b0dcb0f95e19128c35f9 /tools/perf/scripts
parent3aac4acb89710fe782c9e78e7b1febf76e112c6c (diff)
drm/i915: Recreate internal objects with single page segments if dmar fails
If we fail to dma-map the object, the most common cause is lack of space inside the SW-IOTLB due to fragmentation. If we recreate the_sg_table using segments of PAGE_SIZE (and single page allocations), we may succeed in remapping the scatterlist. First became a significant problem for the mock selftests after commit 5584f1b1d73e ("drm/i915: fix i915 running as dom0 under Xen") increased the max_order. Fixes: 920cf4194954 ("drm/i915: Introduce an internal allocator for disposable private objects") Fixes: 5584f1b1d73e ("drm/i915: fix i915 running as dom0 under Xen") Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Tvrtko Ursulin <[email protected]> Cc: <[email protected]> # v4.10-rc1+
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions