From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Eric Anholt <eric@anholt.net>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: WIP POSTING_READ fix series
Date: Fri, 3 Jun 2011 14:05:50 -0700 [thread overview]
Message-ID: <20110603140550.1a39892c@jbarnes-desktop> (raw)
In-Reply-To: <1307128822-9709-1-git-send-email-eric@anholt.net>
On Fri, 3 Jun 2011 12:20:18 -0700
Eric Anholt <eric@anholt.net> wrote:
> Here's what I've been talking about on IRC today. Patch 3 appears to
> make things work. Patch 4 should work, but re-breaks things (hangs
> but no dmesg complaints). I want to understand why, but I'm running
> out of theories. Perhaps there's some period of time where a write
> has been PCI write posted but has not yet appeared in the GT FIFO? Or
> perhaps there's some time after GT FIFO but before it's really handled
> by hardware? Note that I was also able to fix the problem without
> this series by just POSTING_READing 4 times instead of 1.
The fact that patch 4 re-introduces the issue makes me think we still
have a timing issue separate from the FIFO depth or force wake
handling. How long does the function take to complete in both cases?
Does simply delaying the posting_read to match the approximate force
wake get/put time also get rid of the missed interrupts? If so, maybe
we're missing some other aspect of the interrupt masking dance instead?
--
Jesse Barnes, Intel Open Source Technology Center
prev parent reply other threads:[~2011-06-03 21:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-03 19:20 WIP POSTING_READ fix series Eric Anholt
2011-06-03 19:20 ` [PATCH 1/4] drm/i915: Control gen6 ring interrupts through a single mask field Eric Anholt
2011-06-03 19:20 ` [PATCH 2/4] drm/i915: Move the forcewake refcounting to a spinlock Eric Anholt
2011-06-03 19:20 ` [PATCH 3/4] drm/i915: Fix missed IRQs on gen6 Eric Anholt
2011-06-03 19:20 ` [PATCH 4/4] drm/i915: Try removing the forcewake get/put around the fifo counting Eric Anholt
2011-06-03 21:05 ` Jesse Barnes [this message]
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=20110603140550.1a39892c@jbarnes-desktop \
--to=jbarnes@virtuousgeek.org \
--cc=eric@anholt.net \
--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