Re: i915 vsync interrupt fix

From: Keith Packard
Date: Sat Jun 24 2006 - 01:24:51 EST


On Fri, 2006-06-23 at 17:36 -0700, Jeremy Fitzhardinge wrote:
> I need this patch from Alan Hourihane
> <mailto:alanh@xxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part