On Tue, Nov 07, 2017 at 06:40:08PM +0000, Ramalingam C wrote: > From: "C, Ramalingam" <ramalingam.c@xxxxxxxxx> > > Existing debugfs entry i915_drrs_status is updated with crtc id and > if PSR is cause for DRRS disabled state. > > [v2]: Dropped the module parameter details as ctl moved from module > parameter to debugfs. [Rodrigo] > > Signed-off-by: C, Ramalingam <ramalingam.c@xxxxxxxxx> > --- > drivers/gpu/drm/i915/i915_debugfs.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c > index 0c1501fe4c9f..6c2e8346b9a7 100644 > --- a/drivers/gpu/drm/i915/i915_debugfs.c > +++ b/drivers/gpu/drm/i915/i915_debugfs.c > @@ -3567,7 +3567,10 @@ static void drrs_status_per_crtc(struct seq_file *m, > > /* disable_drrs() will make drrs->dp NULL */ > if (!drrs->dp) { > - seq_puts(m, "Idleness DRRS: Disabled"); > + seq_puts(m, "Idleness DRRS: Disabled\n"); > + if (dev_priv->psr.enabled) > + seq_puts(m, > + "\tAs PSR is enabled, DRRS is not enabled\n"); this seems good... > mutex_unlock(&drrs->mutex); > return; > } > @@ -3611,7 +3614,7 @@ static int i915_drrs_status(struct seq_file *m, void *unused) > for_each_intel_crtc(dev, intel_crtc) { > if (intel_crtc->base.state->active) { > active_crtc_cnt++; > - seq_printf(m, "\nCRTC %d: ", active_crtc_cnt); > + seq_printf(m, "\nCRTC %d: ", intel_crtc->base.base.id); this seems for a separated patch... or at least missing an explanation why... > > drrs_status_per_crtc(m, dev, intel_crtc); > } > -- > 2.7.4 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/intel-gfx _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx