On Wednesday, December 09, 2015 06:22:19 PM Joonas Lahtinen wrote: > Introduce pm_runtime_get_noidle to for situations where it is not > desireable to touch an idling device. One use scenario is periodic > hangchecks performed by the drm/i915 driver which can be omitted > on a device in a runtime idle state. > > v2: > - Fix inconsistent return value when !CONFIG_PM. > - Update documentation for bool return value > > Signed-off-by: Joonas Lahtinen <joonas.lahti...@linux.intel.com> > Reported-by: Chris Wilson <ch...@chris-wilson.co.uk> > Cc: Chris Wilson <ch...@chris-wilson.co.uk> > Cc: "Rafael J. Wysocki" <r...@rjwysocki.net> > Cc: linux...@vger.kernel.org
Well, I don't quite see how this can be used in a non-racy way without doing an additional pm_runtime_resume() or something like that in the same code path. Thanks, Rafael _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx