]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Also wait for the scratch buffer to be bound
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 31 Jan 2020 14:26:10 +0000 (14:26 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 31 Jan 2020 15:10:02 +0000 (15:10 +0000)
commit2f7d04187434696fb044b22e1132db7f265abfbd
tree5f31cdb20b9539710ef26df5a4bdbeca555a34cd
parent2af63a004c184f34e7bee07006122ade8caf9dd9
drm/i915/selftests: Also wait for the scratch buffer to be bound

Since PIN_GLOBAL is no longer guaranteed to be synchronous, we must not
forget to include a wait-for-vma prior to execution.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200131142610.3100998-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/gt/selftest_lrc.c
drivers/gpu/drm/i915/gt/selftest_workarounds.c