From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tvrtko Ursulin Subject: Re: [PATCH] drm/i915/skl: Use correct use counters for force wakes Date: Thu, 25 Sep 2014 13:43:31 +0100 Message-ID: <54240DF3.2020602@linux.intel.com> References: <1411640220-32696-1-git-send-email-tvrtko.ursulin@linux.intel.com> <20140925102916.GC15638@strange.amr.corp.intel.com> <874mvvhpmg.fsf@gaia.fi.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id C064E6E200 for ; Thu, 25 Sep 2014 05:43:40 -0700 (PDT) In-Reply-To: <874mvvhpmg.fsf@gaia.fi.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Mika Kuoppala , Damien Lespiau Cc: Intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On 09/25/2014 01:05 PM, Mika Kuoppala wrote: > Damien Lespiau writes: > >> On Thu, Sep 25, 2014 at 11:17:00AM +0100, Tvrtko Ursulin wrote: >>> From: Tvrtko Ursulin >>> >>> Write and reads following the block changed use engine specific use counters >>> and unless that is matched here force wake use counting goes bad. Same >>> force wake is attempted to be taken twice which leads to at least time outs. >>> >>> Signed-off-by: Tvrtko Ursulin >> >> Is it worth a v2 to have gen >= 9 here? > > I think we should have gen >= 8 here. But that would not match against the current implementation of GEN8 vs CHV read/write functions. > Shadowed ELSP's seems not to work on gen8. And the posting read will > need fw anyways. > > Assuming the shadowing works on skl and we can get rid of the posting > read, we could run this part without taking forcewake. I don't know what criteria would need to be satisfied to get rid of the posting read. On GEN9 only you are saying? 2nd part, how to test if shadowing works? Just remove force wakes and see what happens? Thanks, Tvrtko