From: Jerome Glisse <jglisse@redhat.com>
To: Alan Swanson <swanson@ukfsn.org>
Cc: dri-devel@lists.sf.net
Subject: Re: [PATCH] drm/radeon/kms: fence cleanup + more reliable GPU lockup detection
Date: Sun, 28 Feb 2010 17:47:15 +0100 [thread overview]
Message-ID: <20100228164715.GA23804@localhost.localdomain> (raw)
In-Reply-To: <1267359772.8270.5.camel@trillian.infiniteimprobability.net>
On Sun, Feb 28, 2010 at 12:22:52PM +0000, Alan Swanson wrote:
> 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 run only when userspace call bo wait thus it only happen when userspace
is waiting for something.
Cheers,
Jerome
------------------------------------------------------------------------------
Download Intel® 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
--
next prev parent reply other threads:[~2010-02-28 16:47 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
2010-02-28 16:47 ` Jerome Glisse [this message]
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=20100228164715.GA23804@localhost.localdomain \
--to=jglisse@redhat.com \
--cc=dri-devel@lists.sf.net \
--cc=swanson@ukfsn.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.