From: "Zhao, Yakui" Subject: Re: [PATCH] drm/i915: Ringbuffer signal func for the second BSD ring Date: Tue, 13 May 2014 09:08:04 +0800 Message-ID: <1399943284.2053.171.camel@genxdev-ykzhao.sh.intel.com> References: <1399639499-5265-1-git-send-email-oscar.mateo@intel.com> <20140512190407.GG25056@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 1A5746E5B2 for ; Mon, 12 May 2014 18:07:55 -0700 (PDT) In-Reply-To: <20140512190407.GG25056@phenom.ffwll.local> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Daniel Vetter Cc: "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org On Mon, 2014-05-12 at 13:04 -0600, Daniel Vetter wrote: > On Fri, May 09, 2014 at 01:44:59PM +0100, oscar.mateo@intel.com wrote: > > From: Oscar Mateo > > > > This is missing in: > > > > commit 78325f2d270897c9ee0887125b7abb963eb8efea > > Author: Ben Widawsky > > Date: Tue Apr 29 14:52:29 2014 -0700 > > > > drm/i915: Virtualize the ringbuffer signal func > > > > Looks to me like a rebase side-effect... > > > > Signed-off-by: Oscar Mateo > > Queued for -next, thanks for the patch. Iirc there's been a regression > report too. Anyone know the bugzilla? It seems that this patch can fix the issue in: https://bugs.freedesktop.org/show_bug.cgi?id=78274 Thanks. Yakui > -Daniel > > > --- > > drivers/gpu/drm/i915/intel_ringbuffer.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c > > index 9907d66..203fa2b 100644 > > --- a/drivers/gpu/drm/i915/intel_ringbuffer.c > > +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c > > @@ -2182,6 +2182,7 @@ int intel_init_bsd2_ring_buffer(struct drm_device *dev) > > ring->dispatch_execbuffer = > > gen8_ring_dispatch_execbuffer; > > ring->semaphore.sync_to = gen6_ring_sync; > > + ring->semaphore.signal = gen6_signal; > > /* > > * The current semaphore is only applied on the pre-gen8. And there > > * is no bsd2 ring on the pre-gen8. So now the semaphore_register > > -- > > 1.9.0 > > > > _______________________________________________ > > Intel-gfx mailing list > > Intel-gfx@lists.freedesktop.org > > http://lists.freedesktop.org/mailman/listinfo/intel-gfx >