Quoting Mika Kuoppala (2018-08-09 11:40:35)
> Chris Wilson <ch...@chris-wilson.co.uk> writes:
> 
> > The call to i915_gem_unpark() checks that we hold a rpm wakeref before
> > taking a long term wakeref for i915->gt.awake. We should therefore make
> > sure we do hold the wakeref when directly calling unpark to disable
> > the retire worker.
> 
> We as a caller need to hold the rpm as i915_gem_unpark does 
> intel_runtime_pm_get_noresume() ?

Correct. noresume says that the caller must have down the synchronous
rpm_get for us.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to