From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 1/2] drm/i915: Align the hangcheck wakeup to the nearest second Date: Mon, 8 Oct 2012 18:46:07 +0200 Message-ID: <20121008164607.GC6116@phenom.ffwll.local> References: <1349445188-16253-1-git-send-email-chris@chris-wilson.co.uk> <1349452977-5878-1-git-send-email-chris@chris-wilson.co.uk> <878vbhns9d.fsf@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-we0-f177.google.com (mail-we0-f177.google.com [74.125.82.177]) by gabe.freedesktop.org (Postfix) with ESMTP id B11A5A0282 for ; Mon, 8 Oct 2012 09:45:09 -0700 (PDT) Received: by mail-we0-f177.google.com with SMTP id u50so2799822wey.36 for ; Mon, 08 Oct 2012 09:45:09 -0700 (PDT) Content-Disposition: inline In-Reply-To: <878vbhns9d.fsf@intel.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: Jani Nikula Cc: intel-gfx@lists.freedesktop.org, Arjan van de Ven List-Id: intel-gfx@lists.freedesktop.org On Mon, Oct 08, 2012 at 01:59:58PM +0300, Jani Nikula wrote: > On Fri, 05 Oct 2012, Chris Wilson wrote: > > round_jiffies() aligns the wakeup time to the nearest second in order to > > batch wakeups and reduce system load, which is useful for unimportant > > coarse timers like our hangcheck. > > > > v2: round_jiffies_relative() returns the relative jiffie value, whereas > > we need the absolute value for the timer. > > On the series, > > Reviewed-by: Jani Nikula Both patches merged to dinq, thanks. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch