From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Widawsky Subject: Re: [PATCH 57/66] drm/i915: Disallow pin with full ppgtt Date: Fri, 28 Jun 2013 22:43:30 -0700 Message-ID: <20130629054329.GA528@bwidawsk.net> References: <1372375867-1003-1-git-send-email-ben@bwidawsk.net> <1372375867-1003-58-git-send-email-ben@bwidawsk.net> <20130628085527.GB32183@cantiga.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from shiva.localdomain (unknown [209.20.75.48]) by gabe.freedesktop.org (Postfix) with ESMTP id C0507E5BFE for ; Fri, 28 Jun 2013 22:40:19 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130628085527.GB32183@cantiga.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Chris Wilson , Intel GFX List-Id: intel-gfx@lists.freedesktop.org On Fri, Jun 28, 2013 at 09:55:27AM +0100, Chris Wilson wrote: > On Thu, Jun 27, 2013 at 04:30:58PM -0700, Ben Widawsky wrote: > > Pin doesn't fit with PPGTT since the interface doesn't allow for the > > context for which we want to pin. > > Nak. Pin still retains it semantics with the gtt and only applies to the > gtt. > -Chris > > -- > Chris Wilson, Intel Open Source Technology Centre Here is the error I have on pin. I was trying to debug it previously but got sidetracked. I thought some combo of EXEC_GTT flag and hacks would make it work, but I never finished. Maybe you know offhand what I've messed up, and the right way to fix it? gem_pin: gem_pin.c:84: exec: Assertion `gem_exec[0].offset == offset' failed. -- Ben Widawsky, Intel Open Source Technology Center