From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Skeggs Subject: Re: [PATCH] drm/nouveau: restore hw accelerated buffer copies Date: Mon, 20 Aug 2012 16:22:51 +1000 Message-ID: <20120820062251.GA2013@nisroch.redhat.com> References: <20120817214744.GA9955@joi.lan> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20120817214744.GA9955-OI9uyE9O0yo@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: Marcin Slusarz Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org On Fri, Aug 17, 2012 at 11:47:44PM +0200, Marcin Slusarz wrote: > Regression from "drm/nve0: use async copy engine for ttm buffer moves > if available". Oops, my bad. Applied, thanks! > > Signed-off-by: Marcin Slusarz > --- > drivers/gpu/drm/nouveau/nouveau_bo.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c > index 325b8cb..dc04395 100644 > --- a/drivers/gpu/drm/nouveau/nouveau_bo.c > +++ b/drivers/gpu/drm/nouveau/nouveau_bo.c > @@ -1037,9 +1037,9 @@ nouveau_bo_move_init(struct nouveau_drm *drm) > u32 handle = (mthd->engine << 16) | mthd->oclass; > > if (mthd->init == nve0_bo_move_init) > - chan = drm->channel; > - else > chan = drm->cechan; > + else > + chan = drm->channel; > if (chan == NULL) > continue; > > -- > 1.7.8.6 >