Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp715477pxb; Thu, 23 Sep 2021 09:10:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkOREsfkliWUxS/BXoIt68chJY6HaUcrNk2TXJ4gxIOMuhsEX6GV7uwJR+pgCVZdg2epVZ X-Received: by 2002:a50:8246:: with SMTP id 64mr6298658edf.373.1632413447925; Thu, 23 Sep 2021 09:10:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632413447; cv=none; d=google.com; s=arc-20160816; b=R+w/y5mejs2EtduI1lS17RahEE08jwTjc12g6N58AO8n7bLod+PZ4kEzFljx68t0CM KB9R7y6GjebbyTldTRJ7cOtxKNf/9Xu1odmVaRGHRlmKYibQGILCvkqB8ERsqjq/DQot RH+3ZYX568KhvrUlsFXkzF/u+bbD+iBvpes4HR6McVS5RJrYJu9xs2dfYwHqXGWo49Jj PvsnXRCDb6G1oN64zDWaikoeU1x/EXm+qWEpkuhXi1Y+GB3tiP7czimGeS/U1XyXRLe5 axTsSLsW4mB2XyXn+geZKuOkCPiIk2qvkqncEVP8k0jqExDspdyibQuTplF6Wc0eY7CM xw2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:mime-version:references:subject:cc:to:from :dkim-signature:dkim-signature:message-id; bh=AUasnRadxctw2sB5UrBju7dW3LJOwPsCj4pLP6/jnbE=; b=WrpDznaERrf2Y/JpnH1+F5Pv9PRCxBv6ddOsgfNQJu+QyDUCGUI/PyKUhFLmDL6TjH DMHgQkgOJCG2qVFxlzGCUZVONmy6fbPggqfFpEZwfsA1M78x0Tqazgl8vLNMPuVAHuc9 Imd2PxswhDodq2B1zfgNfvOX35DAJ2Z2HN9ixdHKQrN01YwhZ6ODJJx345SuN6173OsP vCWpegWwLbToL1NqSTdcpLbTS0c91DjlK5Lr6SHmDjG4Uf0gc4fzmhZYdVDEjqikckSA M+kweHdHF/lGlmbGw8Ew2uwunrD9oUP8AICn0unucoy9hblmpbMcsxcbi2inDzDFKsQK E7vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=GiGpkkpy; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y2si6409983ejr.90.2021.09.23.09.10.19; Thu, 23 Sep 2021 09:10:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=GiGpkkpy; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242462AbhIWQGb (ORCPT + 99 others); Thu, 23 Sep 2021 12:06:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242413AbhIWQGE (ORCPT ); Thu, 23 Sep 2021 12:06:04 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 400DEC061574 for ; Thu, 23 Sep 2021 09:04:32 -0700 (PDT) Message-ID: <20210923153339.808080761@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1632413071; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=AUasnRadxctw2sB5UrBju7dW3LJOwPsCj4pLP6/jnbE=; b=GiGpkkpyuxUHUsK3t4jX5+svnLLUcPeRcfJElJVpTOVFZvwjhYsOn9LeVwFFyIiYQtUijQ FWqnBjyfobezE+Gz6YQFv3Z1yNDUX00ef7kIKE17GIsSoEGEW6oBWw3Cd/WbSlFKfQcO2k /PGpF4h2me5alkLmoTU4qffDK+flKORkQMYaqFWXSnnsaHAiAtdv9w5hC+4ErLzB35mpn+ AtTyZLUp8bPv5CWccaeZG9zYYgonc58w10wyrKpd3HExr/9CFAunNncXUv0z+eEso+GWWv L2JTLvj6HhKUIFiawEiTn8Ik0f7tWMwNI93JEzyH/Qa95JMYQ2uG8uakW+8gzg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1632413071; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=AUasnRadxctw2sB5UrBju7dW3LJOwPsCj4pLP6/jnbE=; b=HuivklyujFCi3vNFmJv/0xTD3In63M+RxbhmgKfRTaqrZkLudpz2XMLWK5lIDkxbKF9tN1 z5QFv7P3szOOpJDw== From: Thomas Gleixner To: LKML Cc: Peter Zijlstra , David Airlie , intel-gfx@lists.freedesktop.org, Joonas Lahtinen , Jani Nikula , dri-devel@lists.freedesktop.org, Daniel Vetter , Rodrigo Vivi Subject: [patch 07/11] drm/i915/pmu: Use hrtimer_forward_now() References: <20210923153311.225307347@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Date: Thu, 23 Sep 2021 18:04:30 +0200 (CEST) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hrtimer_forward() is about to be removed from the public interfaces. Replace it with hrtimer_forward_now() which provides the same functionality. Signed-off-by: Thomas Gleixner Cc: David Airlie Cc: intel-gfx@lists.freedesktop.org Cc: Joonas Lahtinen Cc: Jani Nikula Cc: dri-devel@lists.freedesktop.org Cc: Daniel Vetter Cc: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_pmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/i915/i915_pmu.c +++ b/drivers/gpu/drm/i915/i915_pmu.c @@ -439,7 +439,7 @@ static enum hrtimer_restart i915_sample( engines_sample(gt, period_ns); frequency_sample(gt, period_ns); - hrtimer_forward(hrtimer, now, ns_to_ktime(PERIOD)); + hrtimer_forward_now(hrtimer, ns_to_ktime(PERIOD)); return HRTIMER_RESTART; }