On Thu, 16 Jun 2011 11:54:50 -0700 Ben Widawsky <[email protected]> wrote:
> On Thu, Jun 16, 2011 at 09:19:14AM -0700, Jesse Barnes wrote: > > Use the blit ring for submitting flips since the render ring doesn't > > generate flip complete interrupts. > > > > Signed-off-by: Jesse Barnes <[email protected]> > > --- > > drivers/gpu/drm/i915/intel_display.c | 30 ++++++++++++++++++++++++++++++ > > 1 files changed, 30 insertions(+), 0 deletions(-) > > > > diff --git a/drivers/gpu/drm/i915/intel_display.c > > b/drivers/gpu/drm/i915/intel_display.c > > index 37e74e9..e842ed9 100644 > > --- a/drivers/gpu/drm/i915/intel_display.c > > +++ b/drivers/gpu/drm/i915/intel_display.c > > @@ -6412,6 +6412,33 @@ out: > > return ret; > > } > > > > +static int intel_gen7_queue_flip(struct drm_device *dev, > > + struct drm_crtc *crtc, > > + struct drm_framebuffer *fb, > > + struct drm_i915_gem_object *obj) > > +{ > > + struct drm_i915_private *dev_priv = dev->dev_private; > > + struct intel_crtc *intel_crtc = to_intel_crtc(crtc); > Could you put the bit about why you chose the blitter ring here. > > + struct intel_ring_buffer *ring = &dev_priv->ring[BCS]; Oh yeah, good call. Will update with comments. -- Jesse Barnes, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
