svn commit: r190401 - head/sys/dev/drm
N.J. Mann
njm at njm.me.uk
Wed Mar 25 02:55:49 PDT 2009
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:
http://lists.freebsd.org/pipermail/freebsd-x11/2009-February/007670.html
Cheers,
Nick.
--
More information about the svn-src-all
mailing list