From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH 06/10] drm/i915: use __wait_seqno for ring throttle Date: Sun, 22 Apr 2012 15:17:00 +0100 Message-ID: <1335104249_20305@CP5-2952> References: <1334971412-4826-1-git-send-email-ben@bwidawsk.net> <1334971412-4826-7-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (smtp.fireflyinternet.com [109.228.6.236]) by gabe.freedesktop.org (Postfix) with ESMTP id AEC049E792 for ; Sun, 22 Apr 2012 07:17:36 -0700 (PDT) In-Reply-To: <1334971412-4826-7-git-send-email-ben@bwidawsk.net> 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: intel-gfx@lists.freedesktop.org Cc: Ben Widawsky , Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org On Fri, 20 Apr 2012 18:23:28 -0700, Ben Widawsky wrote: > It turns out throttle had an almost identical bit of code to do the > wait. Now we can call the new helper directly. This is just a bonus, > and not needed for the overall series. If you defer this patch to later in the series you can simply this function even further by using i915_seqno_wait_timed(). As the only known user of the API, I can vouch it will not change userspace behaviour. -Chris -- Chris Wilson, Intel Open Source Technology Centre