On Wed, Jun 18, 2014 at 01:59:17PM +0200, Daniel Vetter wrote: > Add busy_frontbuffer_bits and locking. > > Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx> > --- > drivers/gpu/drm/i915/i915_debugfs.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c > index 4818aff9e6d6..6c0413fd3d37 100644 > --- a/drivers/gpu/drm/i915/i915_debugfs.c > +++ b/drivers/gpu/drm/i915/i915_debugfs.c > @@ -1971,10 +1971,15 @@ static int i915_edp_psr_status(struct seq_file *m, void *data) > > intel_runtime_pm_get(dev_priv); > > + mutex_lock(&dev_priv->psr.lock); It's debugfs. Play nice and let the user interrupt us, just in case. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx