Message ID | 20231107162830.36856-1-hunter.chasens18@ncf.edu |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:aa0b:0:b0:403:3b70:6f57 with SMTP id k11csp525369vqo; Tue, 7 Nov 2023 13:29:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IHs6PlWPUezujuAszukVuKx75KaqlYMEXuVWu/VKAksI2A0lQXDmG11hOAPnUBw82+aOM75 X-Received: by 2002:a05:6358:892:b0:168:df94:3376 with SMTP id m18-20020a056358089200b00168df943376mr39603953rwj.7.1699392547772; Tue, 07 Nov 2023 13:29:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699392547; cv=none; d=google.com; s=arc-20160816; b=QeSIqbB6bFcHVZ3QZ2lMs48ibciohG6FKKOe/uy26sW7VVxxq0eBB2jCL5rPBVq/Qy c4JclGVJxqf4W1F0M9njBtBjymDX6SFJQ8SGE2XNMHGZBbrg5oCcoiH0pg9uhH0KUeh2 EUMpNJ8q4sV4/sUm6Zw0Nq2BquHeoJ0XfXJGziYGdTyYnIEZhUL0sDsv2bUhdlQXKoAL X/BU5grHd7QzjJd22lhlag2sPM+BPdHFG0kkRj0JKfW2+gqFWbuCAWbXkb5KTnawl1fN OlXY+oS+XOwso3WtJ2I6UxvEgy5j2bSPfhcT62+YOL8cYO169D4QYVIgSFAmHnaamZsI cEPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=5GrfKC2IvsZBEgQFQYe2RhJApLNUugeSPWTjf04uUac=; fh=X2sqSbyIAFX0MYDo0tNLj189K8qB/9GZZ6H5qT2ZzM4=; b=BS+njkYjjNyxwk1hURj+9lHDUTl9RmOUI9nhWlNXfP8ON27pEJAOT46Rf4u9LEuagZ aANhkBedCMjVX3HGJzgLN0HgUsYSr1GLmB7GPFMmxBLK8h1tEG2NalMeYyqLAXZrbj4O WIzXyZ5zFnJuQMvNLAvBeSeVzHFv0E9c06c4ytWlIHtn6u4uVRc/p5tEMqyA+IAa29l8 v0zsWC4dpbBUp2z8ubfE5HhW+lIsgRjYcaRDXdK2Tz32ipQOJiWli5IWSHfqWy707ua5 MBEUVtF6LcV380YCiqHZPVDiCgkf+gkVW+nrmLJ77qIdoG536viw2LRKj1/gFatuaLHa 41ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ncf.edu header.s=google header.b=SZ75Mow2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ncf.edu Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id cn12-20020a056a020a8c00b00585a5433e55si3073778pgb.143.2023.11.07.13.29.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 13:29:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@ncf.edu header.s=google header.b=SZ75Mow2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ncf.edu Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 6A2008135E14; Tue, 7 Nov 2023 13:29:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344003AbjKGV2o (ORCPT <rfc822;lhua1029@gmail.com> + 32 others); Tue, 7 Nov 2023 16:28:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235295AbjKGV2n (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 7 Nov 2023 16:28:43 -0500 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1807FD7A for <linux-kernel@vger.kernel.org>; Tue, 7 Nov 2023 13:28:41 -0800 (PST) Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-d9abc069c8bso5568556276.3 for <linux-kernel@vger.kernel.org>; Tue, 07 Nov 2023 13:28:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ncf.edu; s=google; t=1699392520; x=1699997320; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=5GrfKC2IvsZBEgQFQYe2RhJApLNUugeSPWTjf04uUac=; b=SZ75Mow2RJnjfqUkUo9Ts/5nTwSU6WLwQRugmCLkr2Dik0rDWkSLg+zY627HR/FGwb JolNPghyYsQsAI8uVDP+ygzbZI9x3wP+M9hEQvwXg6kef/SSNP7sHBV0ZJ+znZ/Mlda8 j2YAc9Sk6VHWOUGvs+UrVrWg3L/VGyFQFST0s4OA5UMoAWzBQDT4735cLlr14mlM45xH ISE3qBrFDADzc8G3fui9Z5lR1FTUsaYGLtlJNNXXUrgwIxBvIOqTUYvUf02lBOP/Z0IT t5lkx9zVe+dYweRbN6YaDZMaN7AdyOlVUeRHucnWtX8eBiw00lZFIktcwh/Yzm2sOI6Y hEKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699392520; x=1699997320; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5GrfKC2IvsZBEgQFQYe2RhJApLNUugeSPWTjf04uUac=; b=u2ezOEOmUs3JEv8nfWTAuWXXgml6EXkTyl3vMCHzJGCjNn3ciXieQsT9CubecAgvxZ OAMu8lK2Weru/JergTx//AvGKDkvV3wunu0I+srPumfV/75FLvPPlgz0Foz8/BAgGuaz tt2q5l1+0h37ocA3xS2Fkpm/3glOsi/0HvNDa33UaK1WxbLQ6NA2wOiWYVRSiba85lPn bW6taUBh2rSNO5vOBcjdEbZP3BK8z7HAN3tzmIFyza7s03iTYTEOIPFE0sjLXXpcg0OW 94c2zsE3YV+UW4HPTn9HFrplG39BuaJbTU3u3GofAmzI6Krz+ma1UJzTxFLtPr1nMi81 7i+g== X-Gm-Message-State: AOJu0YxvU0Sd7h4oQeMQHuC6b4jzsvA/Q9YluwivDV5kN27PR+DyyDS/ Jyb65qAID5/+n8HahFdAgy0kj/O+WvUwfRFcljguni/zTlop4D7dPQflrIQ3S5axjFHBKuayseg qpMsf0hSxsBmKEvtFt5IPXji/C67xVuOTAUuf4UfhopjpHgfxmeu0jg7xaZrRLG5aqFbzJNlxi0 b7De6TLcxjjUHvleM= X-Received: by 2002:a25:97c8:0:b0:d9a:6b46:f49d with SMTP id j8-20020a2597c8000000b00d9a6b46f49dmr9749055ybo.59.1699392519826; Tue, 07 Nov 2023 13:28:39 -0800 (PST) Received: from Lux.hsd1.fl.comcast.net ([2601:580:8201:d0::4174]) by smtp.gmail.com with ESMTPSA id j186-20020a25d2c3000000b00da06575fbc8sm5657649ybg.2.2023.11.07.13.28.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 13:28:39 -0800 (PST) From: Hunter Chasens <hunter.chasens18@ncf.edu> To: linux-kernel@vger.kernel.org Cc: linux-doc@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, daniel@ffwll.ch, airlied@gmail.com, Xinhui.Pan@amd.com, christian.koenig@amd.com, alexander.deucher@amd.com, Hunter Chasens <hunter.chasens18@ncf.edu> Subject: [PATCH v3] drm: amd: Resolve Sphinx unexpected indentation warning Date: Tue, 7 Nov 2023 11:28:30 -0500 Message-ID: <20231107162830.36856-1-hunter.chasens18@ncf.edu> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 07 Nov 2023 13:29:05 -0800 (PST) X-Spam-Status: No, score=0.2 required=5.0 tests=DATE_IN_PAST_03_06,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781847193313766050 X-GMAIL-MSGID: 1781942239836228959 |
Series |
[v3] drm: amd: Resolve Sphinx unexpected indentation warning
|
|
Commit Message
Hunter Chasens
Nov. 7, 2023, 4:28 p.m. UTC
Resolves Sphinx unexpected indentation warning when compiling
documentation (e.g. `make htmldocs`). Replaces tabs with spaces and adds
a literal block to keep vertical formatting of the
example power state list.
Signed-off-by: Hunter Chasens <hunter.chasens18@ncf.edu>
---
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Comments
On Tue, Nov 07, 2023 at 11:28:30AM -0500, Hunter Chasens wrote: > Resolves Sphinx unexpected indentation warning when compiling > documentation (e.g. `make htmldocs`). Replaces tabs with spaces and adds > a literal block to keep vertical formatting of the > example power state list. > > Signed-off-by: Hunter Chasens <hunter.chasens18@ncf.edu> Nit: Whenever a reviewer has offered a Reviewed-by: or Acked-by: trailer, you should include it in the next reroll unless there is substantial changes in the reroll. > --- > drivers/gpu/drm/amd/pm/amdgpu_pm.c | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-) > > diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c > index 517b9fb4624c..576202bf64f3 100644 > --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c > +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c > @@ -989,12 +989,13 @@ static ssize_t amdgpu_get_pp_features(struct device *dev, > * Reading back the files will show you the available power levels within > * 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 > + * E.g., :: > + * > + * S: 19Mhz * > + * 0: 615Mhz > + * 1: 800Mhz > + * 2: 888Mhz > + * 3: 1000Mhz > * > * > * To manually adjust these states, first select manual using Anyway, LGTM, thanks! Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
On 11/7/2023 9:58 PM, Hunter Chasens wrote: > Resolves Sphinx unexpected indentation warning when compiling > documentation (e.g. `make htmldocs`). Replaces tabs with spaces and adds > a literal block to keep vertical formatting of the > example power state list. > > Signed-off-by: Hunter Chasens <hunter.chasens18@ncf.edu> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Thanks, Lijo > --- > drivers/gpu/drm/amd/pm/amdgpu_pm.c | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-) > > diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c > index 517b9fb4624c..576202bf64f3 100644 > --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c > +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c > @@ -989,12 +989,13 @@ static ssize_t amdgpu_get_pp_features(struct device *dev, > * Reading back the files will show you the available power levels within > * 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 > + * E.g., :: > + * > + * S: 19Mhz * > + * 0: 615Mhz > + * 1: 800Mhz > + * 2: 888Mhz > + * 3: 1000Mhz > * > * > * To manually adjust these states, first select manual using
Applied. Thanks! On Tue, Nov 7, 2023 at 11:17 PM Lazar, Lijo <lijo.lazar@amd.com> wrote: > > > > On 11/7/2023 9:58 PM, Hunter Chasens wrote: > > Resolves Sphinx unexpected indentation warning when compiling > > documentation (e.g. `make htmldocs`). Replaces tabs with spaces and adds > > a literal block to keep vertical formatting of the > > example power state list. > > > > Signed-off-by: Hunter Chasens <hunter.chasens18@ncf.edu> > > Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> > > Thanks, > Lijo > > > --- > > drivers/gpu/drm/amd/pm/amdgpu_pm.c | 13 +++++++------ > > 1 file changed, 7 insertions(+), 6 deletions(-) > > > > diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c > > index 517b9fb4624c..576202bf64f3 100644 > > --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c > > +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c > > @@ -989,12 +989,13 @@ static ssize_t amdgpu_get_pp_features(struct device *dev, > > * Reading back the files will show you the available power levels within > > * 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 > > + * E.g., :: > > + * > > + * S: 19Mhz * > > + * 0: 615Mhz > > + * 1: 800Mhz > > + * 2: 888Mhz > > + * 3: 1000Mhz > > * > > * > > * To manually adjust these states, first select manual using
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c index 517b9fb4624c..576202bf64f3 100644 --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c @@ -989,12 +989,13 @@ static ssize_t amdgpu_get_pp_features(struct device *dev, * Reading back the files will show you the available power levels within * 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 + * E.g., :: + * + * S: 19Mhz * + * 0: 615Mhz + * 1: 800Mhz + * 2: 888Mhz + * 3: 1000Mhz * * * To manually adjust these states, first select manual using