]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67b5c6d3f528235b3ebd0aae4daac447a2d0c2c1
tree72e346c73c8dc6d2f9e4510b0b99816bd583ce05
parent701dd9c670f5a20757bbaa9252ac08243705728e
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