From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AF76FC433F5 for ; Mon, 3 Oct 2022 21:18:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2461B10E4E7; Mon, 3 Oct 2022 21:18:37 +0000 (UTC) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9C66810E4DA; Mon, 3 Oct 2022 21:18:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664831913; x=1696367913; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=W5ktSIXhzy/XlJEAIhWRzO7M1dFIO9XfN3vvhR8jSVQ=; b=SJOHWES42dNC34NCSQ2sxSxmFcz4YVslU3ZYbBXDIMaYmptLIdUfEayN e+tQoaUJt7btw4KkLqGqamTpzUa6ThUYWD1yDhvN1taTfpYjW685HfyKu 3wtnc3/vPmJ2SeJNnTzxIKpE1aKyUlV+IBWBcWR1Pmb5TI/kDhFhyB9lx dX0QYgVY1H7sdWSISilzjvNYGwOEY1FXVDcogMlrMDBM4oE7TW+YBzJhn 8EsgP9u9IAx5CQwKKLYeFSi/46SU7sX/uSJS+qyQTVyVrNNgn6kk3j8Cq KPVrbVHqsh70SB8Y+9yeo8Fg0OVF8wH9BEk9Ziqo0xVqU880PM6ZNf8pE A==; X-IronPort-AV: E=McAfee;i="6500,9779,10489"; a="301482834" X-IronPort-AV: E=Sophos;i="5.93,366,1654585200"; d="scan'208";a="301482834" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2022 14:18:22 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10489"; a="618888983" X-IronPort-AV: E=Sophos;i="5.93,366,1654585200"; d="scan'208";a="618888983" Received: from kbalinsk-mobl1.ger.corp.intel.com (HELO intel.com) ([10.213.7.91]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2022 14:18:19 -0700 Date: Mon, 3 Oct 2022 23:18:16 +0200 From: Andi Shyti To: Badal Nilawar Message-ID: References: <20220927055020.3499420-1-badal.nilawar@intel.com> <20220927055020.3499420-6-badal.nilawar@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220927055020.3499420-6-badal.nilawar@intel.com> Subject: Re: [Intel-gfx] [PATCH 5/7] drm/i915/hwmon: Expose card reactive critical power X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-hwmon@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Rodrigo Vivi Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi Badal, [...] > diff --git a/Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon b/Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon > index 7525db243d74..f9d6d3b08bba 100644 > --- a/Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon > +++ b/Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon > @@ -26,6 +26,32 @@ Description: RO. Card default power limit (default TDP setting). > > Only supported for particular Intel i915 graphics platforms. > > +What: /sys/devices/.../hwmon/hwmon/power1_crit > +Date: February 2023 > +KernelVersion: 6.2 > +Contact: dri-devel@lists.freedesktop.org > +Description: RW. Card reactive critical (I1) power limit in microwatts. > + > + Card reactive critical (I1) power limit in microwatts is exposed > + for client products. The power controller will throttle the > + operating frequency if the power averaged over a window exceeds > + this limit. > + > + Only supported for particular Intel i915 graphics platforms. > + > +What: /sys/devices/.../hwmon/hwmon/curr1_crit > +Date: February 2023 > +KernelVersion: 6.2 > +Contact: dri-devel@lists.freedesktop.org same question here, why dri-devel and not intel-gfx? Andi > +Description: RW. Card reactive critical (I1) power limit in milliamperes. > + > + Card reactive critical (I1) power limit in milliamperes is > + exposed for server products. The power controller will throttle > + the operating frequency if the power averaged over a window > + exceeds this limit. > + > + Only supported for particular Intel i915 graphics platforms. > + > What: /sys/devices/.../hwmon/hwmon/energy1_input > Date: February 2023 > KernelVersion: 6.2