OSDN Git Service

drm/i915/selftests: Ignore autoincrementing timestamp on verfifying whitelists
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Jun 2020 15:48:39 +0000 (16:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Jun 2020 22:14:42 +0000 (23:14 +0100)
commitc95ebab1c7c4c400bb2922b8e9d443747cd645b5
treefbada77e0fca3d168e88da4c1cc7d64cd8fbb5c4
parentd161306161f8cae29e5672c4fd1c42cf7e9ae95a
drm/i915/selftests: Ignore autoincrementing timestamp on verfifying whitelists

As a timestamp will automatically update itself, it will not hold only
contexts we write into it, and will change from the baseline value
making us suspect that our writes are landing. As this confuses us and
we would need more careful treatment to detect invalid stores into the
timestamp, skip it when verifying the whitelists.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200602154839.6902-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_workarounds.c