From owner-svn-src-head@FreeBSD.ORG Wed Mar 25 09:55:48 2009 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56DE11065672 for ; Wed, 25 Mar 2009 09:55:48 +0000 (UTC) (envelope-from njm@njm.me.uk) Received: from smtp004.apm-internet.net (smtp004.apm-internet.net [85.119.248.54]) by mx1.freebsd.org (Postfix) with SMTP id A89DC8FC19 for ; Wed, 25 Mar 2009 09:55:47 +0000 (UTC) (envelope-from njm@njm.me.uk) Received: (qmail 1880 invoked from network); 25 Mar 2009 09:29:05 -0000 Received: from unknown (HELO titania.njm.me.uk) (81.155.115.150) by smtp004.apm-internet.net with SMTP; 25 Mar 2009 09:29:05 -0000 Received: from titania.njm.me.uk (localhost [127.0.0.1]) by titania.njm.me.uk (8.14.3/8.14.3) with ESMTP id n2P9T4Wf023554; Wed, 25 Mar 2009 09:29:04 GMT (envelope-from njm@njm.me.uk) Received: (from njm@localhost) by titania.njm.me.uk (8.14.3/8.14.3/Submit) id n2P9T4fw023553; Wed, 25 Mar 2009 09:29:04 GMT (envelope-from njm@njm.me.uk) Date: Wed, 25 Mar 2009 09:29:04 +0000 From: "N.J. Mann" To: Robert Noland Message-ID: <20090325092904.GA2801@titania.njm.me.uk> References: <200903250150.n2P1ou4g062376@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200903250150.n2P1ou4g062376@svn.freebsd.org> X-Operating-System: FreeBSD 7.2-PRERELEASE User-Agent: mutt-NJM (2009-02-20) Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r190401 - head/sys/dev/drm X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2009 09:55:49 -0000 In message <200903250150.n2P1ou4g062376@svn.freebsd.org>, Robert Noland (rnoland@FreeBSD.org) wrote: > Author: rnoland > Date: Wed Mar 25 01:50:56 2009 > New Revision: 190401 > URL: http://svn.freebsd.org/changeset/base/190401 > > Log: > Rework the management of vblank interrupts a bit. > > When a vt switch occurs the irq handler is uninstalled. Interrupts > and the state tracking of what was enabled/disabled wasn't working > properly. This should resolve the reports of "slow windows" after a > vt switch, among other things. The radeon 2d driver seems to work a > bit more correctly than the Intel driver. With the Intel driver, > vblank interrupts will be enabled at system startup and will only > be disabled after an additional modeset (vt switch, dpms, randr event). > > With this patch, I am able to run glxgears synced to vblank and > vt switch while it is running without ill effects. > > MFC after: 3 days > > Modified: > head/sys/dev/drm/drm_irq.c Is this a possible cure for the problem I reported here: http://lists.freebsd.org/pipermail/freebsd-x11/2009-February/007670.html Cheers, Nick. --