]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Flush the active barriers before asserting
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 Jul 2020 15:33:25 +0000 (16:33 +0100)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 7 Sep 2020 10:14:15 +0000 (13:14 +0300)
commit7b30a1f8ba1bea63318a4c28720ecaf0b247465b
tree5c5957eee976eac6154c88519d76831115ef6115
parentbb4a936a0532ae54e88d5102b9f3c8119e370cd9
drm/i915/selftests: Flush the active barriers before asserting

Before we peek at the barrier status for an assert, first serialise with
its callbacks so that we see a stable value.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Thomas Hellström <thomas.hellstrom@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200728153325.28351-1-chris@chris-wilson.co.uk
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/gt/selftest_context.c