All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rafał Miłecki" <zajec5@gmail.com>
To: Dave Airlie <airlied@gmail.com>
Cc: dri-devel@lists.sf.net
Subject: Re: [PATCH] [rfc] drm/radeon/kms: pm debugging check for vbl.
Date: Thu, 18 Feb 2010 09:04:41 +0100	[thread overview]
Message-ID: <b170af451002180004w348bd47fw6869374bdb46134e@mail.gmail.com> (raw)
In-Reply-To: <1266475807-9663-1-git-send-email-airlied@gmail.com>

2010/2/18 Dave Airlie <airlied@gmail.com>:
> From: Dave Airlie <airlied@redhat.com>
>
> This patch adds a check on avivo chips to see if we are in the VBL
> region for the active crtcs when we trigger the engine change.
>
> I appear to have glitches locally on pm transistion (not sure all
> fixes are in yet) and this at least seems to be correct here,
> maybe others can test on systems with no glitches.

Because we are totally out of sync with VBLANK. If we correctly sync
with it, it's just a lucky case. Please check my
[PATCH] drm/radeon/kms: really wait for VBLANK in PM code
and reply in thread where I posted it.


> +       /* check if we are in vblank */
> +       radeon_pm_debug_check_in_vbl(rdev, false);
>        radeon_set_power_state(rdev);
> +       radeon_pm_debug_check_in_vbl(rdev, true);
>        rdev->pm.planned_action = PM_ACTION_NONE;

It adds some reading & printing steps before every reclock, while we
really want it to happen as soon as possible. Maybe you could execute
this only on some
#ifdef RADEON_PM_DEBUG
?


-- 
Rafał

------------------------------------------------------------------------------
Download Intel&reg; 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
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

  reply	other threads:[~2010-02-18  8:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-18  6:50 [PATCH] [rfc] drm/radeon/kms: pm debugging check for vbl Dave Airlie
2010-02-18  8:04 ` Rafał Miłecki [this message]
2010-02-18  8:16   ` Dave Airlie
2010-02-18  8:28     ` Dave Airlie
2010-02-18 10:12       ` Rafał Miłecki
2010-02-18 10:29         ` Dave Airlie
2010-02-23 21:38           ` Luca Tettamanti

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=b170af451002180004w348bd47fw6869374bdb46134e@mail.gmail.com \
    --to=zajec5@gmail.com \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.sf.net \
    /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.