Quoting Mika Kuoppala (2018-02-12 13:28:54) > Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> writes: > > > When dumping the engine, we print out the current register values. This > > requires the rpm wakeref. If the device is alseep, we can assume the > > engine is asleep (and the register state is uninteresting) so skip and > > only acquire the rpm wakeref if the device is already awake. > > > > Reported-by: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> > > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > > Cc: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> > > Cc: Mika Kuoppala <mika.kuoppala@xxxxxxxxx> > > --- > > + if (intel_runtime_pm_get_if_in_use(engine->i915)) { > > + intel_engine_print_registers(engine, m); > > + intel_runtime_pm_put(engine->i915); > > + } else { > > + drm_printf(m, "Device is alseep; skipping register dump\n"); > > + } > > s/alseep/asleep > > Reviewed-by: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx> Done, and both pushed. Now to try Tvrtko's warning patch on the new baseline. Thanks, -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx