svn commit: r190401 - head/sys/dev/drm
rnoland at FreeBSD.org
Wed Mar 25 09:42:52 PDT 2009
On Wed, 2009-03-25 at 09:29 +0000, N.J. Mann wrote:
> In message <200903250150.n2P1ou4g062376 at svn.freebsd.org>,
> Robert Noland (rnoland at 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:
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 Noland <rnoland at FreeBSD.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20090325/65a93d13/attachment.pgp
More information about the svn-src-head