drm/i915/selftest: Analyse timestamp behaviour across context switches
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Feb 2020 11:20:03 +0000 (11:20 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Feb 2020 14:09:18 +0000 (14:09 +0000)
commite7aa531e846ce41877094c1af15148d99aba6cf3
treeab6b6dc0902009d99f0472514710e796c22a20ef
parentb04002f4dbee039feaf9ef814ba08c24a588e146
drm/i915/selftest: Analyse timestamp behaviour across context switches

Check that the CTX_TIMESTAMP is monotonic across context save/restore
and upon preemption.

References: https://gitlab.freedesktop.org/drm/intel/issues/1233
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200219112004.1412791-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_lrc.c