Message ID | 20211020212539.16472-1-matthew.brost@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/i915/guc: Set all engine props values for GuC virtual engines | expand |
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; } }
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@intel.com> --- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)