]> 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)
commit444ccde1b286588f65fb12abae13267e50c91c2f
tree72e346c73c8dc6d2f9e4510b0b99816bd583ce05
parent57edab2e08f6e90433be2a52332d891f85080838
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