From: Damien Lespiau <damien.lespiau@intel.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 1/6] drm/i915/skl: Print the DMC firmware status in debugfs
Date: Wed, 1 Jul 2015 14:17:25 +0100 [thread overview]
Message-ID: <20150701131725.GD25641@strange.ger.corp.intel.com> (raw)
In-Reply-To: <20150701131624.GI23343@phenom.ffwll.local>
On Wed, Jul 01, 2015 at 03:16:24PM +0200, Daniel Vetter wrote:
> On Tue, Jun 30, 2015 at 07:28:54PM +0100, Damien Lespiau wrote:
> > Create a new debufs file for it, we'll have a few more things to add
> > there.
> >
> > Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
> > ---
> > drivers/gpu/drm/i915/i915_debugfs.c | 22 ++++++++++++++++++++++
> > 1 file changed, 22 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
> > index 31d8768..df35448 100644
> > --- a/drivers/gpu/drm/i915/i915_debugfs.c
> > +++ b/drivers/gpu/drm/i915/i915_debugfs.c
> > @@ -2598,6 +2598,27 @@ static int i915_power_domain_info(struct seq_file *m, void *unused)
> > return 0;
> > }
> >
> > +static int i915_dmc_info(struct seq_file *m, void *unused)
> > +{
> > +
> > + struct drm_info_node *node = m->private;
> > + struct drm_device *dev = node->minor->dev;
> > + struct drm_i915_private *dev_priv = dev->dev_private;
> > + static const char *csr_state_str[] = { "unknown", "loaded", "error" };
> > + enum csr_state csr_state;
> > +
> > +
> > + if (!HAS_CSR(dev)) {
> > + seq_puts(m, "not supported\n");
> > + return 0;
> > + }
> > +
> > + csr_state = intel_csr_load_status_get(dev_priv);
>
> This will disappear after the dmc loader rework.
Are you suggesting that we shouldn't touch that code until someone
reworks it? (seems fairly unbounded to me).
--
Damien
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2015-07-01 13:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-30 18:28 [PATCH 0/6] A bit of debug info for DMC/CSR Damien Lespiau
2015-06-30 18:28 ` [PATCH 1/6] drm/i915/skl: Print the DMC firmware status in debugfs Damien Lespiau
2015-07-01 13:16 ` Daniel Vetter
2015-07-01 13:17 ` Damien Lespiau [this message]
2015-06-30 18:28 ` [PATCH 2/6] drm/i915/skl: Store and print the DMC firmware version we load Damien Lespiau
2015-06-30 18:28 ` [PATCH 3/6] drm/i915/skl: Expose DC5/DC6 entry counts Damien Lespiau
2015-06-30 18:28 ` [PATCH 4/6] drm/i915/skl: Embed the CSR lock into its own structure Damien Lespiau
2015-07-01 13:16 ` Daniel Vetter
2015-06-30 18:28 ` [PATCH 5/6] drm/i915/skl: Print out if we allow DC5/DC6 in debugfs Damien Lespiau
2015-06-30 18:28 ` [PATCH 6/6] drm/i915/bxt: Print out if we allow DC9 " Damien Lespiau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150701131725.GD25641@strange.ger.corp.intel.com \
--to=damien.lespiau@intel.com \
--cc=daniel@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox