Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp470258imw; Wed, 13 Jul 2022 01:50:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1snOWYivOHvokGhvNVzlO0HNBx52dPMamitah6JMvn44+3nPxnYae45JrXTX7M1J7YzYE3v X-Received: by 2002:a17:907:6da4:b0:72b:7f56:63c with SMTP id sb36-20020a1709076da400b0072b7f56063cmr2357412ejc.6.1657702251317; Wed, 13 Jul 2022 01:50:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657702251; cv=none; d=google.com; s=arc-20160816; b=ykGfle+drXpSAh0fM2PEyvSpVPIfMQqe0BYnYAaNALZ+OKH/LL7paoSLB1rczl9t+3 wwR1JTldjTTqmJ+u2NYOrVQoEx64Y/j+Z/1EjcBd5nEKq0E6eFnQ5+6ubhhIJkPg7/ao 5l52mK9cZSe3SSy1LvMq7EEVg/zf0kvhSPtox6BUshftOMcxky+giGORwUg0PNcOf3nV BPDMwc38l860LQmxHQ9LuWfYRyAYSROOsfUMAYfg/+TYuDa534v8y5Lm8GI38Fd3jFEg qxVTwnn3VcWEnSBZSERFbev9cSQDk8F5JnVv2w1GNVf6M9NNFasy1mDHni0wrVuNUte7 9BtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=ds6WQQLj0B8dgUVmu21gv0yKsYlT98vmXdTod7aWOvg=; b=Vtc0z9MRE9jjRmpYbKRl2yuLFumWVoIIg7DrLipbxGnQq2/njrIAQMNRCgmS8lYcha cpqWmRktg36P3lGwya7AyeOAg6Oge6wWbkvK+Iv3jAi9EY5PKAqiL90RcN84RmxQzwqu qYjgYV46uXwVolr7CgUQGlwEMsPnu7Ai4cG+9j5Q1MUVJOAQX5uI042bvemOttLtJMHF 4Yvv1PQfup/lcANvRS5ZB7mr3XPkjYtvz6JU8L10VqK/24jLBPIy+JheZLDJOsTtAqGc 7q8naoC6MW5r6QaMWY0o7JDSPhVaeGUu/IO5AICAC0LPlA1w5zBN2PDVyXblg7tOMCpp cRkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=n05rtdWW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w21-20020a170906131500b006f8ee02afbbsi2987379ejb.513.2022.07.13.01.50.26; Wed, 13 Jul 2022 01:50:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=n05rtdWW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235099AbiGMIOV (ORCPT + 99 others); Wed, 13 Jul 2022 04:14:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235035AbiGMIMi (ORCPT ); Wed, 13 Jul 2022 04:12:38 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C61B8EA149 for ; Wed, 13 Jul 2022 01:12:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0DE46B81D5D for ; Wed, 13 Jul 2022 08:12:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17757C341D1; Wed, 13 Jul 2022 08:12:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657699952; bh=Y+j9h2/Gg05L5+/jOiZctvjKtqK2vTBsMQQXHDXjeyc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n05rtdWWv9LVuNm8ELboHpiSAnHTTxuuFoWOd7TJNVsltIVey4kiqY7aYJP0G0Irt iwanK7JOY+9tOq66ykvoHKyITQTlvO63Nvzw4Ydb6eZAhJPYQKaQ5W9LhuXYKp7o8+ KGLZbkvdYYHeXuGZAQ/N8lfaCd6H6gDKyaoYI40x10QdAmgRVcCyxP5gLr+E2Plojd D6G9g3n/N34EGAMZKSWQTrZNfh5ycSkyMUWV1imw1V5CTYERyDAxUk1ag2hIgdBmq0 W2bDtXznFKYUWgl4wNzgKmO7yGvlDp1f0fT7PyLz1QwvOoRemqpLF4tT/Q2c8PBRYJ jPlmWxltQ9PsA== Received: from mchehab by mail.kernel.org with local (Exim 4.95) (envelope-from ) id 1oBXTx-004ztU-Lv; Wed, 13 Jul 2022 09:12:29 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , Daniel Vetter , David Airlie , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 18/39] drm/i915: intel_pm.c: fix some ascii artwork at kernel-doc Date: Wed, 13 Jul 2022 09:12:06 +0100 Message-Id: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Preserving ascii artwork on kernel-docs is tricky, as it needs to respect both the Sphinx rules and be properly parsed by kernel-doc script. The Sphinx syntax require code-blocks, which is: :: followed by a blank line and indented lines. But kernel-doc only works fine if the first and the last line are indented with the same amount of spaces. Also, a "\" at the end means that the next line should be merged with the first one. Change the ascii artwork to be on code-blocks, starting all lines at the same characters and not ending with a backslash. Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v2 00/39] at: https://lore.kernel.org/all/cover.1657699522.git.mchehab@kernel.org/ drivers/gpu/drm/i915/intel_pm.c | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index f06babdb3a8c..d3393752b04b 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -684,18 +684,20 @@ static const struct intel_watermark_params i845_wm_info = { * FIFO is relatively small compared to the amount of data * fetched. * - * The FIFO level vs. time graph might look something like: + * The FIFO level vs. time graph might look something like:: * - * |\ |\ - * | \ | \ - * __---__---__ (- plane active, _ blanking) - * -> time + * ^ + * | |\ |\ ( ) + * | | \ | \ ( ) + * | __---__---__ (- plane active, _ blanking) + * +-------------------> time * - * or perhaps like this: + * or perhaps like this:: * - * |\|\ |\|\ - * __----__----__ (- plane active, _ blanking) - * -> time + * ^ + * | |\|\ |\|\ ( ) + * | __----__----__ (- plane active, _ blanking) + * +-------------------> time * * Returns: * The watermark in bytes @@ -731,13 +733,14 @@ static unsigned int intel_wm_method1(unsigned int pixel_rate, * FIFO is relatively large compared to the amount of data * fetched. * - * The FIFO level vs. time graph might look something like: + * The FIFO level vs. time graph might look something like:: * - * |\___ |\___ - * | \___ | \___ - * | \ | \ - * __ --__--__--__--__--__--__ (- plane active, _ blanking) - * -> time + * ^ + * | |\___ |\___ ( ) + * | | \___ | \___ ( ) + * | | \ | \ ( ) + * | __ --__--__--__--__--__--__ (- plane active, _ blanking) + * +---------------------------------> time * * Returns: * The watermark in bytes -- 2.36.1