From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BCF71606A320 for ; Mon, 30 Nov 2026 21:05:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=T9/FgpvB Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7F3F410E2BA; Mon, 30 Nov 2026 21:05:05 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8A48710E2BA for ; Mon, 30 Nov 2026 21:04:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796072699; x=1827608699; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=Iy0M4dqSyVZ0osoRPxLd6slHVtEstmFSm38COgQ4SU0=; b=T9/FgpvBo0U5jDsSjPO+OddDxnrhLoDWQQbxI/dSc+HT+gTyUrYfr5kF LktkM9/cXTDwO2BM5aWcV6MF+GzNUuYHKOBU2lz+3gHDPDhW+36G0jJPa U4tsW97wfvofalx5YkKdqpJSyO2BaYyxOTEdnkWgUfrmOt3i79HTtLyk9 DLMiZCYBmAdIoCTCTwyAfXnWtgr+ySPNbAZz6Mqr356JyJhkq6flzZGq4 8OAPj44NoXLK22WXZuEMfYtQ3qI0qwcTiCGZ1Es33iqhX9uNnIOkRJaOc AmBwt0Eu+JIRbaYgg2pP45uTM7CuigNr7ZZIFvenLLvwytr/OOl/EZpCe g==; X-CSE-ConnectionGUID: fkCYXRmRR1SiSFI3rtmSaQ== X-CSE-MsgGUID: 8c4OHzAoTPKVVBehPZXS/w== X-IronPort-AV: E=McAfee;i="6800,10657,11982"; a="4987777" X-IronPort-AV: E=Sophos;i="6.27,243,1787036400"; d="scan'208";a="4987777" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 13:04:58 -0800 X-CSE-ConnectionGUID: pvgUnLpHQcSwnS1axIrD7Q== X-CSE-MsgGUID: PT2drQsNQjimWumpUZEQtQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,243,1787036400"; d="scan'208";a="12933065" Received: from orsmsx902.amr.corp.intel.com ([10.22.229.24]) by orviesa003.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 13:04:59 -0800 Received: from ORSMSX902.amr.corp.intel.com (10.22.229.24) by ORSMSX902.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Mon, 30 Nov 2026 13:04:57 -0800 Received: from ORSEDG901.ED.cps.intel.com (10.7.248.11) by ORSMSX902.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57 via Frontend Transport; Mon, 30 Nov 2026 13:04:57 -0800 Received: from CY3PR05CU001.outbound.protection.outlook.com (40.93.201.24) by edgegateway.intel.com (134.134.137.111) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Mon, 30 Nov 2026 13:04:57 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NhxVwxfcgeVFAEaNm4Kl6wgVXAlDDS5IK2XmH3nLvf95k0HzM2ExRWTE9AwL2wdepwKI9F61+6NoaWklczlSZcoGV0f0QLq95+3yDt81N+fm3tF3MHDoKSKXWtW4imM96bkOGKUsY18p7OnuvZXD4fGX2h04aW9HftuievNR5OWL8zUIpP6poVJcK+CdHJwF+HgnhHf7NASa4tIah8Bm+bG65pU52xOUYFDnzYFkF+oGIVQTXGk+oP8TvfNKw1eCQaZlYutauH4SUR85qR+i5vkvuDQOl9yb5ogPHprPvC+3ybO+lFM9epEnzpejrDzgohfPtXYFFNc+pCMjaB8cuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Iy0M4dqSyVZ0osoRPxLd6slHVtEstmFSm38COgQ4SU0=; b=m00Po+U1KJF+i8b53JGf4FzrXQHhwt/HfSiZMsp+1xIlsjXCnuekmT3ne3k0RRDoWSx2ejBQEwj7GyRsQ1jeApmRbIFIX0tNz4lPpyYXUjuze1CN9BocJXQ9DSvA+qYj33gV0WAHO3zvEJyGakM20Stuy0Z0cK2vnorFp3UPba1PFoT6aCfGxMnTOWxM2w62LvdIOSeJ592VPF6Utg2dIjHBP8VVnmnL9aY6uMKXePgbPJ8ydzMiVnWnYhJzHXj3z/rSswRAn5r2X9PeBjIiYz72vUtSOjB6JJbNdj7eoxWqP/dI65uoTVMYDGutcAxddY8YYZalpq2uuCUeavP3iQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS7PR11MB5990.namprd11.prod.outlook.com (2603:10b6:8:71::5) by PH3PPF5A636EDE4.namprd11.prod.outlook.com (2603:10b6:518:1::d21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.12; Mon, 30 Nov 2026 21:04:54 +0000 Received: from DS7PR11MB5990.namprd11.prod.outlook.com ([fe80::133c:5eed:3aec:b899]) by DS7PR11MB5990.namprd11.prod.outlook.com ([fe80::133c:5eed:3aec:b899%3]) with mapi id 15.21.0662.007; Mon, 30 Nov 2026 21:04:54 +0000 Date: Mon, 30 Nov 2026 16:04:51 -0500 From: Rodrigo Vivi To: Karthik Poosa CC: , , , , , , , , Subject: Re: [PATCH v6 10/10] drm/xe/hwmon: Add kernel-doc for fan control Message-ID: References: <20261130185050.36979-1-karthik.poosa@intel.com> <20261130185050.36979-11-karthik.poosa@intel.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261130185050.36979-11-karthik.poosa@intel.com> X-ClientProxiedBy: SJ0PR03CA0020.namprd03.prod.outlook.com (2603:10b6:a03:33a::25) To DS7PR11MB5990.namprd11.prod.outlook.com (2603:10b6:8:71::5) X-Archived-By: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS7PR11MB5990:EE_|PH3PPF5A636EDE4:EE_ X-MS-Office365-Filtering-Correlation-Id: 55b029ea-eb60-4304-99d7-08df4f259521 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|1800799024|376014|23010399003|10067099003|56012099006|5023799004|11063799006|261021121427099003|261026140227099003|261021123027099003|261009223027099003|261026121527099003|261028144727099003|261102123227099003|261022105027099003|261022075727099003|22082099003|18002099003|4143699003|6133799003|3023799007; X-Microsoft-Antispam-Message-Info: AsX4bfHyN921eetOY6iOQAIN4ObqwKrxBSU4EAKeUqg0pEKqQtyS0qI92xYqazB4D4h0Swr8RtRGgkuk/j/9pq3l/VjtJbAW3OfUVBV+Gql9gmhml2W89CMPvoEhl2poYq6bDXbQ3MqD7RbiqFy5Ac4jgAWQ0KWYRZE65qH7t5g/A5Dg0zvjztGRoA2a9FA+Sa7oWgn7IfMpPuIKoZzXFB6auXaM3w4rXLgOn0Mr+C9AF8LF80n/mTAtF4gV7JD321PU7a3BNAromRMlTixflPHki8Eg5FW3ppnHWJ+IbKFtnsip3n30wEjRDdN02dBNB04yxDJ/HYTtgXagsAKFf1T98tiJS8JzYkAwdlheBKANUZniEsfb7zok6ncA0KJQ+OFqxtQx+BEAzNhBnZkhRrOInIheQmL7rLhwVI6NUoUQEbtQasJUFJVKtjXx6hNGUFrcFnEQOyRmRqNoyCNpgbCD81iJ7iZkHYEqjENrIYtSPGPrr+Ud+N8TzqBLd26WAZ8OtSNBFT/wgde3sK8h27/hoYpzGAT6sDAjeG/9hmNCfBKRTQ9TfKQiN2C18r49cY+axcfFBCLKpcy/6dYwFmetd28XlhbGuQqtXhFh7wsPowebkZ3FYZ6HD+vO3Fu6oN4vrM4cX/pKt5zPRqW5hY2J5J+QIcapBAQLq/ogkA4= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS7PR11MB5990.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(23010399003)(10067099003)(56012099006)(5023799004)(11063799006)(261021121427099003)(261026140227099003)(261021123027099003)(261009223027099003)(261026121527099003)(261028144727099003)(261102123227099003)(261022105027099003)(261022075727099003)(22082099003)(18002099003)(4143699003)(6133799003)(3023799007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?qjqrOCoDaTy7o7bcBmvDiwJDzIPoct/OUG5g6dykEg456nGjfPnDlAVoiqMU?= =?us-ascii?Q?p069An9QhZP4tIOmn9Pnuedj6JkIkh719rfquP5MkNVSPxHSTo7Q6ndXJTI/?= =?us-ascii?Q?Q89C8QwMdI3T3eZq+CSfaUXKJ0L2ieMaJNS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8mkBNcmXmCr5EKj1LybFMMUeblGwwiF0r1BFd2hiXYJWIqCdDFrIrqivRmbWqCP4rRWMgS8TBl0Q0y5YyN70+SkLf+qJ3hgcBlsE+D+6Mr3U2VhO7YbBuKvEGjomcg+WVPD+qR5TPVcRtvZ2GgGGPiDT7Kvs3KlPbwx7pE5NfYrBKAoBYzy5TZmK6z+L2y+R6rfonOyqw== X-MS-Exchange-CrossTenant-Network-Message-Id: 55b029ea-eb60-4304-99d7-08df4f259521 X-MS-Exchange-CrossTenant-AuthSource: DS7PR11MB5990.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2026 21:04:54.6875 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: HIVVDHR4DKkUYWR+Wu1BEAfw5FU5/CSSnLTocvc2dEKRQL/MSzCRLdnXZBXiwM3FCZsMwGSl49wlXATdlp3Glg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH3PPF5A636EDE4 X-OriginatorOrg: intel.com X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Intel-xe" X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Tue, Dec 01, 2026 at 12:20:50AM +0530, Karthik Poosa wrote: > Add kernel-doc for xe hwmon fan control and describe the fan control > model built around firmware stock tables and driver-managed user tables. > > Document the exposed sysfs files for fan speed, maximum speed, pwm > control, pwm mode selection, and per-point fan curve temperature/PWM > programming. > > This makes the hwmon fan control userspace interface easier to discover > and understand. > > Signed-off-by: Karthik Poosa Reviewed-by: Rodrigo Vivi > --- > > v2: > - Clarify the registration-time visibility requirements. > - Document how late binding affects existing fan attributes. > > v3: > - Document that curve files need a stock table and that tables > programmed by pwmN_enable modes 0 and 1 follow the curve rules. > - Document that a failed stock table refresh after late binding keeps > the previous table. > - Document -ENODATA reads when the fan control mode is not > established. > - Document that a failed completing curve write drops all staged > points. (Soham) > > drivers/gpu/drm/xe/xe_hwmon.c | 70 +++++++++++++++++++++++++++++++++++ > 1 file changed, 70 insertions(+) > > diff --git a/drivers/gpu/drm/xe/xe_hwmon.c b/drivers/gpu/drm/xe/xe_hwmon.c > index 4ee51cfc9283..70a4e4941390 100644 > --- a/drivers/gpu/drm/xe/xe_hwmon.c > +++ b/drivers/gpu/drm/xe/xe_hwmon.c > @@ -140,6 +140,76 @@ struct xe_hwmon_energy_info { > long accum_energy; > }; > > +/** > + * DOC: Xe fan control > + * > + * Xe fan control is exposed through the hwmon pwm and fan interfaces when the > + * platform advertises PCODE-backed fan management support. > + * > + * Attribute visibility is determined during hwmon registration. ``fanN_max`` > + * requires maximum fan speed data, while ``pwmN``, ``pwmN_enable`` and the > + * ``pwmN_auto_pointM_*`` curve files require a readable stock fan table. Late > + * binding refreshes cached data for existing fans but does not create > + * attributes that were hidden at registration. The stock table can change with > + * the late bound firmware; if a complete table cannot be read, the previous one > + * is kept. > + * > + * The implementation tracks two fan tables per fan: > + * > + * - A stock table read from firmware through PCODE. > + * - A user table cached in the driver and programmed back through PCODE. > + * > + * The pwmN_enable sysfs value selects how those tables are used: > + * > + * - 0 (``XE_FAN_PWM_FULL_SPEED``) programs the user table at 100 percent duty > + * cycle as a full-speed override. The cached user curve is kept. > + * - 1 (``XE_FAN_PWM_MANUAL_USER_TABLE``) enables the user table for manual > + * control. Without a cached user curve, it starts from the stock table. > + * - 2 (``XE_FAN_PWM_AUTO_STOCK_TABLE``) restores automatic control using the > + * stock firmware table. The cached user curve is kept for a later switch to > + * mode 1. > + * > + * Any table programmed by modes 0 and 1 must meet the curve rules below; > + * otherwise the mode switch fails with -EINVAL. > + * > + * The fan-control sysfs files are: > + * > + * - ``fanN_input`` reports the measured fan speed in RPM. > + * - ``fanN_max`` reports the maximum supported fan speed in RPM. > + * - ``pwmN`` reads or sets the manual PWM duty cycle in the hwmon 0..255 > + * range. > + * - ``pwmN_enable`` selects the mode described above. > + * - ``pwmN_auto_pointM_temp`` reports the temperature of point ``M`` of the > + * stock table in mode 2 or of the user table otherwise, in millidegrees > + * Celsius. Writes stage the user-table point. > + * - ``pwmN_auto_pointM_pwm`` reports the PWM value of point ``M`` of the same > + * table in the hwmon 0..255 range. Writes stage the user-table point. > + * > + * Writes to ``pwmN``, ``pwmN_auto_pointM_temp`` and ``pwmN_auto_pointM_pwm`` > + * are accepted only while ``pwmN_enable`` is 1; otherwise they fail with > + * -EINVAL. Firmware stores duty cycle in percent, so PWM values read back > + * rounded to the nearest percent step. Nonzero curve PWM writes are kept at > + * least 1 percent so rounding cannot turn them into an end marker. > + * > + * Writes to ``pwmN_auto_pointM_temp`` and ``pwmN_auto_pointM_pwm`` are staged > + * in the driver, so intermediate writes never reach firmware as a partial > + * curve. The staged curve is committed once points 1..K all have both a > + * temperature and a PWM value and either point K+1 is set to (0, 0) or K is > + * the last supported point. The (0, 0) end marker is not part of the curve. > + * A curve must have at least two points, temperature must increase and PWM > + * must not decrease from one point to the next; otherwise the completing write > + * fails with -EINVAL. A completing write that fails drops all staged points. > + * > + * Writes to ``pwmN`` replace the user table with a two-point table at a > + * constant duty cycle. > + * > + * If a user-table write is not accepted by firmware, the fan falls back to > + * mode 2 and the previously cached user curve is kept. If that fallback also > + * fails, the fan control mode is not established and reads of ``pwmN``, > + * ``pwmN_enable`` and ``pwmN_auto_pointM_*`` fail with -ENODATA until a mode > + * is written again. > + */ > + > /** > * enum xe_fan_pwm_enable_mode - fan PWM enable modes > */ > -- > 2.34.1 >