From owner-svn-src-all@FreeBSD.ORG Wed Mar 25 16:42:51 2009 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55171106566C; Wed, 25 Mar 2009 16:42:51 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id F32918FC12; Wed, 25 Mar 2009 16:42:50 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.156] (adsl-156-31-142.bna.bellsouth.net [70.156.31.142]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n2PGfTGr029471 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Mar 2009 12:41:29 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: "N.J. Mann" In-Reply-To: <20090325092904.GA2801@titania.njm.me.uk> References: <200903250150.n2P1ou4g062376@svn.freebsd.org> <20090325092904.GA2801@titania.njm.me.uk> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-lDRLTUaJ5wNgNO6mw/S6" Organization: FreeBSD Date: Wed, 25 Mar 2009 11:42:24 -0500 Message-Id: <1237999344.1828.6.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 FreeBSD GNOME Team Port X-Spam-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net 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-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2009 16:42:52 -0000 --=-lDRLTUaJ5wNgNO6mw/S6 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2009-03-25 at 09:29 +0000, N.J. Mann wrote: > 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 > >=20 > > Log: > > Rework the management of vblank interrupts a bit. > > =20 > > 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= ). > > =20 > > With this patch, I am able to run glxgears synced to vblank and > > vt switch while it is running without ill effects. > > =20 > > MFC after: 3 days > >=20 > > Modified: > > head/sys/dev/drm/drm_irq.c >=20 > Is this a possible cure for the problem I reported here: > http://lists.freebsd.org/pipermail/freebsd-x11/2009-February/007670.html It could be... interrupts were not working correcty, especially on Intel. There is likely still an issue with restarting X that I need to look into, but I've not seen a problem vt switching or shutting down. robert. >=20 > Cheers, > Nick. --=20 Robert Noland FreeBSD --=-lDRLTUaJ5wNgNO6mw/S6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAknKXvAACgkQM4TrQ4qfRONnnwCfat4+1ORyvKacgatq5bCgvF6N RawAnizO08tcZCEm4FJYYQHJ6w405rrd =Idzw -----END PGP SIGNATURE----- --=-lDRLTUaJ5wNgNO6mw/S6--