lkml.org 
[lkml]   [2006]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: i915 vsync interrupt fix
From
Date
On Fri, 2006-06-23 at 17:36 -0700, Jeremy Fitzhardinge wrote:
> I need this patch from Alan Hourihane
> <mailto:alanh@fairlite.demon.co.uk> to make direct rendering work
> properly on my 945GM-based laptop. It comes from
> https://bugs.freedesktop.org/show_bug.cgi?id=7233. This change is
> immediately useful to me now, but I don't know if the development DRM is
> going to be merged with the kernel any time soon (I notice CVS has a
> variant of this patch).

CVS has a more comprehensive patch where the X server tells the DRI
module which pipe it should use to signal vblank. With the patch posted,
a dual-head environment will generate interrupts on *both* pipes, which
will reduce performance while negating the desired synchronized
behaviour.

The more complete fix requires updated DRI bits and an updated
xf86-video-intel 2D driver, but no changes are needed in the Mesa GL
driver. This bumps the i915 DRM version to 1.5.

When we start looking at mergedfb environments, we may want to consider
an even more sophisticated fix where the vblank used depends on the
dominant monitor displaying the window. The patch I made won't help with
that, unfortunately.

--
keith.packard@intel.com
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2006-06-24 07:28    [W:0.095 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site