All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: Dave Airlie <airlied@gmail.com>
Cc: tiwai@suse.de, mat@mshopf.de, dri-devel@lists.freedesktop.org
Subject: Re: Add a reset interface
Date: Sun, 30 Jan 2011 21:08:43 +0000	[thread overview]
Message-ID: <b9dded$hq5e38@orsmga002.jf.intel.com> (raw)
In-Reply-To: <AANLkTik2kSB49Sss3DGW50pL=vv6iWsyq+A0Z8Lmx-oy@mail.gmail.com>

On Mon, 31 Jan 2011 06:03:25 +1000, Dave Airlie <airlied@gmail.com> wrote:
> It seems like an interface we could use, I just wasn't sure how a regression fix
> for something in. 38 isn't a revert but requires a whole new interface
> in the core
> drm to fix. Perhaps if you can enlighten me on that I'd be happier.

We've made several mistakes along the way, which can be surmised as
forgetting to reset state upon resume. (The same bug affects the GPU reset
paths, but I don't expect to receive regression reports following a
hang...)

The bug fixes are themselves just a couple of missing lines (excluding
the many more lines actually required to access the right structures),
but the failure is systematic, and I think there may be more bugs (or at
least susceptible to the same bugs). And so it will be useful to have the
infrastructure in place to fix those bugs.

The other aspect is that reverting the commits responsible reintroduces
undesirable behaviour during normal operation; flickering during output
polling and fdi training failure (due to multiple calls). The failures upon
resume are by comparison the lesser of the evils.

But trivial to fix.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

      reply	other threads:[~2011-01-30 21:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-24 15:55 Add a reset interface Chris Wilson
2011-01-24 15:55 ` [PATCH 1/4] drm: Add an interface to reset the device Chris Wilson
2011-01-24 16:18   ` Takashi Iwai
2011-01-24 16:23     ` Chris Wilson
2011-01-24 17:08   ` Alex Deucher
2011-01-25 18:48     ` Chris Wilson
2011-01-24 15:55 ` [PATCH 2/4] drm/i915: Reset state after a GPU reset or resume Chris Wilson
2011-01-24 15:55 ` [PATCH 3/4] drm/i915/crt: Force the initial probe after reset Chris Wilson
2011-01-24 15:55 ` [PATCH 4/4] drm/i915: Reset crtc after resume Chris Wilson
2011-01-24 16:28 ` Add a reset interface Takashi Iwai
2011-01-30 11:50 ` Chris Wilson
2011-01-30 20:03   ` Dave Airlie
2011-01-30 21:08     ` Chris Wilson [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='b9dded$hq5e38@orsmga002.jf.intel.com' \
    --to=chris@chris-wilson.co.uk \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=mat@mshopf.de \
    --cc=tiwai@suse.de \
    /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.