All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Swanson <swanson@ukfsn.org>
To: Jerome Glisse <jglisse@redhat.com>
Cc: dri-devel@lists.sf.net
Subject: Re: [PATCH] drm/radeon/kms: fence cleanup + more reliable GPU lockup detection
Date: Sun, 28 Feb 2010 12:22:52 +0000	[thread overview]
Message-ID: <1267359772.8270.5.camel@trillian.infiniteimprobability.net> (raw)
In-Reply-To: <1267195784-2475-1-git-send-email-jglisse@redhat.com>

On Fri, 2010-02-26 at 15:49 +0100, Jerome Glisse wrote:
> This patch cleanup the fence code, it drops the timeout field of
> fence as the time to complete each IB is unpredictable and shouldn't
> be bound.
> 
> The fence cleanup lead to GPU lockup detection improvement, this
> patch introduce a callback, allowing to do asic specific test for
> lockup detection. In this patch the CP is use as a first indicator
> of GPU lockup. If CP doesn't make progress during 1second we assume
> we are facing a GPU lockup.
> 
> To avoid overhead of testing GPU lockup frequently due to fence
> taking time to be signaled we query the lockup callback every
> 100msec. There is plenty code comment explaining the design & choise
> inside the code.

Every 100msec? Is this running all the time? If so, that's not very good
for CPU power saving to lower C-states in an idle system. We could at
least use one of the round_jiffies.

> This have been tested mostly on R3XX/R5XX hw, in normal running
> destkop (compiz firefox, quake3 running) the lockup callback wasn't
> call once (1 hour session). Also tested with forcing GPU lockup and
> lockup was reported after the 1s CP activity timeout.
> 
> Signed-off-by: Jerome Glisse <jglisse@redhat.com>

-- 
Alan.

"One must never be purposelessnessnesslessness."


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

  parent reply	other threads:[~2010-02-28 12:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-26 14:49 [PATCH] drm/radeon/kms: fence cleanup + more reliable GPU lockup detection Jerome Glisse
2010-02-26 17:25 ` Rafał Miłecki
2010-02-28 12:22 ` Alan Swanson [this message]
2010-02-28 16:47   ` Jerome Glisse
2010-03-01  6:00     ` Dave Airlie
2010-03-01  9:49       ` Jerome Glisse

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=1267359772.8270.5.camel@trillian.infiniteimprobability.net \
    --to=swanson@ukfsn.org \
    --cc=dri-devel@lists.sf.net \
    --cc=jglisse@redhat.com \
    /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.