|
@@ -1227,7 +1227,8 @@ int __i915_wait_seqno(struct intel_engine_cs *ring, u32 seqno,
|
|
|
if (i915_seqno_passed(ring->get_seqno(ring, true), seqno))
|
|
|
return 0;
|
|
|
|
|
|
- timeout_expire = timeout ? jiffies + nsecs_to_jiffies((u64)*timeout) : 0;
|
|
|
+ timeout_expire = timeout ?
|
|
|
+ jiffies + nsecs_to_jiffies_timeout((u64)*timeout) : 0;
|
|
|
|
|
|
if (INTEL_INFO(dev)->gen >= 6 && ring->id == RCS && can_wait_boost(file_priv)) {
|
|
|
gen6_rps_boost(dev_priv);
|