Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp4702537rwn; Sun, 11 Sep 2022 19:26:33 -0700 (PDT) X-Google-Smtp-Source: AA6agR7ISr1+mxSWLwFlu1BHzg+3VDnRXHmQFk3mQiJJZzTy9R4vcRj422LVeYE7GyN4rqgEg7Lo X-Received: by 2002:a63:778d:0:b0:438:5c5b:f2ac with SMTP id s135-20020a63778d000000b004385c5bf2acmr15331878pgc.401.1662949593182; Sun, 11 Sep 2022 19:26:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662949593; cv=none; d=google.com; s=arc-20160816; b=G7VUutqs2OqR/IfjgBQ+0iR/yHRXhYur9TlcAb4YFymDyJ5ztT5N+UyvZYw2ga7UIo UGZXsYRHAMDOgXJMobuOHywplWYFwoekpwP5Re8IjDbWOoZbnr7gJMQB90rhfnMPwVnU iWgqxRD5yFslt4xlu2Xg0uMJ7ZqeKowYnCqMJ0UUUbbv6xTwwEigGcSasObECRnn/42b mEpqEPAu1dkjwC7PqA0GI9zFSK3iOQEXaw8e4Ok8Mcva/vifD8+JsAaae5vIafiKBy01 VIotDcChbzKPRDITTh7iur4eIxCRbbjMXNxzzEQ079tBAOF6yl/bZdO2nBK1gJui8urE Mhpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tMSYwYzwATaajZpQVyKFOzRDUt3CXQwpA1KbjcX1GCQ=; b=gP4ObrMiW15ARv9Bh8Y0sP4N8H8cPebpbVTD3a3fpv0RPqU0neJy3UzvjQXhYrValv x7Ry7cH9ZkPT3jipUSY/qoeepfiXfnmClRVJKH24bdAXJzZVjJ5wvoZVosK9hD11DepY v9H5gsGGjUJ3wo231vtzhz1RFg/6moAZZIMZWj3VAp7lJJ1cPv3aZYH17TxHPE7L+Ups KV7DSql1kUkUQOaSmIVOQifcbmE3LSdOpVTnjHdQPeAke50Q4Zsg+cTLAgybrSyP+bFf S50zvvWu/I181kOp0xrQb3ccrRjeoN2pZbadIoSqnXI2iRsu7WoJ3CZSFh/+mCxMA4cL 1V3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZqBH5gCr; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u1-20020a170902e5c100b001714853e501si8487841plf.76.2022.09.11.19.26.21; Sun, 11 Sep 2022 19:26:33 -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=pass header.i=@intel.com header.s=Intel header.b=ZqBH5gCr; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229505AbiILB1w (ORCPT + 99 others); Sun, 11 Sep 2022 21:27:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbiILB1u (ORCPT ); Sun, 11 Sep 2022 21:27:50 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07A571BEBE; Sun, 11 Sep 2022 18:27:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662946070; x=1694482070; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Xmotxmw3nocnvBW51ZNXHo6s0m1J8j499zaBKXWXBX0=; b=ZqBH5gCrCU39yhoFYjaMRoc5MUx8ylTw8xReA4foLJB/0EiSl1+AhhQ2 f6cj0lcQWPV592FLFB9srgplP7lHB3SMfFFNICzLyj7nQM5NEfY0FVWMB +tKQHNMCENQulmQk/ufrxsqOtNYUYn9AEtCt2JCYQlVQn5BMgEC/QSOTH VnPRpPpPzVkC7D/vxZvAhPqFMF6NmBpAWPSiJDffF31hpfMckV1wuemZo rwAHsgf+2jSWj7ycFPAvZt5cm8QnAuRUBbIKXLDGBnGCeokXiCEr/2imC rwPKRp1BU3iFMGtgggI1i1HU6xXb3pM1qjbRrispCriuG85Hd1J+iUys8 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10467"; a="277501456" X-IronPort-AV: E=Sophos;i="5.93,308,1654585200"; d="scan'208";a="277501456" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Sep 2022 18:27:49 -0700 X-IronPort-AV: E=Sophos;i="5.93,308,1654585200"; d="scan'208";a="677897204" Received: from dasegal-mobl.amr.corp.intel.com (HELO intel.com) ([10.249.46.19]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Sep 2022 18:27:45 -0700 Date: Mon, 12 Sep 2022 03:27:42 +0200 From: Andi Shyti To: Mauro Carvalho Chehab Cc: Rodrigo Vivi , Andi Shyti , Chris Wilson , Daniel Vetter , David Airlie , Jani Nikula , John Harrison , Jonathan Corbet , Joonas Lahtinen , Maarten Lankhorst , Matthew Brost , Maxime Ripard , Thomas Zimmermann , Tvrtko Ursulin , dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 35/37] drm/i915: add descriptions for some RPM macros at intel_gt_pm.h Message-ID: References: <997567dcc2b5942afde093d92d0666948e66d83a.1662708705.git.mchehab@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <997567dcc2b5942afde093d92d0666948e66d83a.1662708705.git.mchehab@kernel.org> X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_NONE,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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mauro, [...] > +/** > + * intel_gt_pm_is_awake: Query whether the runtime PM is awake held > + * > + * @gt: pointer to the graphics engine ... > +/** > + * intel_gt_pm_get: grab a runtime PM reference ensuring that GT is powered up > + * @gt: pointer to the graphics engine ... > +/** > + * __intel_gt_pm_get: Acquire the runtime PM reference again > + * @gt: pointer to the graphics engine which contains the wakeref ... > +/** > + * intel_gt_pm_get_if_awake: Acquire the runtime PM reference if active > + * @gt: pointer to the graphics engine which contains the PM reference ... > +/** > + * intel_gt_pm_put: Release the runtime PM reference > + * @gt: pointer to the graphics engine which contains the PM reference ... > +/** > + * with_intel_gt_pm - get a GT reference ensuring that GT is powered up, > + * run some code and then put the reference away. > + * > + * @gt: pointer to the gt as you can see sometimes you put that extra blank line and sometimes not... can we please stick to one style? Thanks, Andi