mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Frans Pop <elendil@planet.nl>
Cc: Paul Rolland <rol@as2917.net>,
	torvalds@linux-foundation.org, linux-kernel@vger.kernel.org,
	rol@witbe.net
Subject: Re: Linux-2.6.31-rc4 - shut the annoying "failed to acquire vblank..."
Date: Thu, 6 Aug 2009 14:31:28 -0700	[thread overview]
Message-ID: <20090806143128.2c5b76fe@jbarnes-g45> (raw)
In-Reply-To: <200907301306.51496.elendil@planet.nl>

On Thu, 30 Jul 2009 13:06:50 +0200
Frans Pop <elendil@planet.nl> wrote:

> Paul Rolland wrote:
> > Some applications/hardware combinations are triggering the message
> > "failed to acquire vblank counter" to be issued up to 20 times a
> > second, which makes it both useless and dangerous, as this may hide
> > other important messages. This changes makes it only appear when
> > people are debugging. 
> > 
> > Signed-off-by: Paul Rolland <rol@as2917.net>
> > Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
> > 
> > --- linux-2.6.31-rc4/drivers/gpu/drm/drm_irq.c.orig     2009-07-26
> > 21:36:20.000000000 +0200 +++
> > linux-2.6.31-rc4/drivers/gpu/drm/drm_irq.c  2009-07-26
> > 21:36:34.000000000 +0200 @@ -566,7 +566,7 @@ int
> > drm_wait_vblank(struct drm_device *d
> > 
> > ret = drm_vblank_get(dev, crtc);
> > 	if (ret) {
> > -		DRM_ERROR("failed to acquire vblank counter,
> > %d\n", ret);
> > +		DRM_DEBUG("failed to acquire vblank counter,
> > %d\n", ret); return ret;
> > 	}
> > 	seq = drm_vblank_count(dev, crtc);
> 
> Actually, I just see that I get a different, but related error on
> suspend and when opening/closing a second X session:
>    *ERROR* trying to get vblank count for disabled pipe 0/1
> 
> Would it make sense to add the following to this patch:

Yes, that would be a good second patch (I also sent this one a few
times but it keeps getting lost).  If you want to send it to Linus more
formally, you can add my reviewed-by.

Thanks,
-- 
Jesse Barnes, Intel Open Source Technology Center

      reply	other threads:[~2009-08-06 21:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-28  7:16 Paul Rolland
2009-07-28 10:44 ` Frans Pop
2009-07-28 12:53   ` Paul Rolland
2009-07-28 16:23     ` Jesse Barnes
2009-07-28 19:08       ` Paul Rolland
2009-07-29  6:54       ` Paul Rolland
2009-07-30 11:06         ` Frans Pop
2009-08-06 21:31           ` 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=20090806143128.2c5b76fe@jbarnes-g45 \
    --to=jbarnes@virtuousgeek.org \
    --cc=elendil@planet.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rol@as2917.net \
    --cc=rol@witbe.net \
    --cc=torvalds@linux-foundation.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

all inboxes | Powered by JetHome®