On Tue, Mar 28, 2017 at 04:22:40PM +0300, Mika Kuoppala wrote: > Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> writes: > > > Capturing GPU state requires the device to be awake in order to read > > registers. Normally, this is taken along the error handler, but for the > > direct debugfs access, we cannot make assumptions about the current > > device state and so either need to wake it up, or abort. > > > > Fixes: 5a4c6f1b1b2d ("drm/i915: The return of i915_gpu_info to debugfs") > > Testcase: igt/pm_rpm/debugfs-read > > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > > Cc: Mika Kuoppala <mika.kuoppala@xxxxxxxxx> > > doh More yawn than doh. Who would want to look at the gpu state when it's not doing anything and then complain it was asleep? :) Pushed, -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx