[PATCH] drm/i915/guc: Set all engine props values for GuC virtual engines
Matthew Brost
matthew.brost at intel.com
Wed Oct 20 21:25:39 UTC 2021
Set all engine props values for GuC virtual engines as a request can
point to a virtual engine with GuC submission and these props are used
all over the driver. This differs from execlists where a request can
only point to a virtual engine.
Signed-off-by: Matthew Brost <matthew.brost at intel.com>
---
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c b/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
index 38b47e73e35d..1341752dc70e 100644
--- a/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
+++ b/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
@@ -4303,10 +4303,7 @@ guc_create_virtual(struct intel_engine_cs **siblings, unsigned int count,
ve->base.flags |= sibling->flags;
- ve->base.props.timeslice_duration_ms =
- sibling->props.timeslice_duration_ms;
- ve->base.props.preempt_timeout_ms =
- sibling->props.preempt_timeout_ms;
+ ve->base.props = sibling->props;
}
}
--
2.32.0
More information about the dri-devel
mailing list