summaryrefslogtreecommitdiff
path: root/tests/i915/gem_spin_batch.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-04-16 09:42:52 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-04-17 09:03:12 +0100
commit81f4dd04f0109bed01b12133325b1c8d007e38b2 (patch)
treed86209d02910849d03a21fee88b1a5b269bf5545 /tests/i915/gem_spin_batch.c
parent77f5e8465110cb67d2d8272123907ea1c4725631 (diff)
i915/gem_exec_schedule: Fill in obj.offset for spinner resubmission
When resubmitting the spinner, fill in the expected offset so that we are not tempted to relocate it across contexts (as the spinner must point back to itself for the MI_BB_START to work). In this case, these should work correctly as they are reusing the same active vma, but for pedagogy we should dtrt. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Diffstat (limited to 'tests/i915/gem_spin_batch.c')
0 files changed, 0 insertions, 0 deletions