drm/i915/selftests: Restore previous heartbeat interval
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Feb 2021 21:13:02 +0000 (21:13 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Mar 2021 18:31:59 +0000 (19:31 +0100)
commit10c5585b5172921c9e4ccbae57637205abd5bda1
tree72e346c73c8dc6d2f9e4510b0b99816bd583ce05
parente762bdf582af5b4c9af654553b3c5efc84c7ff65
drm/i915/selftests: Restore previous heartbeat interval

Use the defaults we store on the engine when resetting the heartbeat as
we may have had to adjust it from the config value during initialisation.

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/20210204211303.21347-1-chris@chris-wilson.co.uk
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c