From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Call io_schedule() whilst whilsting for the GPU Date: Fri, 4 Oct 2013 11:14:33 +0200 Message-ID: <20131004091433.GN31334@phenom.ffwll.local> References: <1380877126-5117-1-git-send-email-chris@chris-wilson.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by gabe.freedesktop.org (Postfix) with ESMTP id 201EAE604C for ; Fri, 4 Oct 2013 02:14:14 -0700 (PDT) Received: by mail-ee0-f41.google.com with SMTP id d17so1676493eek.28 for ; Fri, 04 Oct 2013 02:14:14 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1380877126-5117-1-git-send-email-chris@chris-wilson.co.uk> 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 Cc: Daniel Vetter , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Oct 04, 2013 at 09:58:46AM +0100, Chris Wilson wrote: > Since we are waiting upon IO completion, inform the kernel through use > of the io_schedule() call rather than the regular schedule(). This > should allow the kernel to make better decisions regarding scheduling > and power management. > > Signed-off-by: Chris Wilson > Cc: Daniel Vetter Yeah, I like. Queued for -next, thanks for the patch. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch