[PATCH 67/73] execlists-kick-timer

Chris Wilson chris at chris-wilson.co.uk
Tue Jan 12 13:58:10 UTC 2021


---
 drivers/gpu/drm/i915/gt/sysfs_engines.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/sysfs_engines.c b/drivers/gpu/drm/i915/gt/sysfs_engines.c
index 9759f268828a..11de568977ef 100644
--- a/drivers/gpu/drm/i915/gt/sysfs_engines.c
+++ b/drivers/gpu/drm/i915/gt/sysfs_engines.c
@@ -222,9 +222,7 @@ timeslice_store(struct kobject *kobj, struct kobj_attribute *attr,
 		return -EINVAL;
 
 	WRITE_ONCE(engine->props.timeslice_duration_ms, duration);
-
-	if (execlists_active(&engine->execlists))
-		set_timer_ms(&engine->execlists.timer, duration);
+	i915_sched_kick(&engine->active);
 
 	return count;
 }
-- 
2.20.1



More information about the Intel-gfx-trybot mailing list