Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2021435rdf; Mon, 6 Nov 2023 02:16:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGuy++u3bvOaHIgYkVxDFGa8B62T1mmYuZUMRXuv0CtHzHMkwELYfiVgxVoJG4IhUFqZh9 X-Received: by 2002:a05:6830:2703:b0:6bd:a47:7bb6 with SMTP id j3-20020a056830270300b006bd0a477bb6mr28522704otu.14.1699265765430; Mon, 06 Nov 2023 02:16:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699265765; cv=none; d=google.com; s=arc-20160816; b=YYBzmHOEinSLwRfzN4kDQdsk1xYQiilSwQx9QR6XkR1RbueIctaRWzHHYna92cBuxm rb03u+LKSv+rmtJKqpmkc5F8rI+oIEByOro8rCz64P7FCwDDhOvBMGY8bVyBuK3nMtvI XHt3pPczz2qXnh+8dTF9aPCqg+HxGFC9hcg/7qZD+TPgrGNROeYo7nN3T0y5zzcGOzjP Mqmy5Y+drWg4hffzJ1jiRRMF3uTCdzwYtJ9LLqCR7D6uUVcxSA/fEO82pjsKSYS2Mj0Z gMC51bx6BWHRoj/Wp+AQczBWcUOImxrWDCWSsV64s3iV+MSwgbWoDsrFpNzHW95XNigY +ZjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from:dkim-signature; bh=ATB8RJqErXbLvfv+OVgENQfwl0VgfpzoiPmN+vYQ/Yw=; fh=okKhPUsc706dTM92DaQKZHV+rgFgJa3cVTbB6CzIjh0=; b=djps4pJLpd9zDZ+uGGKGXlZiHSZ0c95CDSneCZL2rr8UFXnFmElYxrxFlv2YnwuLCv cVMhpvkMbU2uqJzaN2FI94WggUFTSGjzKd/HqcP+dSDOM32bqmHNpPbkuuPbjWvck/S7 bQ8RWHAykU+8EEw8UIA8io93rbEAYn84ssBM5P2Llv0nwSFXNdm0SgPoMPTJsCle3xRK nlfX5NIuABIgoxdLcnApwomC7ZpH3dKj91aqtV+YUed0X/1Sw8+uAnODtsz+ySwpBQIL oVRDUqAbmTyxRrBkNsFabWIktmIaoZ+mb8B7xmGAP9pXdO5LvuS3M7gzYsrtS8gCl+Bl SyvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QPWl+fsy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id b18-20020a056a000cd200b0069342aef90bsi7929626pfv.3.2023.11.06.02.16.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 02:16:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QPWl+fsy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 41214807C567; Mon, 6 Nov 2023 02:15:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230211AbjKFKPN (ORCPT + 99 others); Mon, 6 Nov 2023 05:15:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbjKFKPM (ORCPT ); Mon, 6 Nov 2023 05:15:12 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCE29A2; Mon, 6 Nov 2023 02:15:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699265709; x=1730801709; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=rl/CQQQAEsiExbTArsSNlwkvoXmROn7Y+a5SKI9y6cY=; b=QPWl+fsyOU8RRjOKMj0yuPyTfKP0EQqQuJtGm/C8nMcnpD/Wv4V0uQ2U ViQPKCoIjwKUDEp6F2XYvHT7CWmiTVH2MGWpdfV3KeEn+HJCjIZJNvDK9 +JBrSZpWwdLoHep3hsBWv3efPfwjsibTHjW/bVKcJ9pWbQkUHOtKDwu7Y aDymtxGfjBM7bKQ7tLZ7Y0EN5WWORkZIB9zI8SyZgFNS+F0ah0GT+DSs8 j3T2edK1900UINBAOtTSjv1hM8EkTNpfcI76sBAKr40OFBML4dctgrPxj XD/+OleAbf87j2j6YghVYFlydSkEn2oKD8n6yWGI2xZYw99kJ63aFk2CP A==; X-IronPort-AV: E=McAfee;i="6600,9927,10885"; a="393142060" X-IronPort-AV: E=Sophos;i="6.03,281,1694761200"; d="scan'208";a="393142060" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2023 02:15:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10885"; a="797260470" X-IronPort-AV: E=Sophos;i="6.03,281,1694761200"; d="scan'208";a="797260470" Received: from lpilolli-mobl.ger.corp.intel.com (HELO localhost) ([10.252.36.222]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2023 02:15:05 -0800 From: Jani Nikula To: Bagas Sanjaya , Randy Dunlap , Hunter Chasens , Linux Kernel Mailing List Cc: Lijo Lazar , Linux Documentation , Xinhui.Pan@amd.com, amd-gfx@lists.freedesktop.org, Linux DRI Development , alexander.deucher@amd.com, evan.quan@amd.com, christian.koenig@amd.com Subject: Re: [PATCH v1] drm: amd: Resolve Sphinx unexpected indentation warning In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20231105210044.70371-1-hunter.chasens18@ncf.edu> <665794d7-38e0-4e74-9af7-eca986792e44@infradead.org> Date: Mon, 06 Nov 2023 12:15:02 +0200 Message-ID: <875y2f193t.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 06 Nov 2023 02:15:27 -0800 (PST) On Mon, 06 Nov 2023, Bagas Sanjaya wrote: > On Sun, Nov 05, 2023 at 09:26:26PM -0800, Randy Dunlap wrote: >> >> >> On 11/5/23 21:15, Bagas Sanjaya wrote: >> > On Sun, Nov 05, 2023 at 04:00:44PM -0500, Hunter Chasens wrote: >> >> diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c >> >> index 517b9fb4624c..703fe2542258 100644 >> >> --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c >> >> +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c >> >> @@ -990,11 +990,14 @@ static ssize_t amdgpu_get_pp_features(struct device *dev, >> >> * the power state and the clock information for those levels. If deep sleep is >> >> * applied to a clock, the level will be denoted by a special level 'S:' >> >> * E.g., >> >> - * S: 19Mhz * >> >> - * 0: 615Mhz >> >> - * 1: 800Mhz >> >> - * 2: 888Mhz >> >> - * 3: 1000Mhz >> >> + * >> >> + * :: The literal block marker :: could be added at the end of the preceding paragraph, so it doesn't stand out so much. See [1]. BR, Jani. [1] https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#literal-blocks >> >> + * >> >> + * S: 19Mhz * >> >> + * 0: 615Mhz >> >> + * 1: 800Mhz >> >> + * 2: 888Mhz >> >> + * 3: 1000Mhz >> >> * >> >> * >> >> * To manually adjust these states, first select manual using >> > >> > LGTM, thanks! >> > >> > Fixes: 615585d09b33 ("Documentation/amdgpu: Modify pp_dpm_*clk details") >> > Reviewed-by: Bagas Sanjaya >> > >> >> but can it be done without being so obvious about using Sphinx (or is it ReST?) >> in source files? > > Yes, the comment is included in Documentation/gpu/amdgpu/thermal.rst, so reST > syntax applies there. -- Jani Nikula, Intel