On Fri, 26 Mar 2010 13:41:08 -0700
Jesse Barnes wrote:
> On Fri, 26 Mar 2010 11:07:20 -0700
> Jesse Barnes wrote:
>
> > - if (iir & I915_DISPLAY_PLANE_A_FLIP_PENDING_INTERRUPT)
> > + if ((iir & I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT) &&
> > + !(pipeb_stats
On Fri, 26 Mar 2010 11:07:20 -0700
Jesse Barnes wrote:
> - if (iir & I915_DISPLAY_PLANE_A_FLIP_PENDING_INTERRUPT)
> + if ((iir & I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT) &&
> + !(pipeb_stats & pipe_vblank_mask)) {
> + DRM_ERROR("flip
Gen3 chips have slightly different flip commands, and also contain a bit
that indicates whether a "flip pending" interrupt means the flip has
been queued or has been completed.
So implement support for the gen3 flip command, and make sure we use the
flip pending interrupt correctly depending on th