From: Mika Kuoppala <mika.kuoppala@linux.intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915/ppgtt: Limit guilty hunt inside of relevant vm
Date: Fri, 17 Jan 2014 16:29:31 +0200 [thread overview]
Message-ID: <878uueznp0.fsf@gaia.fi.intel.com> (raw)
In-Reply-To: <20140117102635.GC4864@nuc-i3427.alporthouse.com>
Chris Wilson <chris@chris-wilson.co.uk> writes:
> On Fri, Jan 17, 2014 at 12:03:24PM +0200, Mika Kuoppala wrote:
>> With full ppgtt, ACTHD is only relevant inside one context
>> (address space). Trying to find guilty batch only relying
>> on ACTHD, the result is false positives as ACTHD points
>> inside batches on different address spaces.
>>
>> Filter out nonrelated contexts by checking on which vm
>> the ring was running on when the hang happened. Only after
>> finding the relevant vm, use acthd to find the guilty
>> batch inside it.
>
> Alternatively (or in addtion to) you could walk the request
> list backwards and stop searching for guilty requests after
> the first hit.
I took this idea and posted a patchset as a separate thread.
The approach you suggested feels more 'right' as it is lot
less complex and we don't need acthd nor knowledge about address
spaces to find the guilty.
Only drawback I can now think of is that if gpu hangs just
after writing the seqno to hardware status page, we end up
blaming the wrong request. But if this is a problem we could
double check with acthd that they point to the same req.
-Mika
next prev parent reply other threads:[~2014-01-17 14:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-17 10:03 [PATCH] drm/i915/ppgtt: Limit guilty hunt inside of relevant vm Mika Kuoppala
2014-01-17 10:26 ` Chris Wilson
2014-01-17 14:29 ` Mika Kuoppala [this message]
2014-01-17 14:37 ` Chris Wilson
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=878uueznp0.fsf@gaia.fi.intel.com \
--to=mika.kuoppala@linux.intel.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.