From: Ben Widawsky <ben@bwidawsk.net>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: intel-gfx@lists.freedesktop.org,
Alexander Zhaunerchyk <alex.vizor@gmail.com>
Subject: Re: [PATCH 1/2] drm/i915: more forcewake lock error info
Date: Wed, 22 Jun 2011 10:26:06 -0700 [thread overview]
Message-ID: <20110622172606.GA5157@bwgnt.jf.intel.com> (raw)
In-Reply-To: <e0d58a$g4llj@orsmga002.jf.intel.com>
On Wed, Jun 22, 2011 at 06:15:40PM +0100, Chris Wilson wrote:
> On Wed, 22 Jun 2011 10:07:50 -0700, Ben Widawsky <bwidawsk@gmail.com> wrote:
> > On Wed, Jun 22, 2011 at 10:00 AM, Chris Wilson <chris@chris-wilson.co.uk>wrote:
> >
> > > On Wed, 22 Jun 2011 09:55:00 -0700, Ben Widawsky <ben@bwidawsk.net> wrote:
> > > > Get some more useful info for debugging backtraces on forcewake
> > > > problems. Appropriate debug flags will be required for the drm module.
> > >
> > > Wouldn't it be neater to pass the reg down to
> > > gen6_gt_force_wake_get() so that we only have a single debug message and
> > > not an additional one for every inlined read/write?
> > > -Chris
> > >
> >
> > Urg... having some trouble with my email right now, so you have to deal with
> > my gmail/webmail...
> >
> > 1. Yes, but I was lazy.
> > 2. People call force_wake_get() without actually specifying a register, so I
> > didn't want to enforce people entering bogus info on those calls.
>
> We could always go for the traditional file:line automagic macros...
> But we already have that from the stacktrace if people are good enough to
> provide symbols.
Yeah, I figured this would be easiest as it somewhat removes variance
between commits, I can just search for the unprotected register access
on the branch du jour (especially with you guys refactoring the code all
time time... JBARNES).
I'm fine if the consensus is to throw this one out. Seemed helpful at
the time, so I thought I'd post it.
> -Chris
Ben
next prev parent reply other threads:[~2011-06-22 17:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-22 16:54 [PATCH 0/2] forcewake warning fixes Ben Widawsky
2011-06-22 16:55 ` [PATCH 1/2] drm/i915: more forcewake lock error info Ben Widawsky
2011-06-22 17:00 ` Chris Wilson
2011-06-22 17:07 ` Ben Widawsky
2011-06-22 17:15 ` Chris Wilson
2011-06-22 17:26 ` Ben Widawsky [this message]
2011-06-22 16:55 ` [PATCH 2/2] drm/i915: save/resume forcewake lock fixes Ben Widawsky
2011-06-22 17:04 ` Chris Wilson
2011-06-22 17:29 ` Keith Packard
2011-06-22 17:50 ` Andrey Rahmatullin
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=20110622172606.GA5157@bwgnt.jf.intel.com \
--to=ben@bwidawsk.net \
--cc=alex.vizor@gmail.com \
--cc=chris@chris-wilson.co.uk \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.