]> Git Repo - linux.git/commit
drm/i915/gem: Use a single chained reloc batches for a single execbuf
authorChris Wilson <[email protected]>
Fri, 1 May 2020 19:29:44 +0000 (20:29 +0100)
committerChris Wilson <[email protected]>
Fri, 1 May 2020 21:56:15 +0000 (22:56 +0100)
commit0e97fbb080553102af98296382c45e89e2ad8dbc
tree39fd2ad3022986e99f6614db862a3ca2f065b681
parent964a9b0f611ee7fedc90641bfcc2efe6ce6206aa
drm/i915/gem: Use a single chained reloc batches for a single execbuf

As we can now keep chaining together a relocation batch to process any
number of relocations, we can keep building that relocation batch for
all of the target vma. This avoiding emitting a new request into the
ring for each target, consuming precious ring space and a potential
stall.

v2: Propagate the failure from submitting the relocation batch.

Testcase: igt/gem_exec_reloc/basic-wide-active
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
This page took 0.060138 seconds and 4 git commands to generate.