From patchwork Wed May 26 08:46:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448139 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5016959jac; Wed, 26 May 2021 01:47:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOxSR/a3X1J/E+2zXg+gJJgtd8UUamFwtaGzfFdPYpM50SGtP/R1LoODn83k+7zL8RrgDi X-Received: by 2002:a17:90a:8e82:: with SMTP id f2mr2900995pjo.157.1622018862262; Wed, 26 May 2021 01:47:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018862; cv=none; d=google.com; s=arc-20160816; b=xv5cqqP4yOGvSCEDjoa8JyQcUuClmyNTguuUkVeY28zyHMf1ZtyFViyyNwKjT5ARup ipl4HciW7Jnguv3hwLQVFiEvscN0oY+tjdeYvTpOpzOSZJZrk++MV1MlHmp+RH017qxE 3GceMiKOMvPgWB7ur79MMavF6/R8tknLlxpFCtRJL0cnzfYcHVi8QQ2A36OlamMCDf+0 KQUS9xSAbWdIJzZXn9WysDKb8D/JPK5kkVvNXXE9fg90UzBy3s34WRXaS0KlYiUlgRC6 +sNFI4VSnhvPzboGknqzvTMd1SmnESaMccB5CxCUvNR/qP8hIbK1dOMSaChZeXc5SfBp PBJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=6noTtcFdzAM4mRtKAmNKqowB17kNzJ46dcIfcnLdMB8=; b=VF5c3zJFNQBKw93hOAQfQeiWK29+JWuTZicWo3o8vBeX1Bu5JfhtUvYi2JkO7+Zlct 6vawEvLkZQZMgG6OaWvJFkDreIs/pg8Z5SZ6rDOE3Mfv3tAVwm1HbIbh/xYkMp1N30pf OajOmm4yiILU1K+QMUoOGntvzaeGQpthkxlZnCfXLIeKQrY0a/fS08yiB3Jwt4rGjvSr bwvmbzlbW72b0ySs1Jr47EhF0x8+oAYPc3qstB9M/dU+EuSWCLZlqkIIZCqdSuTZ82v7 eycwUa33Tfi62y0vsXlo1I5EO15i0+vCCgFT6PKOPY/ZRMS/6E3RAcrB7ThMRvv70o/o naBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=RZRDWvzH; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id h193si24528616pfe.171.2021.05.26.01.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=RZRDWvzH; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1615B6EC32; Wed, 26 May 2021 08:47:36 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by gabe.freedesktop.org (Postfix) with ESMTPS id E94876EC33 for ; Wed, 26 May 2021 08:47:32 +0000 (UTC) Received: by mail-wr1-x436.google.com with SMTP id n4so222684wrw.3 for ; Wed, 26 May 2021 01:47:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6noTtcFdzAM4mRtKAmNKqowB17kNzJ46dcIfcnLdMB8=; b=RZRDWvzHNmKISbyL/y7tncGD6OlregtD8vbp5d/rmc0PNGq6sghfzAZpXIe2PuELFw Bl1gg68glEy2naNn9LnTRH2OEEqMjSt2RTKm/7jbmXscdFxuK8CWcUGb/vXCoQfWtJTk /aQCyRZ9whXV/5z0rECrM+Xhv7rb8OCYw5pWY7z9cnUp9F4RSx6QshjN30+bDnJ7f5/U FM45gqEUoo98DgxJer6yTzB/Razb2X3ch0zQNmp85X4rpnSrCDr8+ICEhSO3EPBjU5of GQMhOB5m59Zl9sLle9jZmHDPMyzPnptje0Xt7a9qjMhnYHHKm1eSSNeIPMNm2d2PrSMH boSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6noTtcFdzAM4mRtKAmNKqowB17kNzJ46dcIfcnLdMB8=; b=XEKqianPd84FcJkMaMr8ZfL04ecvndSni+wMs55TRAxtC+1g5G0K58m9gHf4XLdXVS U4i56lw6xwC2CdAHDyX+diOyzkSGdwFV1+tCRFw7aQeGGGxceDAsgH3pIF1TJzaslI8R T24JPe0IzhxQZHj9wLDKG53wkr2r61QAeoWO9njDE7GqszFikJQfVhgc5OxZFL9mCjst IGZskDP/D/8gTJdCQixBNah7my5zgkpc+bOoGivD9ZDmz+Uxf559xpNRnGl+BIq2xxkd FsDlJr9vcNHxxAHpioYIb4E1p/Q6EKV9/jfiZ2nH37bOFDy6xNgKH2G89tETPR/71vnN DdTQ== X-Gm-Message-State: AOAM531AfUzE1nk9JsGwG30Ot3HJMjDipajZd0kvpbsVYLvZI6I1HGFK UpB9RnMLw9Jdn6Hj0XfBhHqfyQ== X-Received: by 2002:adf:eacf:: with SMTP id o15mr31088295wrn.219.1622018851572; Wed, 26 May 2021 01:47:31 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:31 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 01/34] drm/amd/pm/inc/smu_v13_0: Move table into the only source file that uses it Date: Wed, 26 May 2021 09:46:53 +0100 Message-Id: <20210526084726.552052-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , Kevin Wang , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/inc/smu_v13_0.h:54:43: warning: ‘smu13_thermal_policy’ defined but not used [-Wunused-const-variable=] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Kevin Wang Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/pm/inc/smu_v13_0.h | 6 ------ drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/pm/inc/smu_v13_0.h b/drivers/gpu/drm/amd/pm/inc/smu_v13_0.h index 1687709507b3d..6119a36b2cba0 100644 --- a/drivers/gpu/drm/amd/pm/inc/smu_v13_0.h +++ b/drivers/gpu/drm/amd/pm/inc/smu_v13_0.h @@ -51,12 +51,6 @@ #define CTF_OFFSET_HOTSPOT 5 #define CTF_OFFSET_MEM 5 -static const struct smu_temperature_range smu13_thermal_policy[] = -{ - {-273150, 99000, 99000, -273150, 99000, 99000, -273150, 99000, 99000}, - { 120000, 120000, 120000, 120000, 120000, 120000, 120000, 120000, 120000}, -}; - struct smu_13_0_max_sustainable_clocks { uint32_t display_clock; uint32_t phy_clock; diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c index d62cc6bb1a305..d6ce665baaf3b 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c @@ -78,6 +78,12 @@ #define smnPCIE_ESM_CTRL 0x111003D0 +static const struct smu_temperature_range smu13_thermal_policy[] = +{ + {-273150, 99000, 99000, -273150, 99000, 99000, -273150, 99000, 99000}, + { 120000, 120000, 120000, 120000, 120000, 120000, 120000, 120000, 120000}, +}; + static const struct cmn2asic_msg_mapping aldebaran_message_map[SMU_MSG_MAX_COUNT] = { MSG_MAP(TestMessage, PPSMC_MSG_TestMessage, 0), MSG_MAP(GetSmuVersion, PPSMC_MSG_GetSmuVersion, 1), From patchwork Wed May 26 08:46:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448138 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5016949jac; Wed, 26 May 2021 01:47:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyC26qfyxtyk8bcSvnP05IfvC7jPIlfhzHR4oRJHrln/A4aCMl9zOr28DaWG0OdZrvj4vLo X-Received: by 2002:a63:2b82:: with SMTP id r124mr23393988pgr.324.1622018860330; Wed, 26 May 2021 01:47:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018860; cv=none; d=google.com; s=arc-20160816; b=fVmpV/VkNFmnSsjgcEbg87AWf3Cz/olaPQ4aEj0c40dR1FA04wJijD695H1qXF/UMW EoDeXQ0m1WPXYahivXIoFS/pajqGvPyObChVIkLf0s5MFoZDu3jp+Po30VNFhhaFA6EG 9okt6l2RJbkrI04TGzK8QvScDsxO/h0zD2OhKPlFYnU+GtJb0z4tBUaZLx4/zH5UIfDW 6QjtI9Jji3JYdF3yAIIdeDLVrxQYWtoX3T+SVJ8seAGoI8JLpW4Fr22PdjCrzQTpzFSK 5dX7d462SuMRI0/Oc7tufEWZQrbG6fqq9fLQ2e34X5yCQyyH3tX2WqAXoEPvmgtZxS0F eIDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=h62MLZglSk0AGZD9SfFQbGL1zDMVzymMNWcO9Y1i7ro=; b=F+D4ddNIcfmfN1PpXNy4RfNCjdFVwO1uOcQ87QvpV902m2kBLygIMG8YyXmav8SO+h PGmrzIu784Viqam871rA3wyHhcPMWwPfB6wWU6bF0lNaaBeL0oySP7UdgMvp04/YBXOr VMzwFKA9m2EMmscT0bJJ3Qjytxih90PptjfbapXA2JBnT3m042CgTsz8BO70GV1TN95L kwJXRu8mry8NmyI/UG8Dvz/XvUWE03ZWS8izMz73pb/wYtQpIzqBt1c5Kvt20lmvATsC iyf73JJa6Do5gvXd+M9knL4a3+K1+YShFQcIFazAAlnMjFyDXTJCBbZWdc+kk6X05SHD Tnow== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=c+dra2tq; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id t6si22682232pgt.593.2021.05.26.01.47.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=c+dra2tq; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4972E6EC33; Wed, 26 May 2021 08:47:36 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0CC216EC32 for ; Wed, 26 May 2021 08:47:34 +0000 (UTC) Received: by mail-wr1-x42a.google.com with SMTP id q5so214169wrs.4 for ; Wed, 26 May 2021 01:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=h62MLZglSk0AGZD9SfFQbGL1zDMVzymMNWcO9Y1i7ro=; b=c+dra2tqymbByrR6z2HiTHLfe9C2WgmOkQAwerg+mh5Ku0VofhpS6ze9r0mRMdT1pk YPNN+MYXY5re7Ot54h7F2ty2q32Sv75cj5GX/2/udd1GJAjJTOgt+3/dSe/MLXPMWPl2 79kgXxCnDF5ZKW1dH0L/lEg9OFx06n3g+u+YjgGfwVTnYE5aIkCM/BJekPtCJwt7TJFf UKK+hgv0O3YfuIdIFq4/zxCy+xAxUwKGRUNce7rYim6Bq3v5nE5e594ckrg9YD4zogQb 8pFVbMQwj1XN42ZhS9sIPolY4RYcrLfJBsZ5HNutOaZhToK4wA5Gj/BH3hoTn+nGoQcd g6Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=h62MLZglSk0AGZD9SfFQbGL1zDMVzymMNWcO9Y1i7ro=; b=JcBe8m7/XYSULPs0WNm6Q8yNVUEHs1pXKdpFoOlQzZ9WEkEyctS2AiRE4G1gWN5KCP G9iP5iAmVFNiAT46hfRMieMW3vsWJeIL+URdM2m9tNT/r5g8XKvv/pxmOr2KUATpQ0Xe aIqTRSj6IvwgeMZnKx/2q1U2wAewMZkq3r8ME62CfxzMYKore6sIt203CY8eP2xWY8YE l4f5PjheqPTBsfSL6MUK6/J6fHHQMlAqM8GeiQ2XRgdQjO6wkVbYOOzaKM19BkaqNOxI QSlSaGS0Dh5XjJCHlVl7mas/GkjGwS/5GKLW91ktao2h/RmFd+dtK6jpo3DhVIYHh9Vv NmVA== X-Gm-Message-State: AOAM532/OvZOfw931b63o0W05TXfzcjH8KPl24ZNl9o/QNBMqTlNfELd fehcTBnpj076Al+XLiXSe/JglQ== X-Received: by 2002:a5d:4ccc:: with SMTP id c12mr31780393wrt.137.1622018852634; Wed, 26 May 2021 01:47:32 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:32 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 02/34] drm/amd/pm/swsmu/smu13/aldebaran_ppt: Remove unused variable 'ret' Date: Wed, 26 May 2021 09:46:54 +0100 Message-Id: <20210526084726.552052-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/aldebaran_ppt.c: In function ‘aldebaran_is_dpm_running’: drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/aldebaran_ppt.c:1260:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c index d6ce665baaf3b..d077e211017a9 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c @@ -1368,10 +1368,9 @@ static int aldebaran_usr_edit_dpm_table(struct smu_context *smu, enum PP_OD_DPM_ static bool aldebaran_is_dpm_running(struct smu_context *smu) { - int ret = 0; uint32_t feature_mask[2]; unsigned long feature_enabled; - ret = smu_cmn_get_enabled_mask(smu, feature_mask, 2); + smu_cmn_get_enabled_mask(smu, feature_mask, 2); feature_enabled = (unsigned long)((uint64_t)feature_mask[0] | ((uint64_t)feature_mask[1] << 32)); return !!(feature_enabled & SMC_DPM_FEATURE); From patchwork Wed May 26 08:46:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448137 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5016934jac; Wed, 26 May 2021 01:47:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4UJXlB0h/0JNdtOTeJ51SBv9Y6c2AB0uc0axPJA0kAtMx1kobJ+ufw/hOSqBd9JA28nm+ X-Received: by 2002:a17:903:3046:b029:ee:f24a:7517 with SMTP id u6-20020a1709033046b02900eef24a7517mr35098792pla.17.1622018857959; Wed, 26 May 2021 01:47:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018857; cv=none; d=google.com; s=arc-20160816; b=0wJF/+G3KNglxgkp8J5sKXiusTDeZblzxD6sCfKqwxUNgb8HWrtVnzX6aIV4Z9BkfW SIWusQBFw5LSHf6fRcE+IdNEwGngdsZtqM+t/xLC60mJ+SSvziKjH3rTf00VEwezszt7 Do8f2F7yVmddY4Nb9qdoVUheS/5Zwgy40u5S7opnGUgl7hidW75Hn5oTJ4yQYjIhi9iU rSUMMqJZAfJKHpR80JRcyokTuPLLPLnzP3xgHD0m4o1YJBQdN5y1/k79XNk5luyvNirN bOmux0AM8M3a74UJ8ApCcXEucnR7ZopQ0TmvlqCzKZ9AOgSflP8Zl15MzhA+wYAdSnlz mhBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=G7iaDAB2ZuYVyZx68crg6QhzsOg2OHh06HlhEV13AEw=; b=UstNJEOGzEGvGEMsEdv1Ug/jrl7GZIfCKRD4SKb/WzjDI516XaFuoo3TYjhXNYS8Fw O2iihrVRj4nQX6kFhJsb3UIPpD6JicPLIUTDV6eMzQRZSbPhTVpgUKyAgAL5U1JohcbF ntR3AdJA7pIwRkA2lqCKtWNMFBVeDICPeyCFpESUgo1FHXZdoKIzsA75XMogJwka4VaY QoptHln8ItHwaDuWKxMPCQ3EVDIs5+2zpT8rUyeTqcGK5G8TAnUe8WA2RfR4VYIM3yjn pBUfrmm52YvBK0ypKu6ZbSkkUiSti2JvPNJUv23RpcbVZIawKbJSnkq9J3mWeFl/JJW5 aWgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=I44CIXDq; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id t6si22682133pgt.593.2021.05.26.01.47.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=I44CIXDq; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B9DFF6EC30; Wed, 26 May 2021 08:47:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by gabe.freedesktop.org (Postfix) with ESMTPS id DF6C46EC33 for ; Wed, 26 May 2021 08:47:34 +0000 (UTC) Received: by mail-wr1-x42e.google.com with SMTP id y14so162668wrm.13 for ; Wed, 26 May 2021 01:47:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=G7iaDAB2ZuYVyZx68crg6QhzsOg2OHh06HlhEV13AEw=; b=I44CIXDqN65PoObP1/rnC7UjnZafXPh+DuBi0Kq2AWIMOpWajEcw78rMhgD/TBi7oB wQgH4fcGxdTk4hb1J/Z9fSCeumJdhs0xsuW5LIMQKFUtFdY6YpqGYGgty7pr46KVg5ny 7q7Ea6E5YIAanyRZeCH40+Ipeq7NKd9LXLVQX7/ckkNe4lhcSsJTgZleDyj3sBvKcyYo X0Ssu4Uq4x6S4+g6/RC+pZsBe3yvR/6OjXnGTRdRkX9fK+pU9iexVjgDaBKyrtm/HJr/ t0cXJxRJSOAnFQ9RPkc78nW8/5+Y4ZSP0fA51KvYlXl2dd/6gFl+keus84Ue65vf6oO8 IYKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=G7iaDAB2ZuYVyZx68crg6QhzsOg2OHh06HlhEV13AEw=; b=rz4mk84ELMVQ76+nJ8iKkGuj5Go31mlm6iEWRDyf/vy8KTRjtp6GiiMOox7WRf4XTM x5e5HDOek3ZAzXzXovg5D7SLO9w6BXt1TxbMVlDbWJAZpkvvtS53Liqe4MGiLANz+HFK 58pH81TXPDgVYX7pqxNRvBtFajsS9x2/oXsIsAH6tukF33TExwjyL8IfnlCkcsmSlV4u YGyjy3ZXfwdS4g908RXeT56/LcDp3fH55KrUdQDlpp38em+31MbW78y2N2Ksyo8EVCHh OrtTHUeIVfXqmUWoPp7s/Hth6FaaXJE9OPm+gbXJ6w5rknGg8lf9tV4AZxbQM1GrJgN1 kObg== X-Gm-Message-State: AOAM530b9ZdOiJ7KVAoHf/A0IakJuBymxSU+Orb+8sj5rXBt88xZdsNC AZeBjiZzvY4imduSGtUXCPz3jQ== X-Received: by 2002:a5d:52ce:: with SMTP id r14mr17258203wrv.395.1622018853569; Wed, 26 May 2021 01:47:33 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:33 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 03/34] drm/amd/pm/powerplay/hwmgr/smu7_thermal: Provide function name for 'smu7_fan_ctrl_set_default_mode()' Date: Wed, 26 May 2021 09:46:55 +0100 Message-Id: <20210526084726.552052-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , Evan Quan , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu7_thermal.c:132: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Evan Quan Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_thermal.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_thermal.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_thermal.c index 0d38d4206848a..6cfe148ed45bb 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_thermal.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_thermal.c @@ -129,10 +129,10 @@ int smu7_fan_ctrl_set_static_mode(struct pp_hwmgr *hwmgr, uint32_t mode) } /** -* Reset Fan Speed Control to default mode. -* @hwmgr: the address of the powerplay hardware manager. -* Exception: Should always succeed. -*/ + * smu7_fan_ctrl_set_default_mode - Reset Fan Speed Control to default mode. + * @hwmgr: the address of the powerplay hardware manager. + * Exception: Should always succeed. + */ int smu7_fan_ctrl_set_default_mode(struct pp_hwmgr *hwmgr) { if (!hwmgr->fan_ctrl_is_in_default_mode) { From patchwork Wed May 26 08:46:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448143 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017047jac; Wed, 26 May 2021 01:47:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSM+oARiF0zWnCISIzdAkceZOBZXhx2tBu/H/4lFAIEa75Cf8P6Xq+I1kyGT7nwXIKhFrD X-Received: by 2002:a17:902:bc44:b029:fd:ea73:a2d0 with SMTP id t4-20020a170902bc44b02900fdea73a2d0mr413591plz.3.1622018871957; Wed, 26 May 2021 01:47:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018871; cv=none; d=google.com; s=arc-20160816; b=ycz+U9/c/daJj3B0Tqf8J/r13Lw2natsCmPqm+Kigm+hA1dWETKzUOfZibbGiQia93 W6Ka2exF4Fpkxnx7HueLl/sPml2meZWsjunwCmuvRQWzt59Brtxz5T892fVHLaCmlgod ZOoHYW1rLVeDQxAZ43ci6r8gDS+bA+RSo75Ds2A3yUycKdW0QxFmx4FkQEWrok1HXmwa Vp2b9d/vrWQZxF7s+SotDwOI9c8wNWGzgs0Jm0g0aVX1rx04QcyapJ/4P4CRWTMD1UBB +HcSN/ov/j4Pxs+WzbzCSohcKtHd7hlAQ1QL2PsAHmAbE+jyDX3wp6UPh67LpY87Nf99 rR2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=Ey2XQCTHoPB7PbhRpIhhlCIFboLF4MIg90vAb+6Iw48=; b=Hd7Dypwhb6/+ZLdaSOqsE+TDoQ/APFJxVaCKTx0LRDNMgQDlm0iYE9bRdQcwo4gPrf yRlt+2ApN9EZzx6NDIr7mCIPKavaTtxtaY1mWhIxFCYzS5dYmw3hnOOyuaia6Y2LvBU9 bJZHFbRefuRkXitflljvbhg1sgFLoO8+aZB0lj6+ujrdpYEf3k/MPZ4N6R1/cS9LLLQv vbMa9wDeKmjNVAo8NU8iBh6lzVuIGPREbpxq92/iGkqQXqURp3wBLAXQuERE94Z1n2Df Q5fCmVKYCLtTMsHPJdlfiE2RGNQWTDsGPz6kvtMTPWK9zsEk3GkCX6I6Yubdgm45dkCb 9N7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="L/iJmUQ1"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id pc11si6159865pjb.118.2021.05.26.01.47.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="L/iJmUQ1"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5F21B6EC41; Wed, 26 May 2021 08:47:44 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by gabe.freedesktop.org (Postfix) with ESMTPS id CBCFF6EC32 for ; Wed, 26 May 2021 08:47:35 +0000 (UTC) Received: by mail-wm1-x32c.google.com with SMTP id f20-20020a05600c4e94b0290181f6edda88so8109514wmq.2 for ; Wed, 26 May 2021 01:47:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ey2XQCTHoPB7PbhRpIhhlCIFboLF4MIg90vAb+6Iw48=; b=L/iJmUQ1wl4h9pSToLi6ngPyg5UA7AeSWQLOEuFjYdsGt+aIJ2JW3IZyE7TyAvl9zp glIhu+aKxXtueYZgd2owFNE0ZH3GVlcEDRAUqpItp+X/sLU+ZR0QYqsLVt80CWoZJUk/ 8d8WNwVuJvhfQqGDn92TSIpDtUNG2tSRqfbjU47JhqUsypTbNrf101/f47GA1k352++H H1+XxvhmsG5nyLGBwyds2ImgQK8W/kvKF7HlRSoMRQP+UXOpqJQkYUi1HhAHi+j/Z6X3 TtYsAajhfILOXFoKHIGLxd1yRvhSIi+4tL6F4Et9K+iLfpi8CuxPUGxU+XqxliUJ2Jdq FoyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ey2XQCTHoPB7PbhRpIhhlCIFboLF4MIg90vAb+6Iw48=; b=oGy71P6Uo1+Gbuay3UiikAoX5svVvz0F3IJFshaNrdi2XvRHedDd5tyojsDFe5beO+ 6tcf2MsBbHckdPsnEehxz7wP7UMHleXTPFqEocY+icDv4de7USkoEsQTLXqek11r3Sd0 vP8V/sJpfWM5hhXHhGW1AwZWNs3CU0ubBdS7Y0iszA/XgEK/HruNbo7j4bQBE5vkt3hX r7mada/hoDhvZFpa1Z/CfszQP+LZG50+iaDjBwIipOFMIha1wlvSGX7liHeVWRlDvXc6 GXM/dGpm1WEDkbmWtyUaSmM8ob0CWL18EB4SR7Qiqk7jn/zjxFx65EyiQBlnxqbPtnO3 Zndg== X-Gm-Message-State: AOAM531qrTXSY8Nk1Fo627u9Oody5lYa0H6VXm2khsDaVWDPXq7fnGoG HwCSRwOzaDvdOX5AwowRFsRXNA== X-Received: by 2002:a7b:c417:: with SMTP id k23mr11601416wmi.90.1622018854475; Wed, 26 May 2021 01:47:34 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:34 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 04/34] drm/amd/pm/powerplay/hwmgr/vega12_thermal: Provide function name Date: Wed, 26 May 2021 09:46:56 +0100 Message-Id: <20210526084726.552052-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , Evan Quan , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega12_thermal.c:171: warning: expecting prototype for Set the requested temperature range for high and low alert signals(). Prototype was for vega12_thermal_set_temperature_range() instead Cc: Evan Quan Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_thermal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_thermal.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_thermal.c index 0dc16f25a463b..ed3dff0b52d21 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_thermal.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_thermal.c @@ -159,7 +159,8 @@ int vega12_thermal_get_temperature(struct pp_hwmgr *hwmgr) } /** - * Set the requested temperature range for high and low alert signals + * vega12_thermal_set_temperature_range - Set the requested temperature range + * for high and low alert signals * * @hwmgr: The address of the hardware manager. * @range: Temperature range to be programmed for From patchwork Wed May 26 08:46:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448144 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017060jac; Wed, 26 May 2021 01:47:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyosvYWOCsj7KAIeOO47a/sNcu3wxXsk3W29KIGdqa3Bemmte3enUni3Xs8FK4S0YT+525t X-Received: by 2002:a63:e14:: with SMTP id d20mr24317066pgl.35.1622018873286; Wed, 26 May 2021 01:47:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018873; cv=none; d=google.com; s=arc-20160816; b=X+xt5/78xWFnNVUJ8ekbEqI/icBIH8SJ+xi0Kby09ofyiGULL/wu7O0UzteGvPYMb1 SY3J+nNOFW0+oHDM53zGDhdLFapidf79GjWgoEJ+7DWUWtEOAXebHCok1od10rUKCTeH 34rb++w1hjuYtKCyqmSobYHs/QrLA0/eqAxd1jRi+CdrF76kbt2hADcWDC52O8uqTIw+ 60IvD0OCcqI5SzR4gsyJrDjybO4dvLbNlFCcTEeHS6h1GukZF4jmdIlBuHVmydOGp6xf tq5duh1qOtVXEEouLdYy+KjL7TBtlPUwVxxM+fQ98vqG1sDHUIpInlFr1Z5H9M4Ykq1H QBWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=lKeBwQNxcs7ocYKzN7a4O8oaRQu8Cp6t2SySVOZEvJc=; b=lmC48WemGEf2Ln/Lv27qFqLg3BZ8wFGQ+CV4vUSXbHwF+0PADHO6QBUftlISVAggns pEQKOa5qm2/MLLqNY42X3KqTQA83PD0MHcrEliH3a7O9vOYw0FeXRp52ZNZbj6hE06R3 E5EKc24HP1l0dCEVxuQA4P8TW3pYFUh9UMvHgIG9x4N6oNAZacHCSjVkVIPg8J0bqILe 10pI/QYnXEYRgj+zlWamNswHR7btnvnApYFNJQjQnt+2nO7oKn2Szs/fkk3+u2dh1WT2 jpsPGUhAd4e/zoZENb3/CtEKrbgUYqzP//Gka91dGwniDc725+tvZRHrVa2gwJRQ8akv 0AIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=XOJIerym; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id m16si2268161plx.435.2021.05.26.01.47.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=XOJIerym; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1EB576EC54; Wed, 26 May 2021 08:47:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by gabe.freedesktop.org (Postfix) with ESMTPS id E09A56E4C5 for ; Wed, 26 May 2021 08:47:36 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id d11so188707wrw.8 for ; Wed, 26 May 2021 01:47:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lKeBwQNxcs7ocYKzN7a4O8oaRQu8Cp6t2SySVOZEvJc=; b=XOJIerymun8QzB6XXP5wNjsVJygRfMn2bCBX9V9gUfDFMpm25kLTV3EO44NAoo2j5i 3iSfQk+RtozfLSE0bhk6MeGJ4vV9gQUIcIUOnkztB3q+u6z3oOYlQMoiGMHpN5FJN6w+ FJx6hQchMJlsPYYhAVlbBncVfoyFjoUOMTQPJ8OT7dIVoQidhzO6Ll+gpXM24TD2tcMj EnXiVSmwBuz5TtNVx4MQrvi3cETPA8jpmfUKM1fWQGxom9/PgKjui7Y+fL6dEUstAtMg YmxmvEkwUJ5ku14LxFPHGLrMrqg3+wzlam2x+s8tVWPneDACFWNYdsAdduDGQ1mqPxMZ J7AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lKeBwQNxcs7ocYKzN7a4O8oaRQu8Cp6t2SySVOZEvJc=; b=NhUHNmXY/SyqvMz0lBdmErYsPrVadfH04IUTFPvnxk26TKdiOrFdgldkSWvCCy5+Td g15sj5pUkQzJg+qbvodjdAuqjgZeEKWAHZZUEgX1ramtwDpA5Ej70p+VWSrMb8ZzQUF/ JCVSRPt0OkgJhObl9YFgyvIsj7BZDZXwdJ7FAQJYJwg8y9j66N9Yp7dxzRV5Ra7RDJEu 3konSanN6z1vIu++eFqjnen9TcJIgwu+WfSH4txZ4Uyu7fqgRTVW2x0dMe7p7A2WANzU vVKkXheZPp0xb/Ny4Btu+JMorXG4YtJv+8ajBymESv4rQQkapWvCA3SE09xAbh+pmlz/ CYCQ== X-Gm-Message-State: AOAM5308BLoZVh/54THCpDQaA7ioW8t1oEIvFfOchsCmzMjJluuPoot0 GcUM9d+5Y9wgv1MAEWHFA9P7/g== X-Received: by 2002:a05:6000:1189:: with SMTP id g9mr31168739wrx.385.1622018855535; Wed, 26 May 2021 01:47:35 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:35 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 05/34] drm/amd/pm/powerplay/hwmgr/vega12_hwmgr: Provide 'vega12_init_smc_table()' function name Date: Wed, 26 May 2021 09:46:57 +0100 Message-Id: <20210526084726.552052-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , Evan Quan , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega12_hwmgr.c:812: warning: expecting prototype for Initializes the SMC table and uploads it(). Prototype was for vega12_init_smc_table() instead Cc: Evan Quan Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c index 1a097e608808e..29e0d1d4035ad 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c @@ -803,7 +803,7 @@ static int vega12_save_default_power_profile(struct pp_hwmgr *hwmgr) #endif /** - * Initializes the SMC table and uploads it + * vega12_init_smc_table - Initializes the SMC table and uploads it * * @hwmgr: the address of the powerplay hardware manager. * return: always 0 From patchwork Wed May 26 08:46:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448140 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5016985jac; Wed, 26 May 2021 01:47:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEdNc/AauzAvZNdXH3zVxrOFpEqei7MrtweDCMN/juud6AXjrsfFwrPvLosIGUeoKDCKc6 X-Received: by 2002:a17:902:e809:b029:f3:cfe1:9d84 with SMTP id u9-20020a170902e809b02900f3cfe19d84mr34597012plg.5.1622018865124; Wed, 26 May 2021 01:47:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018865; cv=none; d=google.com; s=arc-20160816; b=RxowQR1Yry1kpjAIrqfBQrcHu/ocqX9uau5EDmn3ztcEJJfCNOgpRwjr6hTgclMkyH xvi50a0/G/P9i0NQ9udZuKmX0WLdjBl0Opzt8eDregP2e9F0jEusVfXtQ8im6kbtdY0M any4+tCDzkNFUTpNU8jFp5wa+/wKx8Im/P1YdKszf12OxMLx6EVx67uz4lsfViX0xsgG U4mzPHU73Ceb43WuHX4zAB+X4wgRXHinfNlIUpzkD82+oOa9Cf5grywoc9cr1l4bFU6W Jy0ecUnMpwYc0TCSLs92rx9rZ+LTULmBojJksIhFxSnGwx7J51dn7WD83F2fmUE/s4Rt znZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=qrtEkiWPh1VsC0TCpSiXhurw/AoAcdO+uVVz+pBsZfQ=; b=e1zifEwBTusZmtxbN8ebi5bd6HskHRfi0yIW0JVsUmBWi+KguEXaFxzxc4rOhfQJ6f 2ykD1GWBq+eszQQ1IG/N+Ud5qGBEX2D4w8FkDAre05B94okzbXU0iBLtWSILFTwg2yoo X8qxkYE65LN2yMI4Tx63IyUfBODicD97WvtLOB6yBWE425qdrwd5fB0q/b/BZadX1ZIf E7yX+kD+4phwO5gjnQc82O9jSsdMbhioG+MAp3EmPpeXHBS4gFrz8NHyOiSP4JgpoB75 PYiEgIihI7iUQ9M/e1zPTMdHDZGHh8jfVBnjLBgN8wiF6lq9hVUd6HGzNhSt7iNn6+Gr 84ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ezhWvGsd; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id c143si2420264pfb.7.2021.05.26.01.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ezhWvGsd; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A9CAE6EC35; Wed, 26 May 2021 08:47:43 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by gabe.freedesktop.org (Postfix) with ESMTPS id F186B6EC2F for ; Wed, 26 May 2021 08:47:37 +0000 (UTC) Received: by mail-wr1-x431.google.com with SMTP id p7so178957wru.10 for ; Wed, 26 May 2021 01:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qrtEkiWPh1VsC0TCpSiXhurw/AoAcdO+uVVz+pBsZfQ=; b=ezhWvGsdrmBxcn9brdcQNASBFzEUTDY+CWlPgn0LfRwhFwjnRx1C0WPMxVEA3cgFqx WNqu7WDp6Md98NycpVBE0w/QwtnsWHdzC2G/PMJF/Pj0oZYQaE2FRO2OKiuUJtb3e+Us q/x37uy5grJyPcj8LwAYfYfKDw4HSnk1YD9ub9NF6LKYv3FFhFH4EYk6M8sY3G9lvsrI Rp98ZAsTPJuUjduDt8a717DmOenksFyeISlJYJrDv+53r7X/TmADYbGRizlOS94//FBy qhpNPhsEEQoeRoyfwdYWCK8H6vamKnyAczb2BX5tZn9JpqB9FSs54fYUpPfH4b9poA5u jwDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qrtEkiWPh1VsC0TCpSiXhurw/AoAcdO+uVVz+pBsZfQ=; b=AO8nCJekrqCfuxDFurpsa4iEx/nWj4yFEN+BdIASQLXr+9OF2jNCT/0sByCxDQm/Mr d02oLBFQPiB3W+LiTcaVn8Zs7oV0He/gYOdQBgb2vbKZDwGHLHxoWIUr0agUTzxZks49 /5/hfPJ/++90eZ3h3h6l+AVuu/Gw6NGZFQMr+w0vnYUnqq36MjPDW9tdDUVIUgD9Aqxb dr6oq4G4HPLirvovi3SddLG+INVz2ahpXB25Lq+PwrcPoRTalhcDbUDFbv/4bjqQVP2n /l9w5CgkMD+HfEVlge1rn1JH1g5YnBtARceydeByDeTPoO6paluBSklfhPlthjZ3yUSz z+Og== X-Gm-Message-State: AOAM531iR+DkkO9DUD7RubrU6MIfAaK0AsLWzm/VxiLhTad8E9kodBiT TsoMFVGj8KXlywpGq0CMv7CrOg== X-Received: by 2002:a5d:6484:: with SMTP id o4mr30586678wri.8.1622018856595; Wed, 26 May 2021 01:47:36 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:36 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 06/34] drm/amd/pm/powerplay/hwmgr/vega10_hwmgr: Kernel-doc headers must contain function names Date: Wed, 26 May 2021 09:46:58 +0100 Message-Id: <20210526084726.552052-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , Evan Quan , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:547: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:603: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:629: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:1006: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:1155: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:1608: warning: expecting prototype for Populates single SMC GFXSCLK structure using the provided engine clock(). Prototype was for vega10_populate_single_gfx_level() instead drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:1663: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:1713: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:1862: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:2546: warning: expecting prototype for Initializes the SMC table and uploads it(). Prototype was for vega10_init_smc_table() instead drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:2922: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Evan Quan Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- .../drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c | 26 +++++++++++-------- 1 file changed, 15 insertions(+), 11 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c index 31c61ac3bd5e1..25979106fd255 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c @@ -544,7 +544,7 @@ static int vega10_get_socclk_for_voltage_evv(struct pp_hwmgr *hwmgr, #define ATOM_VIRTUAL_VOLTAGE_ID0 0xff01 /** - * Get Leakage VDDC based on leakage ID. + * vega10_get_evv_voltages - Get Leakage VDDC based on leakage ID. * * @hwmgr: the address of the powerplay hardware manager. * return: always 0. @@ -600,7 +600,7 @@ static int vega10_get_evv_voltages(struct pp_hwmgr *hwmgr) } /** - * Change virtual leakage voltage to actual value. + * vega10_patch_with_vdd_leakage - Change virtual leakage voltage to actual value. * * @hwmgr: the address of the powerplay hardware manager. * @voltage: pointer to changing voltage @@ -626,7 +626,7 @@ static void vega10_patch_with_vdd_leakage(struct pp_hwmgr *hwmgr, } /** - * Patch voltage lookup table by EVV leakages. + * vega10_patch_lookup_table_with_leakage - Patch voltage lookup table by EVV leakages. * * @hwmgr: the address of the powerplay hardware manager. * @lookup_table: pointer to voltage lookup table @@ -1003,7 +1003,7 @@ static int vega10_setup_asic_task(struct pp_hwmgr *hwmgr) } /** - * Remove repeated voltage values and create table with unique values. + * vega10_trim_voltage_table - Remove repeated voltage values and create table with unique values. * * @hwmgr: the address of the powerplay hardware manager. * @vol_table: the pointer to changing voltage table @@ -1152,7 +1152,7 @@ static void vega10_trim_voltage_table_to_fit_state_table( } /** - * Create Voltage Tables. + * vega10_construct_voltage_tables - Create Voltage Tables. * * @hwmgr: the address of the powerplay hardware manager. * return: always 0 @@ -1595,7 +1595,8 @@ static int vega10_populate_smc_link_levels(struct pp_hwmgr *hwmgr) } /** - * Populates single SMC GFXSCLK structure using the provided engine clock + * vega10_populate_single_gfx_level - Populates single SMC GFXSCLK structure + * using the provided engine clock * * @hwmgr: the address of the hardware manager * @gfx_clock: the GFX clock to use to populate the structure. @@ -1660,7 +1661,8 @@ static int vega10_populate_single_gfx_level(struct pp_hwmgr *hwmgr, } /** - * Populates single SMC SOCCLK structure using the provided clock. + * vega10_populate_single_soc_level - Populates single SMC SOCCLK structure + * using the provided clock. * * @hwmgr: the address of the hardware manager. * @soc_clock: the SOC clock to use to populate the structure. @@ -1710,7 +1712,8 @@ static int vega10_populate_single_soc_level(struct pp_hwmgr *hwmgr, } /** - * Populates all SMC SCLK levels' structure based on the trimmed allowed dpm engine clock states + * vega10_populate_all_graphic_levels - Populates all SMC SCLK levels' structure + * based on the trimmed allowed dpm engine clock states * * @hwmgr: the address of the hardware manager */ @@ -1859,7 +1862,8 @@ static int vega10_populate_single_memory_level(struct pp_hwmgr *hwmgr, } /** - * Populates all SMC MCLK levels' structure based on the trimmed allowed dpm memory clock states. + * vega10_populate_all_memory_levels - Populates all SMC MCLK levels' structure + * based on the trimmed allowed dpm memory clock states. * * @hwmgr: the address of the hardware manager. * return: PP_Result_OK on success. @@ -2537,7 +2541,7 @@ static void vega10_check_dpm_table_updated(struct pp_hwmgr *hwmgr) } /** - * Initializes the SMC table and uploads it + * vega10_init_smc_table - Initializes the SMC table and uploads it * * @hwmgr: the address of the powerplay hardware manager. * return: always 0 @@ -2919,7 +2923,7 @@ static int vega10_stop_dpm(struct pp_hwmgr *hwmgr, uint32_t bitmap) } /** - * Tell SMC to enabled the supported DPMs. + * vega10_start_dpm - Tell SMC to enabled the supported DPMs. * * @hwmgr: the address of the powerplay hardware manager. * @bitmap: bitmap for the features to enabled. From patchwork Wed May 26 08:46:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448142 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017042jac; Wed, 26 May 2021 01:47:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVIA1z4X6xadfhGWGwNkqgxqO9G+LChhZMlzHK8mVITXNHzS0D9K78DvZucku2kg5YxYJj X-Received: by 2002:a63:5f55:: with SMTP id t82mr1247983pgb.453.1622018870474; Wed, 26 May 2021 01:47:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018870; cv=none; d=google.com; s=arc-20160816; b=eTDv71weRJ65b4h/jvEQnVykUVKEVW8CkDiFDOlUJHmn01216yZMt40ru1VRcsH84A f/R+tCZlOTJFEB9A/+iTKu0CdvV5vm/jPKt4CyWSvu8KjgzY4v6mvaDvp/m35xETwXsM ZBbduinO7LBWuFIKuEoOd9kY5evM3bz2vTwU6nwQu0uKDXJbWlf6S6HBzU74bB0D5xZR kvNiEvnnSex+ZadXafiqA5u8BPKoxkKEa2WdzJ1p+93K98eGY6NF3gVee8tf5f98mwED AG0LhQ7eahoZGa7FKzLCgofUDjrFi2D7Lu9mNeFhlpLq5c8jaBITAUqHgGL+13dvrAtq 21gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=OW7W47mIWK6yublPiEJWvFrVpFjoI7qTlEhI5W3sk3g=; b=cPE91VHSyQExYCTLe1vZFFKPWILI1dfrGzZdpWXOcyEo5yfxzY/fIjKAQniH/hUJ+N ROZgYtnAR9Y5jpseAmSz1fRZd4WZXJbi98m4E/0DUhTS8UvWQ3KxwH441l23KQd/oPaI HfZeRRTSUcta0t0/Ud7gPdXgx1FJOYFIGUdssW6ud1W9ABVaTPsWTTa9dQpVaiIUzQi/ KXB/n6dJOTcN8nnFmfZdgmZVTAmfW1JFJlcyxnU0orUzI5FzT0PwuKnyuXQOhW7yw0dF fpQ2E1NF9N+2SrrTkcAklFJZEJUz+FtcOWd2/aTklNkAf4Qic0M4+2xdyh8Xt+gvZgFp qQGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Q4Dzbnee; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id i1si2044213plb.163.2021.05.26.01.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Q4Dzbnee; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4D1EC6EC3E; Wed, 26 May 2021 08:47:44 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0C6F16E4C5 for ; Wed, 26 May 2021 08:47:39 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id s5-20020a7bc0c50000b0290147d0c21c51so27282wmh.4 for ; Wed, 26 May 2021 01:47:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OW7W47mIWK6yublPiEJWvFrVpFjoI7qTlEhI5W3sk3g=; b=Q4Dzbneel0DMkx+zXQm4rfhuirMiZW0kumIdYTlWN3Rc8ONEfmPsGv5nSTgmMJMzm1 dDVTt75sX/MR1ZLRVZN3aTgKAPW2fjnN4y4HZQMD5UJnGpbzaGx3zX/TY54CwkTpN93z ci3EPh0fpBN429rFH3EWjtZm/y/XmxGjjvLf/rm6l1smQ/An5IKRNRN0RO/bZnXExJD2 Yf/0VcrD5X5GZ/W8bFogzhmqOFHRKGj64yiSr/Eoafy5yJ46O/pFb3qzPGyq1W/bjEXy qmrYNwBKc95Gk6tvYCz8Wc6n8OynNac2iK09tru9kJoWyxDnZIIE4BOk/y7Fl7k7Mgti +IGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OW7W47mIWK6yublPiEJWvFrVpFjoI7qTlEhI5W3sk3g=; b=mSnfzkmneaTQHrbCeMWBkR+isE2XJur33vGWzNDSbAIdEuu6mJ2oU1uTLe2bf/XBaM zsPNFW8JKA9JNf9h3KGVIL83Z+RJpu9ejFW5BifmvM0hJ9V6b5invESJQkggoZMPEnH+ Dnniz9C5Rx9BvqDREjBNKe9Z9dCqrc8hwAq1UB772OPLfd0bucf7XSXdMlNfm/cGtcCv 70CPnyiEGYZe3ftaBGDKI1Q1Nflzqj9AjVXlHtYVQjseIU3Wxk6eWLnccCzNmZQUI+rY r0EvxZY7MLWLzd4mFwh3nD4Ay5vf4Y4korbWKAto4kKwtDggjPUvEMhAO2dZc3gI3HFE L5pw== X-Gm-Message-State: AOAM532q9WvyUK+UELA0skVUcmbsSRx0NWKf6zrT12tNak/YfVj457ux ze8/6Ate23HDTetCx8CEXEceDw== X-Received: by 2002:a7b:c446:: with SMTP id l6mr2223901wmi.75.1622018857723; Wed, 26 May 2021 01:47:37 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:37 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 07/34] drm/amd/pm/powerplay/hwmgr/vega20_hwmgr: Provide function name 'vega20_init_smc_table()' Date: Wed, 26 May 2021 09:46:59 +0100 Message-Id: <20210526084726.552052-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , Evan Quan , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega20_hwmgr.c:781: warning: expecting prototype for Initializes the SMC table and uploads it(). Prototype was for vega20_init_smc_table() instead Cc: Evan Quan Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c index d3177a534fdf0..0791309586c58 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c @@ -772,7 +772,7 @@ static int vega20_setup_default_dpm_tables(struct pp_hwmgr *hwmgr) } /** - * Initializes the SMC table and uploads it + * vega20_init_smc_table - Initializes the SMC table and uploads it * * @hwmgr: the address of the powerplay hardware manager. * return: always 0 From patchwork Wed May 26 08:47:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448156 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017382jac; Wed, 26 May 2021 01:48:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZTPpQG+IiJnn+5J5X05lQrtt5GO04Tt5sbkxjSNr2Nuku2Cen9UtTUaoNjkJTZKp6Ac2B X-Received: by 2002:a65:6243:: with SMTP id q3mr24227076pgv.297.1622018908167; Wed, 26 May 2021 01:48:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018908; cv=none; d=google.com; s=arc-20160816; b=Q11kCDwZED03o/l6p6Lc3sphwDb/3TC8rPaXRFHYBYHqrfbzDatYVXFTS/C5yx9FbY KetnX6SHwo2agEsEimlxMfWunpux4S9rY1OwjtBFHpPDvJMRzyvfCz9Q0UmyXGSvT88K OOJyBKpnChfMmNu1h/HICO0JFIdkub6FzNWrfdDFb31t1aVGJfAJGCn3KpzO0nzFJYeq G/EQ0u428MYA3c9aqSdP3wLELjkOfaSBmuBoH/+yjYVX9adPnkbsbedfmsdbWeb1EpzI 4N4tIt/sWyZ+0EYkj9GgoDX8J+wvYX9OQYRxZWTpZ0lhatfTeFccOx0LUc83hp7T3Gg3 BI0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=YRtghyBemkM1f6IZ3GpJkWOqFfzHliaTl7AQXunGZzc=; b=GSTDBWAorjJeUfNGkIJaKekQczKH9F2RfbK17upuDKaJf3wfmujEMORds3oJMr8f1u FMKeUg6dHXZGJ6zWY2NaqM3pbsm96WZf5lbVzqAdDP/BBaEpy/DrCDhBTDTxiV7hNDTH Sx/i/L4F+2cPnvM0RhThFfY8uZhxI20vioUxas6HYeOWM+1KAt+kCr7X7113J1r8/t0c LhIi9WoznSE34fAVIq0iXBeZ9Ru3CvOejP6L0fH/CSr6VdyI+uNNGa0HrK+QcGgbVlzU y+Quqk72DnrXWkP8dZ79XOT373i7Nllm4W8VNgkTTZdk2dO9cLCrhDXlBajFhDO8tsrO pRLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Y24P+kDZ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id c6si6417947pjr.36.2021.05.26.01.48.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Y24P+kDZ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C3FFB6EC49; Wed, 26 May 2021 08:48:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0A8F96EC2F for ; Wed, 26 May 2021 08:47:40 +0000 (UTC) Received: by mail-wm1-x32e.google.com with SMTP id u5-20020a7bc0450000b02901480e40338bso2907820wmc.1 for ; Wed, 26 May 2021 01:47:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YRtghyBemkM1f6IZ3GpJkWOqFfzHliaTl7AQXunGZzc=; b=Y24P+kDZguBC+oVfwlOZFjooki7OrpJfb708/HImocxi6jC/uZws/ZGaZeCPgRGhsP 6rH5ZxL4BMZNfhpJiJ4g9XZYsk6YsowF9AlC7gvmBOEjVd1FoWoo67zki9tmuOORdyc4 SGdDw0BRw6nQ1CtrpdaCr0X3IS2WzJZs0HZ6AwQi1zhcuxR+rwOzbH2sbIuq5ZORCIeP yq97uTNUjojtB0lP0QMQsNZRkVT9jOrCJu+Doa5X69vt5c6nB+i0o/f+KRMc+AV5jE1Q rkYALgXhiGAs5SFxc/CIMVtGA+ypcoa6H5FoJ/9EGVWi9SpMhDkZxDwhgUoc2YLpQnab LzYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YRtghyBemkM1f6IZ3GpJkWOqFfzHliaTl7AQXunGZzc=; b=mom3W9hQq8Fczq330O713Bse+65B1ztDO5YNOAoGFP9HB65bBgfpp4bS1D1+vG77BJ xSDV5YjnamDOGc2o8jBDeVN3oOTr7pJWdDdUaTieclIlpUyPoAAhmfdcZH8QiKZM1Ryh 7wJEJfjVQ+HHS88rthghOWH0+jbCMh7jyIsAS2BIY11OCNuFDpAidnfvbbpPNbQnP5XL diXgEAmb8OemleCDiTKmVQOBk/gzdd1pAT9HYgpm++FZc2bN0dh3F5k3f9Nq2KwitJ+R DPyUdeeK7wNASOmhmhMFMitY990F4NilvDiXLJ5OKWmzSBIfWYTjQXFeUNHzA7iVIJ7t ogdA== X-Gm-Message-State: AOAM530AiOcTLNYTAHXn/GStX7T97xPooEvqA/CHr+IM0gjpcxbEVSIu QOk0pDU5AkIao/VN8EeZNxHfTQ== X-Received: by 2002:a1c:2cc3:: with SMTP id s186mr2365738wms.150.1622018858606; Wed, 26 May 2021 01:47:38 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:38 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 08/34] drm/amd/display/dc/bios/command_table_helper: Fix function name for 'dal_cmd_table_helper_transmitter_bp_to_atom()' Date: Wed, 26 May 2021 09:47:00 +0100 Message-Id: <20210526084726.552052-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table_helper.c:127: warning: expecting prototype for translate_transmitter_bp_to_atom(). Prototype was for dal_cmd_table_helper_transmitter_bp_to_atom() instead Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Lee Jones Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/bios/command_table_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/dc/bios/command_table_helper.c b/drivers/gpu/drm/amd/display/dc/bios/command_table_helper.c index 5b77251e05909..e317a36151477 100644 --- a/drivers/gpu/drm/amd/display/dc/bios/command_table_helper.c +++ b/drivers/gpu/drm/amd/display/dc/bios/command_table_helper.c @@ -114,7 +114,7 @@ bool dal_cmd_table_helper_controller_id_to_atom( } /** - * translate_transmitter_bp_to_atom - Translate the Transmitter to the + * dal_cmd_table_helper_transmitter_bp_to_atom - Translate the Transmitter to the * corresponding ATOM BIOS value * @t: transmitter * returns: output digitalTransmitter From patchwork Wed May 26 08:47:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448155 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017333jac; Wed, 26 May 2021 01:48:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXGI8LT5nLO5HPTUVMjPw+LbJzP0i2EMc/vZJDRVmUaLtSmEsDO4B64k6+4XgMniKT1JwA X-Received: by 2002:a62:148e:0:b029:2e4:e5a5:7e33 with SMTP id 136-20020a62148e0000b02902e4e5a57e33mr26172360pfu.9.1622018903625; Wed, 26 May 2021 01:48:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018903; cv=none; d=google.com; s=arc-20160816; b=zbUzgBGbQamC55M8hA4gRXHFtW8MXFrLNt37yWOWTRFk4hM02EqlUt3q8V4e/9/qSw ubYRY3G99pK+7Ha5w7UPxKdg/OC2o4/8w0Y0Y7wFX3oug19xrWJljZ7ohWZ6XtK1uDzc 2tS+5EZlzblGVR+f3opXxNdmxSRLYdYyoV77MkbIUKKB3V0V7uAMj+7zDpSMps1TtWAQ ETeiER5IG9my6D2gG4m5Jfd9MaD3tHEnxH8IJFZIAtMg0zZ4dQxxjXefN+OVI38PaLRJ HJtbH55kdLc4o3T0OJoQVYkcxEPKGO52oJdJ3BzW3fRCCU3pd3CJgeNs2mDbldVxplCH N8DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=hSDS0B4fQp47KmNI4VulVH8wz4wQl27Y7BX42nP21sg=; b=qouMLMvxAiGxOYBOUSd/2fbSbxQ2GllKlzdpXt1B/JjnJog+VnPzflkTEio9Dy8wtD +73b5BD3N80OhhdcLYOtjsTnXChL1G6invUea8K1uvCiWRTCZXXJ2WQEQdbODeKqXLEf v9RDfiVWn/trPqdRhvU56hrB4/8VRBzWv4twhms3WeuAG9MDN0DnZ1gf6nWlnW4d72OQ gwGYDZrhtg/pFRKO3Cg/+5VaACKnDFRZcAPgEYR4XIUvdzN7qdViEXmljJjiEbEK3TH3 rM74rOi57GCA/hiPjy31NOZ6iMxXsdVIHqNTgIDPkIYv2rYmzZm5sUV6Bvf1f/ZEkF74 ajbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="dcN/WRih"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id w16si2264405plg.152.2021.05.26.01.48.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="dcN/WRih"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6C94F6EC47; Wed, 26 May 2021 08:48:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0B5AB6EC35 for ; Wed, 26 May 2021 08:47:41 +0000 (UTC) Received: by mail-wm1-x330.google.com with SMTP id l11-20020a05600c4f0bb029017a7cd488f5so54485wmq.0 for ; Wed, 26 May 2021 01:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hSDS0B4fQp47KmNI4VulVH8wz4wQl27Y7BX42nP21sg=; b=dcN/WRihIO90bHiQ9m0MJt0eKZLdYaTMCHRtA5oqLwEwYpsQgez2GUQcn71i3ih0jW plNUmFHspKhJO2iQGHv17+YcEIRq4fiTrfQWA4ghswtFulk+FsfsAv831pv8xyB2c6cG owohKi5lh4ZipKQPkVyvihqIPKWE8AoypYbSepOd+/l8UozrVuWyHTfYYmlUD7EQHqgh GwstL/JKm2DpxzzEzwW+FqvbzAxso9w8qJcpSNqPW1TEJ1oRqhaGLvsQWsR+yqoCTV9C 1/iEm0F+7DwR2FNLxuVifk5iaWQWisncmcnNFZCooBlssHa10v7lifobDNHrux6bNLiq 3Wcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hSDS0B4fQp47KmNI4VulVH8wz4wQl27Y7BX42nP21sg=; b=txIAbTr+YtrxEn+1qo8XVyFACxbkSnkPeLqkqXYx/TQYooBYeS1bsmUR8f2NoIZwYB 39Yn+ySsD9RXOlcx8Iqvpr1riN05Qy+uzzZYlV+Fv8dY1LLC+NnL9n02C6IozlhZbEt8 7AH6SVNOcbqiaYhpQ3tiWflGLmFAQ8sFpPgryvGWh6DeJB2mf30C8+Jl0Ma7PyuTH9ab +dDQoF/K4ym7cFsGOhKTy+mkuwORFD484SZirRH/l2JnNVxoLNs80abzY6f5YuwnFFaf 7NxkR04pKwEarK66QkzR3tu77VCeLrBJ+rR++7T+GxLJvYhdMhT7mDtUqbzxAPscsl4Q AQcg== X-Gm-Message-State: AOAM532X2kjFwoHEJqt94mTkLPKQbm+F6ZQEDdw/rJogzro7jSL3pOIt CTwDQijHFcehlF3bViqHCyrB5w== X-Received: by 2002:a05:600c:2289:: with SMTP id 9mr2320654wmf.29.1622018859683; Wed, 26 May 2021 01:47:39 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:39 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 09/34] drm/amd/display/dc/bios/command_table_helper2: Fix function name 'dal_cmd_table_helper_transmitter_bp_to_atom2()' Date: Wed, 26 May 2021 09:47:01 +0100 Message-Id: <20210526084726.552052-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table_helper2.c:141: warning: expecting prototype for translate_transmitter_bp_to_atom2(). Prototype was for dal_cmd_table_helper_transmitter_bp_to_atom2() instead Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c b/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c index 00706b072b5f8..6d2fb112ad9f9 100644 --- a/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c +++ b/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c @@ -129,7 +129,7 @@ bool dal_cmd_table_helper_controller_id_to_atom2( } /** - * translate_transmitter_bp_to_atom2 - Translate the Transmitter to the + * dal_cmd_table_helper_transmitter_bp_to_atom2 - Translate the Transmitter to the * corresponding ATOM BIOS value * @t: transmitter * returns: digitalTransmitter From patchwork Wed May 26 08:47:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448141 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017034jac; Wed, 26 May 2021 01:47:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3nMZP0+95BO2JyMgXVbdY5rAmm+qrz5c9XrImLQ7d5GN+oSFU5M8iiihwXuqBaqUs0PQJ X-Received: by 2002:a17:90a:d496:: with SMTP id s22mr35040503pju.146.1622018868819; Wed, 26 May 2021 01:47:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018868; cv=none; d=google.com; s=arc-20160816; b=AeRLIVHAaRlnMAXHwIdeiEcC3qhQd8LQq+ws2rlenvKndQeH78RY5uvfXLmCw7V1ql c4zQ7JrCXOC4obSDGCu6Czh7APwdz9Ubyo1WUjZS3EabZaqPcmkJg0/m/mqMD2JpKw0t zwCJkwbNYxqYnF1tX+VNYUuI5nTuOd0YfI+AgU1/0DAxUog0KQfKa/PygH/rKrIzKxQY XDApfRWMHEiDddmB0I3ZbU7fTPyc3LUgLvoDTHKzXcvfeJCp3LI9KyQ/Ay5ozEN0CYKL zIiY+XLq4Sptb2+RlbLdUOXbNa93H2lUS4zzLTBZ2h1jh1h/p6nAkNDRc44M3lYoIxKZ CiYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=S7Vhy55irc0KIRnoY1AtIhd7OdR89vjnmNeVszJAECQ=; b=OeGyvC4I8JWg50hl3wZa7uHEh/P5ALsDaMVw3+0opmG1S83Gom0T9BDt7S+veZUV4K 3lOXq82yKGXwMRdTVBw9nOvJchic/GZYwgQF0ax0S7END7BvzOeeFDuGUwIIxOrxkRJy HeVt4HrU7XKXmVkQG+JadWnLrj7GIuhLhzg4hvLvaAdCYgxRZpeYZ8MNMDtgIwZ4Kkyn xnp6vBLaT3F5faO8NpjLDdDLFGI57psnWKWvVierJbrPGCMKFL48zZnLl3bYzxz0/9SD eXmR+CgStJoilDttBwnySfyui0eBlV+baHHvkenhw2nDt2JHvtqTHe+cCPr3nWdvewHa ahCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=eOgEFPmv; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id n123si24851142pgn.286.2021.05.26.01.47.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=eOgEFPmv; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C5CE86EC37; Wed, 26 May 2021 08:47:43 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by gabe.freedesktop.org (Postfix) with ESMTPS id 25EC86EC2F for ; Wed, 26 May 2021 08:47:42 +0000 (UTC) Received: by mail-wr1-x434.google.com with SMTP id p7so179209wru.10 for ; Wed, 26 May 2021 01:47:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=S7Vhy55irc0KIRnoY1AtIhd7OdR89vjnmNeVszJAECQ=; b=eOgEFPmvC30HjVNA4Cq3235ugvwODQjfTMEVmYHNrTdvhnuoAsJejtxVRd3f8oj5Wi oRQQEFGbC4NXCz0QMPmwIR9qxYU8DlpvdkfUMHtBfcdLhB4yMFUMnzwNIY9CtmqCJTHl O+HbpzWWWcraBqJj1gRG9fQMp6wrPlO13d0Bi4B96ycuqw9dL+o0N7dsrc6tiDzncxrL HsIEr8NJ/tttK8hTKWsYTDcPjNF/E2lrmYRacRhA6AgqtomdIxPuOSSeTso+7plsZXSX OwoSpcUV7EtXkzV5ljXXYXBGzsjWUHAErFwWrwqJ44PkNDBRO9w9EIZjfw5teG+aul48 hnlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=S7Vhy55irc0KIRnoY1AtIhd7OdR89vjnmNeVszJAECQ=; b=YopYmBtbyS32ai/42/ksatZEPxzUqw37Wrj6vfCPOgWikXfu7Ti1+zqdCH3Ui6+VCv QfA6GNtVj4SAkmmsZlNLjwT4Vqk6cKquDWbP1EFz8hXZuTGuPd+IajUeC7XyOz56jTf1 QOhjkS13psUt+jxIeYOb/kcD0fRKTcS+CGtF83oY3zvZTIwmEeMOZe6wcgCOd4qPzX7b khQEH4pQT4q/Y4S4bTqu/l1tLW2EMHLTBsQyMXt+LhZRAQRxRNeukMOpHWuWzdMBo0hU BEoHJsFwajtHG/WAXVHZa9WJWzQDq7IMIm+aQFAgMUxTLZvHmdp0bOn2g+lCB/PZSGqG Jupg== X-Gm-Message-State: AOAM531xN6cOM/FTk2jRjGwrucHNl99jYAnhWtuHONYumb8TrMtpBt7Q Rf0QQqO0NRFMR4srlUOfMy4gpA== X-Received: by 2002:adf:a2de:: with SMTP id t30mr16243809wra.104.1622018860628; Wed, 26 May 2021 01:47:40 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:40 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 10/34] drm/amd/display/dc/bios/bios_parser: Fix formatting and misnaming issues Date: Wed, 26 May 2021 09:47:02 +0100 Message-Id: <20210526084726.552052-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:997: warning: expecting prototype for get_ss_info_from_table(). Prototype was for get_ss_info_from_tbl() instead drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1562: warning: expecting prototype for BiosParserObject(). Prototype was for bios_parser_get_ss_entry_number() instead drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1739: warning: expecting prototype for get_ss_entry_number_from_internal_ss_info_table_V3_1(). Prototype was for get_ss_entry_number_from_internal_ss_info_tbl_V3_1() instead Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Lee Jones Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c b/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c index c67d21a5ee52f..9b8ea6e9a2b96 100644 --- a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c +++ b/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c @@ -979,7 +979,7 @@ static enum bp_result get_ss_info_from_internal_ss_info_tbl_V2_1( struct spread_spectrum_info *info); /** - * get_ss_info_from_table + * get_ss_info_from_tbl * Get spread sprectrum information from the ASIC_InternalSS_Info Ver 2.1 or * SS_Info table from the VBIOS * There can not be more than 1 entry for ASIC_InternalSS_Info Ver 2.1 or @@ -1548,7 +1548,7 @@ static uint32_t get_ss_entry_number_from_ss_info_tbl( uint32_t id); /** - * BiosParserObject::GetNumberofSpreadSpectrumEntry + * bios_parser_get_ss_entry_number * Get Number of SpreadSpectrum Entry from the ASIC_InternalSS_Info table from * the VBIOS that match the SSid (to be converted from signal) * @@ -1725,7 +1725,7 @@ static uint32_t get_ss_entry_number_from_internal_ss_info_tbl_v2_1( return 0; } /** - * get_ss_entry_number_from_internal_ss_info_table_V3_1 + * get_ss_entry_number_from_internal_ss_info_tbl_V3_1 * Get Number of SpreadSpectrum Entry from the ASIC_InternalSS_Info table of * the VBIOS that matches id * From patchwork Wed May 26 08:47:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448160 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017433jac; Wed, 26 May 2021 01:48:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6s/AiN/tytb5VjBGMRyNjHmThhG7x+KJeC926XT6Bt3eY/nbc5jXTjUwERKydkS6pMVck X-Received: by 2002:a63:fd44:: with SMTP id m4mr24301200pgj.396.1622018912859; Wed, 26 May 2021 01:48:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018912; cv=none; d=google.com; s=arc-20160816; b=mJMxn4aAK5zjaIK6i14nK5cL7w3UVbq8jK1NWHq+hWmhnz318kO/XEeKLxW4kLkDMM Gn8n4xgwTNpDjl9iCyF83QR62z2HBeq43tKW1QzsjHpKA/P0DFT3lHFhpAzGwFUKeKME FIAeM2axexNqJbtp0dI1Z0eixYxUL4fZas9tHkXdz89R8ga8XY0M8ADaM22Y1+3hp9xn C0Vhslk7Obej1KvnA8wdW+ew8S3Z0wOGVyUNbJpOPW9M0ISLOpFDZp40V22vefiMszJM zvGcJ4RYI5oC/CQDLinWu+cPTCsDpLAdGorMZjPdYOafX+1YxR5Fm5DXvFps5q/9kjZE Q30A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=SjYtCEx4Gm+TGSpGlmvvhCGW5wnbP6a4KsRuIEipo4s=; b=R/p9kH1AaO4U2Q+uFoJTIlrFg9Rmvx6Yd5vPoMjNVAuSH/mZhtiObycAOP2PKr39kH N+qd8n7xjG7Iz16ARstzurvvBT6ZDjRQqstkExndjkGIoOGG2YPyQR66Lf6ESqZW1H2T 91+pl4D9iuz9Ac+/Qi1hNmtOuRQOkWj1lzmhS2TezwSDHb3nhBYujLLnM0YR50GUWyJB 3Zwifz/yGZkEXTEmyRQpg652N/fhaSFchKusqkBrza1hICCIk+8RAaB5aLTw/t8ERY4O BxdR3evkQTrYPNpKPRKk3m4cM/eNGxJrBOUBT5F9ylLQaEgoFLcXwxMb+ZScjBsQ70Ec Yc0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=k1w7aNlL; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id w5si11166781pgf.203.2021.05.26.01.48.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=k1w7aNlL; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9055E6EC5A; Wed, 26 May 2021 08:48:23 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by gabe.freedesktop.org (Postfix) with ESMTPS id E2F006E4C5 for ; Wed, 26 May 2021 08:47:42 +0000 (UTC) Received: by mail-wr1-x433.google.com with SMTP id v12so204308wrq.6 for ; Wed, 26 May 2021 01:47:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SjYtCEx4Gm+TGSpGlmvvhCGW5wnbP6a4KsRuIEipo4s=; b=k1w7aNlLT1e33HjFRfzfE/UNKNo0S/GpjOvyoBjBf/hSBqbU+mHpuVOC4MwqDZJDv0 snC2Kzgy1Bmynda/6vGqWZAcIoOhIL201vTq6tYQVFZD/1G23DST+cA1Bn0EErZVOVWh J+81I50IbJqyFwwd+QKxO+UmcFzA0CQpPxsEmbzJrBnenMZs+9twXLjtaCkJvWf4LXLL HjC+MCrFrmUZNx2KrSyaJHPpyqc+jQiJZ0HlkjWoceJSs5UR2J4Lk4BMmvZSPhCMLLJB eeMSoO4uXccH9L0S4w9Rk9YQ5zJkC5Z/f2nJmK6Kl/ob+2DCmdVDD51nnJdAiYtHcGFO 5z3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SjYtCEx4Gm+TGSpGlmvvhCGW5wnbP6a4KsRuIEipo4s=; b=ns9vtMYpguCqjuml3rC8zFzsY3v3bagddOizW2WVJplIkPKSfjXO+KvgSl8GXLkmuV RoL2Y3cri5YHIjstJlHrdPftQ9angJpBF9cedUuZmO5MRJtQ6ZQr87w3wcdlJhysPvjP 8izEjmgHFnvSCoSJ64DLQeqVzfc+m023IRkHB/XLlOBNhEqJfCVWMcnNo7dXQMqhH0oq cjGT27//qRWjkpWtAzvWOMguqFCsjChLP1B9H5QV23dkTbk1jVK2SLvEYQYS/3FERJzQ 7qjMWcjAno/wW4NZgT+Ze7R8/0L6DKLXy5NyDyhRt3KPvT2rNFPM8ZTSINzlHYZMjMiQ RvHw== X-Gm-Message-State: AOAM533fAC5uFj+t7RBWM94S6sACWMkoLgw5dWmH2URqt0MXXAM2Ne4z ySOhPxgCuB9MFkaHS77/dzyjpQ== X-Received: by 2002:adf:f9d0:: with SMTP id w16mr32450663wrr.336.1622018861604; Wed, 26 May 2021 01:47:41 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:41 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 11/34] drm/nouveau/nvkm/subdev/mc/tu102: Make functions called by reference static Date: Wed, 26 May 2021 09:47:03 +0100 Message-Id: <20210526084726.552052-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , nouveau@lists.freedesktop.org, Alistair Popple , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c:50:1: warning: no previous prototype for ‘tu102_mc_intr_unarm’ [-Wmissing-prototypes] drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c:62:1: warning: no previous prototype for ‘tu102_mc_intr_rearm’ [-Wmissing-prototypes] drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c:74:1: warning: no previous prototype for ‘tu102_mc_intr_mask’ [-Wmissing-prototypes] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: Alistair Popple Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.31.1 Reviewed-by: Karol Herbst diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c b/drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c index 58db83ebadc5f..a96084b34a788 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c @@ -46,7 +46,7 @@ tu102_mc_intr_update(struct tu102_mc *mc) nvkm_wr32(device, 0xb81610, 0x6); } -void +static void tu102_mc_intr_unarm(struct nvkm_mc *base) { struct tu102_mc *mc = tu102_mc(base); @@ -58,7 +58,7 @@ tu102_mc_intr_unarm(struct nvkm_mc *base) spin_unlock_irqrestore(&mc->lock, flags); } -void +static void tu102_mc_intr_rearm(struct nvkm_mc *base) { struct tu102_mc *mc = tu102_mc(base); @@ -70,7 +70,7 @@ tu102_mc_intr_rearm(struct nvkm_mc *base) spin_unlock_irqrestore(&mc->lock, flags); } -void +static void tu102_mc_intr_mask(struct nvkm_mc *base, u32 mask, u32 intr) { struct tu102_mc *mc = tu102_mc(base); From patchwork Wed May 26 08:47:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448145 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017105jac; Wed, 26 May 2021 01:47:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGt4+9hXxB+dLL6GWf4KHq58Zy94QRVQESct5nwrQPhzGKiMLPPvxi2tZMfgsD4DokJV1P X-Received: by 2002:a62:cd49:0:b029:2d8:ae8d:6a9f with SMTP id o70-20020a62cd490000b02902d8ae8d6a9fmr34372076pfg.50.1622018877950; Wed, 26 May 2021 01:47:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018877; cv=none; d=google.com; s=arc-20160816; b=sawhdQAoQJfUOLe1CGQusdV7lMGR683nirhqnxOnoW+D/zqDZYgAd8JP40zshEcuuP k1PEYv7ojPtXkiP0ucrTlxQRMjzw2+C+LEFl8f+3j0Cazzxf8dz6bD1ItQd1pC+mGtEB 45QI0Gk065FR8rHfWNokFUyIW4kFq1fqS19WW0FMWdsQvSZFxVDXqhDioULHssSIERYm Upp4hEDzWUwoO/LeGoyNU/kUDDyddncWPiDFs/Yfj9iObIOJHJjX/AhQ+l2BadOo6SAk np10brzJ5OwnuPfKoxL3Kpbef+f4UbbV7tAL4zV3zVpy9qBFw94AfnGiPlOtioLAfgxA Tl/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=X92MMk5kMi/9Whx04jPkFETzN+cajEcLCrynmOFE/4E=; b=eJhwbPGyFlQkRE8vQsBhpFt1dp/iApufz1zxAl0egVbY1a9cX5mmkyBTj7uzZcwsJX Ey3KHsbnXqO4jTusO3rj6nOWaZUV0XbQ7lxVAJQn3wjPzysXR5FAFdsIq8cTeRbxeS3V pZxL9vI/hw3BF7754zVaRsZVycBafjqcFSk8GealHr3mEJVsRYuOySpmU8mT1HuDiPjq aXbQziECuqLgxwi7l2i5jvGjp1uiw+fWYyMqiI5djOgp64/1TPjerSHIZeY9RnOIlED+ ptm1EGZmEmuxYS3DHdGzltgXX5kbaKGTjn8JhQKCWJF+2L1JO7DNtMAPwV9PSgLGPaHS iygw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=h9EonsBw; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id c22si17940119pfl.218.2021.05.26.01.47.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=h9EonsBw; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E47A86E4C5; Wed, 26 May 2021 08:47:56 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by gabe.freedesktop.org (Postfix) with ESMTPS id EC1F36EC3C for ; Wed, 26 May 2021 08:47:43 +0000 (UTC) Received: by mail-wm1-x332.google.com with SMTP id l11-20020a05600c4f0bb029017a7cd488f5so54575wmq.0 for ; Wed, 26 May 2021 01:47:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=X92MMk5kMi/9Whx04jPkFETzN+cajEcLCrynmOFE/4E=; b=h9EonsBwz/L4qhRXfcmGTgEQaj4rDXaTaENbNk0xlbWhzOzw3iokduWpAr1XGqvUYN mCQkU7iW5Ma/zft9eiE3GgFXXMsv0TDecBvlMSmwZWwY7ZGw4yQ73VZqRG+4OGWcHcsw AZH1HqlOL6gyIIGI5k42oq5XLy2rYWrZmQkya+Anjm0IScxY7bMXLGi+fvFVR0BAATM5 14SQjCaAeDmemdH/qHWXKgE/GLkh/lKQILaBoIVP1pkFXhTxLckAaIcg+AcEPnrEv4re WgukuG4TDE9/Uz7FvNnqB9w/Mk6LFDWBrDCr+Lz0T2ooic53RQuR70abTxVsWAVfvGkc CBXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=X92MMk5kMi/9Whx04jPkFETzN+cajEcLCrynmOFE/4E=; b=ls2V4ZPLOT/0J/uAigrtlJr/Z9zUTGt8dsXGkg3qz4nEQvodB6KQ6ibbzh02+Q0q5l fNilAu4K6oElrZX03xdkhtxHhlXWxvxbFHk/JflClsZbU4JdmO910PLYdsSjQn/97qjr rcOl4KN3jdvhQFpPIhWW7thHet6KJc8JLUmhLxTuLkol8xxlM4RABAqdenEvj1MrzB6T o9moC6984xDytj0eDD1B0tlUdQ8YJOotuDfm4oWqMY6tSPzYGH12tH7HzOMUafmqiyZH vvl1cu0jFfgYcc+mOsT/6vv3Z7sUzXqeTlh+UJ3isPMkA6h/l2BHDsLd2gLWuyrErEME lDeQ== X-Gm-Message-State: AOAM530YqplQJX+D9KWjyodOecUpEJoa7JxqPcfq2mh3w23YTEvmNF9U 6LmlzDhMqWK/lplU8j62+/2P0A== X-Received: by 2002:a1c:e284:: with SMTP id z126mr1717471wmg.108.1622018862620; Wed, 26 May 2021 01:47:42 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:42 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 12/34] drm/amd/display/amdgpu_dm/amdgpu_dm: Functions must directly follow their headers Date: Wed, 26 May 2021 09:47:04 +0100 Message-Id: <20210526084726.552052-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:608: warning: Function parameter or member 'interrupt_params' not described in 'dm_dcn_vertical_interrupt0_high_irq' Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index b4e95d3ff3b88..ae0a95c5f1d8c 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -601,6 +601,7 @@ static void dm_crtc_high_irq(void *interrupt_params) } #if defined(CONFIG_DRM_AMD_DC_DCN) +#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY) /** * dm_dcn_vertical_interrupt0_high_irq() - Handles OTG Vertical interrupt0 for * DCN generation ASICs @@ -608,7 +609,6 @@ static void dm_crtc_high_irq(void *interrupt_params) * * Used to set crc window/read out crc value at vertical line 0 position */ -#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY) static void dm_dcn_vertical_interrupt0_high_irq(void *interrupt_params) { struct common_irq_params *irq_params = interrupt_params; From patchwork Wed May 26 08:47:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448165 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017486jac; Wed, 26 May 2021 01:48:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCqaUqMFv6F85iuiJvCI9Jt4H6liVyAW8cJuIx2MDmpVGyuC0MZuaOKvcIrb8N/i3o2Ebb X-Received: by 2002:a63:4b43:: with SMTP id k3mr23767471pgl.450.1622018918700; Wed, 26 May 2021 01:48:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018918; cv=none; d=google.com; s=arc-20160816; b=VP6R5lzx+kmQDMg0Tk1Cz3Ohx+qjC0/QRlHeJnsND2w6pO+C3JmiS0BTbOPh6lS78d 2wO+wdLO6uXFAIr5nzAWT2c0Nm/kHd3EeYtkSV2PtRMlvW8TDk23LjaFwGI663avZxqz gA9lmqUVsJg8h54qwCNPCRbUbFrRCXxItRdq+2/fa5MpKMUAp+7QeCrIejkefaDXs4kr JiAEMWq+MhQ83LlkjExXwUF1PrYNzRDe0DPcEArt3k8eeaXZtD1q932UoCGpUrQVXfJ/ IhlKeT/l3wJhHL2gLYQVW4+Fmrjn1/RPZGN9KYsJrM2hqlLpxyHP5cuBP5aq+gjRbcM5 5CcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=b58/b35h1ySITpV32UiH3hgADkqDQkiEXVcNLNWEueg=; b=GI2eltARFvVh1+gFzw8eYxIIBkukstRKZOQanmEdVEbU5CZ6eGxNswN9A6a6KTrKGg XnYkRzuSMvGP9HmUtMs82T04Ug2TXNpT59uZjU16KTCnUtQ6Yce2Lo5j7jILi0OvYlF2 kHm4O/6wJVggiRNFZZ2IrId3ZTbXtS08Txpvlpf9a52yAo6Q0VG03FHDXuklxXidw2ig jumxSmpeuvkFbLG3LnTvQh+r5cNWw07B/cfn9/CJRDzGUYZZJ3AU5q3Zuxbns0sO3XTm DK/CvnXZbXRsuQ6gNPLH6njYWejgPvIgPg/nOt+8wzZtxVOMIC5vlpilFcqyfaQ99RCr UmMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=lS2dDBdK; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id 60si2368717pla.376.2021.05.26.01.48.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=lS2dDBdK; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 33CC56EC5B; Wed, 26 May 2021 08:48:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by gabe.freedesktop.org (Postfix) with ESMTPS id 29EEB6EC49 for ; Wed, 26 May 2021 08:47:45 +0000 (UTC) Received: by mail-wr1-x433.google.com with SMTP id x8so184171wrq.9 for ; Wed, 26 May 2021 01:47:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=b58/b35h1ySITpV32UiH3hgADkqDQkiEXVcNLNWEueg=; b=lS2dDBdK3+lqs/BpdDNpVbyj4ptYsVo8RYqPRKNGSWwAX72gmfXIQtRmaqAPtS2a27 VtwUMNtHed1uPMM4kJHGvF41ejYzstijQToVtJKeXj4Au3Xe4o+RehgjcsYOTuxsA7Wq AHXdyji7xPFSiksN67m9VVZbiR0XEx+MFzWgP7tOq3GT4vnTbW+LTnYVvozRJ8YJckp1 15CLocjxNl4gGzqAYHsa0Tud7Fljic6Ockj+03OqQy4v5wU2hhyGJ4W1ORbj31C8z3gc +LXHOUkVrztyKpQk8k2SwIqHIxOSF0HR48NvkUB2iml7BjE8fI0Tln6vmDCVv3WSwXgr P3qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=b58/b35h1ySITpV32UiH3hgADkqDQkiEXVcNLNWEueg=; b=NMNMrdQ/ESLT+vjxM2QHCWy5fBnhbV31LOHN5VRoCWmP/0lyXGduspPMeTl4iLiBlp ZiLPzkmOdgUcR1PDRgBtCf/GzKZZEf+MYi/qHKzfIlhWtSl4DFHhF5x9hxnJsh+AvRCb 322PU4ScSx6cde2Sy8mZLb+og5ypd9eg3aQGVEAvFsqdh6qErL2ifW2PzcLeS4B8PCT/ vEUToc6ttUfJ0JaviP1yUdoBXV3ygqd5OnpOW7WZ16QpKhMCLkGQdT45Ujma7tjhSAho uOMzLtaNQS4h9ID8nVnsMQ3FJSS/sF2+HHu2NbkJxa7XNF19T4u5pXYXIT0EgNljb7/1 WR8w== X-Gm-Message-State: AOAM532UnOhA2yNzzPAsW1eLBCftxvH/vTTkOVDbTgFM6pem+MbA0H9V MJ54nIgcCKFw8yq0FGTaYQ0Wyg== X-Received: by 2002:a5d:4e8c:: with SMTP id e12mr31664433wru.94.1622018863739; Wed, 26 May 2021 01:47:43 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:43 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 13/34] drm/amd/display/dc/dce/dmub_outbox: Convert over to kernel-doc Date: Wed, 26 May 2021 09:47:05 +0100 Message-Id: <20210526084726.552052-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , Rodrigo Siqueira , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Meenakshikumar Somasundaram , David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , Jun Lei , =?utf-8?q?Chr?= =?utf-8?q?istian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_outbox.c:30: warning: Cannot understand ***************************************************************************** Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Rodrigo Siqueira Cc: Meenakshikumar Somasundaram Cc: Jun Lei Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- .../gpu/drm/amd/display/dc/dce/dmub_outbox.c | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/dc/dce/dmub_outbox.c b/drivers/gpu/drm/amd/display/dc/dce/dmub_outbox.c index 295596d1f47f2..faad8555ddbb6 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dmub_outbox.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dmub_outbox.c @@ -27,19 +27,10 @@ #include "dmub/inc/dmub_cmd.h" /** - ***************************************************************************** - * Function: dmub_enable_outbox_notification - * - * @brief - * Sends inbox cmd to dmub to enable outbox1 messages with interrupt. - * Dmub sends outbox1 message and triggers outbox1 interrupt. - * - * @param - * [in] dc: dc structure - * - * @return - * None - ***************************************************************************** + * dmub_enable_outbox_notification - Sends inbox cmd to dmub to enable outbox1 + * messages with interrupt. Dmub sends outbox1 + * message and triggers outbox1 interrupt. + * @dc: dc structure */ void dmub_enable_outbox_notification(struct dc *dc) { From patchwork Wed May 26 08:47:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448148 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017171jac; Wed, 26 May 2021 01:48:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5zXf1mK7Yh4X60CW71cHhboR7qoc5TU36x1oR5ou/LmVoa86BADk5zkdPlRYXsCD4pIFa X-Received: by 2002:a17:90b:2305:: with SMTP id mt5mr1774497pjb.198.1622018883040; Wed, 26 May 2021 01:48:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018883; cv=none; d=google.com; s=arc-20160816; b=q8Ckzd08dEpEMR3Cg9ax2GfyMfewsAiWQdN+WUL6wbmWFb9VXKsbbw/ELuznamMYlr RGqwF1z/CuGSacMaBb2jLrTbl8mJcU67eHyfd2KUUgk+G5mNJDPSDBTviUbHaMx07LR4 8rXtnlgxCGxLOwFH2/PPKHgqq+dmROzHLaSInp8EUthvFImB99aeuiYGnaqw99VmpA97 7EBkdoreFOCfFo+/lB8H6Ddd9n2OmIS2xnDAqmQLh1GFMXTjvoiJo7Sq82PZp9XncLTv B7FMeID/UoxRnm4+jSZGBHGu4nTuZK5N+Pt+cyjBeY5AChO2tb+RSEDbCf/AuIaw3ybN ZTLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=y4rHhgO5kc8Uj3Lmp2tl7QIeeh0JqKynJlHlJf9HHsE=; b=vTPRZHIbmKARlMgduyeQA+NXoUy+c6fSYOct7GDLnM+39JmEMkqa9x/aFLinttD5G1 iE1A0Ndck4mwD+0ey2Dja0KUcvYPEAIY3fux2CsdXVHUhnErYYiss5A2GKyDI1NMeH8j TFc7Mg9zebaV0SLEQoqNT5TTdKe+lhp2f+E4EQQEtueAn3Q/y1mHoV9GJttR24uXdvQX 3MGwjnk2OPvzOxQfiAwtTEYkKTvMS8VE474RY300IV/S5Swgh+8X2yq28ivkLdb7aQdI CH2yf8KU4vIlLm5+5Dxf3GaPCJC18yI8SEstW1Z6GV88mcTik7fWAWX+YTQhRNX847sC yq8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=pTKy7PwP; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id b15si22945943pgn.293.2021.05.26.01.48.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=pTKy7PwP; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6C8FD6EC3A; Wed, 26 May 2021 08:47:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by gabe.freedesktop.org (Postfix) with ESMTPS id 251906EC36 for ; Wed, 26 May 2021 08:47:46 +0000 (UTC) Received: by mail-wm1-x332.google.com with SMTP id l18-20020a1ced120000b029014c1adff1edso15016841wmh.4 for ; Wed, 26 May 2021 01:47:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=y4rHhgO5kc8Uj3Lmp2tl7QIeeh0JqKynJlHlJf9HHsE=; b=pTKy7PwPYMsEXaJH7oJfEPlkKYTVzDOWLgysWs0lli66m1+1b9YZwKwKje1Y0AtAwS ua2YswIkDmK/6J5vymRUjqigKGrVmrx1BBlzlFjv1w9naTfx2iR2TVZvavFrVVgYj2NF p3wpU4dx+LyBifeZLRvnkkS3jlHEkeOyv9wKC7pAsi1jNzzzbH2kaflP0eULkRGHPwrO hWM5uSFAKWo+b7Eond1ho04GldbKOIP/ayNZubYoU4QXrOwHTY19FMoigoAk1nAwrm58 JyiyOEjN+aAU0GiufMh6JFioygCs2IAbnM/T1taDb/VmHq2IfD4ZiKnC55QdQgE+YrrT 8wdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=y4rHhgO5kc8Uj3Lmp2tl7QIeeh0JqKynJlHlJf9HHsE=; b=bUa8jeGJH4XDaadGdt+us3ktmns+1aAAm7U9EsquBnvJ5ehTslfjSuPlVzV7BmxVyE DPtA64vURI2P8SUqAAacmcSmXTTOqLoKnafkb//vZWSq6MX8MshV+zf70iXuoUmryr2+ 9GvbJI86zk+8K+h8GwOZkauPF5QU42/Qw2WvqEIRzp1aspA7XRiniNMj45wD1w0Xw8dx wtm8w/EF+pV0rUyj7sKuw1uFi+tzBaYYyFB+7j/erJPBM+Sl8MyBqZf7/LRPen/08FzY V9jYH0Cn7XJvHLJDpPxYjTkWIye5vM0RU7wkjn9tHlkbZUpK43G+yODAs8QxzT10wfPS GO0g== X-Gm-Message-State: AOAM532H/Q1y8ulrpwf3A0x5gmbK3AnsmPH1ZolaLugBiOeHrMJaePRb pE+G8+/PLrjncru3w04xLbnf4A== X-Received: by 2002:a05:600c:896:: with SMTP id l22mr28149778wmp.164.1622018864815; Wed, 26 May 2021 01:47:44 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:44 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 14/34] drm/amd/display/dc/gpio/gpio_service: Pass around correct dce_{version, environment} types Date: Wed, 26 May 2021 09:47:06 +0100 Message-Id: <20210526084726.552052-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c: In function ‘dal_gpio_service_create’: drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:71:4: warning: implicit conversion from ‘enum dce_version’ to ‘enum dce_environment’ [-Wenum-conversion] drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:77:4: warning: implicit conversion from ‘enum dce_version’ to ‘enum dce_environment’ [-Wenum-conversion] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c | 12 ++++++------ .../drm/amd/display/include/gpio_service_interface.h | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c b/drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c index 92280cc05e2db..dae8e489c8cf4 100644 --- a/drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c +++ b/drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c @@ -53,8 +53,8 @@ */ struct gpio_service *dal_gpio_service_create( - enum dce_version dce_version_major, - enum dce_version dce_version_minor, + enum dce_version dce_version, + enum dce_environment dce_environment, struct dc_context *ctx) { struct gpio_service *service; @@ -67,14 +67,14 @@ struct gpio_service *dal_gpio_service_create( return NULL; } - if (!dal_hw_translate_init(&service->translate, dce_version_major, - dce_version_minor)) { + if (!dal_hw_translate_init(&service->translate, dce_version, + dce_environment)) { BREAK_TO_DEBUGGER(); goto failure_1; } - if (!dal_hw_factory_init(&service->factory, dce_version_major, - dce_version_minor)) { + if (!dal_hw_factory_init(&service->factory, dce_version, + dce_environment)) { BREAK_TO_DEBUGGER(); goto failure_1; } diff --git a/drivers/gpu/drm/amd/display/include/gpio_service_interface.h b/drivers/gpu/drm/amd/display/include/gpio_service_interface.h index 9c55d247227ea..7e3240e73c1fc 100644 --- a/drivers/gpu/drm/amd/display/include/gpio_service_interface.h +++ b/drivers/gpu/drm/amd/display/include/gpio_service_interface.h @@ -42,8 +42,8 @@ void dal_gpio_destroy( struct gpio **ptr); struct gpio_service *dal_gpio_service_create( - enum dce_version dce_version_major, - enum dce_version dce_version_minor, + enum dce_version dce_version, + enum dce_environment dce_environment, struct dc_context *ctx); struct gpio *dal_gpio_service_create_irq( From patchwork Wed May 26 08:47:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448152 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017231jac; Wed, 26 May 2021 01:48:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzM7AgbkxE+/s5m5G62Hh342pe40NpXxlYrc5e6DQ3z+tSs9XLWG/vxKB4zawFD0FiR0XiY X-Received: by 2002:a63:78c3:: with SMTP id t186mr11594313pgc.186.1622018889800; Wed, 26 May 2021 01:48:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018889; cv=none; d=google.com; s=arc-20160816; b=VOAaIOslSdRU76MRplZmNhukrHkfydUQ1ktahE5EZRezg2/HOtM7umKA9z1+NVGBlO bbG/SYpeGGsBETjp6Bvq+izTZfd8LzqJr9qkTcMrvPJ2S95PaHBb632ONEuGuIrhrdJX I+tyBMu+sQ6xC2Ojw8xp1Pe1uwty65Y1o4nLzKhweKeh69jjR8VCHtDEWTw+Pglj/D0x 09vPUHYS0EV4xx2TRumMJdhtJ56YVWmPNGL2thl8UL8aCef/xuIQFW1uswqaqpVT3+I4 4rjlwolx+B14pTobKv/AuxvwYtiM3UMNwOa376VqbQ9b7WDoBVouHhgCXGqUfD5EPDyu vGuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=lH0QiIv9GplFfw8+sE0Oz9qNWUTXoSa9cJ3TV4liCwY=; b=ukvGxt99v0c4qJlJDW8Jcjj5NYSv+vKPiWP4gor5WarHYnsZWwAYTrzgpvtLruDjJu 5KmhUDehZT/Jvlw9DTQw6cKkw8zds9T2hstRo4kDq5cCjKLusJQcckJuK+2PS5YDFReC y5mxlmeNpdjRLJOqWN9Cwiizcf0+wcGJP7zytbwx6cQG8FwvCn1b2N8YiiX1jNFMnIyu +gtNEAhkUVULQG23o6vfaVHhpUe5CcRgKCmef97JQAowJsPHCKcVXdpLmQXphmOfID+V pZ7xQmYqIyygqC88YqOfOCU7t0CTID+zqZfTMfv68743xS2lTYwHnzlSBJZ6QTEwvNb0 UziQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="RB/7ogGf"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id y29si2286464pff.26.2021.05.26.01.48.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="RB/7ogGf"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 107676EC42; Wed, 26 May 2021 08:48:00 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by gabe.freedesktop.org (Postfix) with ESMTPS id 489006EC38 for ; Wed, 26 May 2021 08:47:47 +0000 (UTC) Received: by mail-wm1-x332.google.com with SMTP id s5-20020a7bc0c50000b0290147d0c21c51so27535wmh.4 for ; Wed, 26 May 2021 01:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lH0QiIv9GplFfw8+sE0Oz9qNWUTXoSa9cJ3TV4liCwY=; b=RB/7ogGfRKR/H7xbMg6lQNSx4WrXK0TQZTmShXZ6vEsfWcdJt9mpwfOSaOSL1ocabF /L+NmojU7HiAsSEG+onzR8iw/jSwxAwiZvxxqQyIh2jDsOsHAv+ydEDMELlHuh+aoT/g wpOlNrw7F5oyIq8Weqcxg396wPPR2XTefQA029ZoYa2V3AFlbiST21TRICtIVUMwcLLD Uo5g2JUO6sWhLAmjiX8yx4YZrpjAmi5mrFL+Ue9nh/8iBuYPdLZEerF1WKq0TdqvD82T V0R0QuLlc77v1p3bR65MevvgCbC0PfDSSyJ2Qsd6JNxadfxJ6XpGRtK6u1DqxeuhxICk HxPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lH0QiIv9GplFfw8+sE0Oz9qNWUTXoSa9cJ3TV4liCwY=; b=VuJvhFbJwQ9JlQ1hlJbdNsZtHxhxoaBAIlv43e+Rx6O7ZOvdft5z6bDEeh3nEKgMBA fVjjFTA5YwYPK0zXEb0TdV+Nskwwoez3S7U09TuElWmYzzEfWF1pl0wjh7kqCM5daT4u nsFAV/R+Gsv0Ozo0Vx9BAz83Hx0MrsfsnWd6vEJkK9b2Y/eNlGjTvN7aID5TtZ8HtzMH 8PfFF6JBGw4ATeMJD1zACVR25uHh2C0HqJI0/rjJRfTKP6bUmRAFeotxfNb+XfGJWdoL unURp0hL3BjalvQDbaKnXEyjoW4EWYSaqsFvXwLeJ4Ae/FM4BEegBincV8BU3igCa9iC i9Sw== X-Gm-Message-State: AOAM532iu9Ze8zqOLo+Xy8ZlZuWP/SVflP4XUITjnh7URCJoGyGmV+II +hmYpchlHuIErPKSgDNhEsIbKg== X-Received: by 2002:a1c:5454:: with SMTP id p20mr2263933wmi.160.1622018865874; Wed, 26 May 2021 01:47:45 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:45 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 15/34] drm/amd/display/dc/dce110/dce110_hw_sequencer: Include our own header Date: Wed, 26 May 2021 09:47:07 +0100 Message-Id: <20210526084726.552052-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:927:6: warning: no previous prototype for ‘dce110_edp_wait_for_T12’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c index 5ddeee96bf235..9219db79f32b6 100644 --- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c @@ -63,6 +63,8 @@ #include "atomfirmware.h" +#include "dce110_hw_sequencer.h" + #define GAMMA_HW_POINTS_NUM 256 /* From patchwork Wed May 26 08:47:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448149 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017188jac; Wed, 26 May 2021 01:48:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIPxhy+FPAHKUBPYYncdN8rhw4Una2dmDgmBlVFERZWwcgmEnpLC1D4mmQsJg8MDGKhma/ X-Received: by 2002:a63:a62:: with SMTP id z34mr23839644pgk.318.1622018884421; Wed, 26 May 2021 01:48:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018884; cv=none; d=google.com; s=arc-20160816; b=XTY4O+wK0V4Elr4iH0irTJzdnhlK2Vvfp5OgmZknPVb84H04WhthTRuHmTGN9Oskc5 Hb3ZdsESq4Y/Tu/stFDtJVUjUyrDyZaTw2+Oj0zvJ/vM9WbtfAtRTk7FT9rO/O1TLuwN 72wScbcdUN1bPLSpb3rTBxEjbjZvUf7sLxbe+TLE4RGmUVCt0XD6O9FY05OFFoWaXVKR p3OzOlDsHNNw5iQ7Ci9hrlzM16uw6EkArmCQ0hxsIOcpMXAq1XN1SxbzeK1Kr5eCFPJp r//wcGRnfyG80zSs2kuuQ6newyvKD4VGfxi16RJS2q3y0LLd7jjv1GIi/cz0hGsevS4M 6/ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=457+N/Rh8MOrxunbiCqh3NZ4tXXcJQCrqwWFpwHmuoQ=; b=xNfRwgeSRhPp53E9buWbC1iVk0ugHe3mid7ch9NOH1gi28lDmZEviBFuGPpVx5wqYg lu+rGnmyK7rD4g/HyfCtpGds5p/f7Q0X0XoEfEFJmP4rKc0TbV5G2EXRa/UMXashtVqH vSIK0EkWozKQcBZjNujpzOe5CJfUopH/Dfl66Bx6upMy5ZRGd64Hc6frTk/ZWNHn6AyY IpicrOCEGcBATDrixqqdj7AY693s0mTToIlBllAU5jxOOaH93kI38bmYGmQo4ptXm6Rq hk1K/iVo3pcjMWqeFQhEPVSzwZBJb0xz7pFZEthxwzAujhvkzJmWoL5KZ8DBZX1deMzI sb5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=eXye2VAu; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id p11si2203347plf.245.2021.05.26.01.48.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=eXye2VAu; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 787086EC3B; Wed, 26 May 2021 08:47:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5CB556E4C5 for ; Wed, 26 May 2021 08:47:48 +0000 (UTC) Received: by mail-wm1-x336.google.com with SMTP id l18-20020a1ced120000b029014c1adff1edso15016922wmh.4 for ; Wed, 26 May 2021 01:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=457+N/Rh8MOrxunbiCqh3NZ4tXXcJQCrqwWFpwHmuoQ=; b=eXye2VAu7ke1QG4IA5t59RbwXPJrmfNRjjWM/ZX7aXe3V5WXvNCs51/BnAiW/87OUz wbOcor9aJeFxcyFGJ8DyP+Qj3cjKFWej4YMsPxuiE4t38l8Ic5nUbMO9lpdnG0KyCiQi 7lPvW6oeQujoIP7rH75qwdi8IrQmjL8JUYacfvXVJHwRnZn/uTBjCC3SCfR2HyIOc622 RJsWNXPl35qz6z9VIl9vyXc/I0TsXOoyC5V7cl11B0WOI/KaMIqLqiPXcbRiSOU8OJbV tXp42hBXkNzQ/tMiutLeRtr+2FKfmH5VySknnQh7tW6ZGGqmdTYHTJDNjvCG44cJdH2x kjmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=457+N/Rh8MOrxunbiCqh3NZ4tXXcJQCrqwWFpwHmuoQ=; b=Z9Yfqo/6RC4B/h+RjByfJ287b7W3ZpO4C47dusC0Ym10KCr89mrPF7K1+3UzIyjV4p Jtc1/idh8RtL1/dTMZs/AimkWrS5bIjrBDqMa3ygRXN+HRdXBoRymworS9ltVCr0l2zW cIzxFdLGQC8xkdj75tFC52kfrUpBTmAK4WNMeBMpgXyiz5frIQTUsAHW5ZDMnySDI6Qt a3xw6Nfi3FS8qtiO3KJRZALeWJhebVtSZI07yX/tHZNSmnHhA67vIXhHTAKeoZHpCdHs USeTB6z/pQQJgYmAvGmCsV0KjbjYVMM8u/dWTPzv7/7p6YLbHFqIEfXlP1/KHR7CBSlz WPuA== X-Gm-Message-State: AOAM532ygrM1K+Bbfi7OoNDAn2yMyBJbQxj9XkZd/HHskA0WaLxSoFoN 4btHFNhj7szv23HL0bMbpKcZNw== X-Received: by 2002:a05:600c:4f0f:: with SMTP id l15mr2308055wmq.143.1622018866990; Wed, 26 May 2021 01:47:46 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:46 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 16/34] drm/amd/display/dc/dce/dce_transform: Remove superfluous re-initialisation of DCFE_MEM_LIGHT_SLEEP_CNTL, Date: Wed, 26 May 2021 09:47:08 +0100 Message-Id: <20210526084726.552052-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , Mauro Rossi , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp_psp.c:374:22: warning: no previous prototype for ‘mod_hdcp_hdcp1_get_link_encryption_status’ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:28: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_d.h:568:43: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:157:14: note: in expansion of macro ‘mmCRTC0_DCFE_MEM_LIGHT_SLEEP_CNTL’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.h:170:2: note: in expansion of macro ‘SRI’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:183:3: note: in expansion of macro ‘XFM_COMMON_REG_LIST_DCE60’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:187:3: note: in expansion of macro ‘transform_regs’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_d.h:568:43: note: (near initialization for ‘xfm_regs[0].DCFE_MEM_LIGHT_SLEEP_CNTL’) drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:157:14: note: in expansion of macro ‘mmCRTC0_DCFE_MEM_LIGHT_SLEEP_CNTL’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.h:170:2: note: in expansion of macro ‘SRI’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:183:3: note: in expansion of macro ‘XFM_COMMON_REG_LIST_DCE60’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:187:3: note: in expansion of macro ‘transform_regs’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_d.h:645:43: warning: initialized field overwritten [-Woverride-init] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Mauro Rossi Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce/dce_transform.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_transform.h b/drivers/gpu/drm/amd/display/dc/dce/dce_transform.h index cbce194ec7b82..e98b5d4141739 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_transform.h +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_transform.h @@ -166,8 +166,7 @@ SRI(SCL_F_SHARP_CONTROL, SCL, id) #define XFM_COMMON_REG_LIST_DCE60(id) \ - XFM_COMMON_REG_LIST_DCE60_BASE(id), \ - SRI(DCFE_MEM_LIGHT_SLEEP_CNTL, CRTC, id) + XFM_COMMON_REG_LIST_DCE60_BASE(id) #endif #define XFM_SF(reg_name, field_name, post_fix)\ From patchwork Wed May 26 08:47:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448150 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017198jac; Wed, 26 May 2021 01:48:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwP3ISSLS6Tt97G27GfaKF8a1TGM0FmRrh+/b8menPrE9tKccFQCyFpJsrjocqfIUAwHfhV X-Received: by 2002:a63:fe03:: with SMTP id p3mr23534435pgh.27.1622018885755; Wed, 26 May 2021 01:48:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018885; cv=none; d=google.com; s=arc-20160816; b=g+fpr2wiDtGb+9i/Vpbk1Pv6cqhSe77zLQb1MHyDo5/6cvxI7Y/cbisAuzZmua60vf VEhb+zXQl6I6CYbnauQ2uxbpzQj7st01hXpf+p3uSLjB/Ohi3D9SRRsQtII9iw/Ctajf rKTsBAF0GbZvzwDxi/ee97SHrofYxPvyRwzGp3XV1MtxQdouw2oXAfe9sRYZJvTTESdD sPKg8thGBYbXXQzu2oaT3/xqe7WY7G3QrgnYcOFDlle8qgHZnotzeBvt3RC31wLRsjn4 4fzMkqBQpdH+HtHlJGTswg7kedyIZBElkAjyt4DZYRabN8HFwBTvh3G9ja/a97HUbM+2 GAKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=FkeiHBD/X56XoAULZC4Zm0KTS26etafLmMiiBA6RZwA=; b=mhFiXBnesO9Z0oTuk4Ak4/KGkBFRZBIFZ0YSLtV/oMNv32NrsyFz9QKMk4RgpqR5MW vl/qrOw1X8GsIbnrR0Ka7rzBgNK7BpFPnpiRpDTUdxAn5uVvxotbJCRnPXZLhRegt7GH bMlQrFpIH6gAOEvnpc1PO8r+TXi+DlPPeVQi/VLMt8EN/uxB8dVOtMURG82Km1gckx9a loV3IdwGOS/g8snhQDOhtHzfoWrYutckxDtIthnxbf01isqFu7m8SQfpCKyJJ53FCmrs SsZKe3J2lbKGAr9BKPwvbC+dfw84dLfxgUf5jXoVWnvdot7TIImdJVF5Fn7wLf/fbdF7 oLyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=E5sBb6eS; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id h23si23897995pjf.57.2021.05.26.01.48.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=E5sBb6eS; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 531E56EC38; Wed, 26 May 2021 08:47:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by gabe.freedesktop.org (Postfix) with ESMTPS id A09D66EC38 for ; Wed, 26 May 2021 08:47:49 +0000 (UTC) Received: by mail-wm1-x32b.google.com with SMTP id f20-20020a05600c4e94b0290181f6edda88so8109977wmq.2 for ; Wed, 26 May 2021 01:47:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FkeiHBD/X56XoAULZC4Zm0KTS26etafLmMiiBA6RZwA=; b=E5sBb6eSXnSEoXMYdy1ht4w3v1vwsj+A6bNuBnhDM9u6F2HlqgNLzq2dNKCejMjijh LoGSybTP9qaeLJVLUFU8f19dMAa62x7cRdIlkcvWmTjRkW50v8sBlqUbczah4tZn4Wy2 wW5UyWPN0MtIZPmUCCwhYYIPUMfvzsWNnV1zpYqjG7NA6SoBJc8/Zl75bVYEVDVPkFXp 0gfV6UsRV3lvhomh9Fuc4xvbZDxgSiFFE2et/mhDJH1jTdp0F52Yd0J8fr0RWxYxxTLZ qOlYq09WJa9Mns74A3DYacw6KA2lZsT+deEZkdryeyolLkn+ZrR/asYaBAahuJF3hDgz E28A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FkeiHBD/X56XoAULZC4Zm0KTS26etafLmMiiBA6RZwA=; b=EL+qaD7nlTbVCtU9m3DunCNlcXnMJwXbGtQ76QWWa/exNM01PuecNoniGFwZHSRbbP KzuJfY+EeBP+YIwlKzhrzJZ8eBfL+qE+vVicFnvh9zWYqZ3XphI6nEBCMW4VhTYW4etK KTvVCV9rpzNijGxnk3Xr8GY/yX/D3LXq+EtscXsOinuTTE2dXYCLkY6f2WzLLp/KUTI9 EnxxJYZc7xqOKitVJBHAWUHqnWq/rQ8RNmReiFkKzds4srEorrpPg46XP17hksl2+xZd UjxrIzjQQASOp9JL3SGfdCNRQe/YZ5TzBXse34Twn1C6dGYYoN8G6F3HfnjqS8G8GkIg W9vA== X-Gm-Message-State: AOAM530JTfOVYX93yB3+tQpFBjvj5dDh6BQ6Hu4avz9CWCW8OzLpyGsW AAg6Cok5mxcU8NvYN6NA59sAaQ== X-Received: by 2002:a7b:c346:: with SMTP id l6mr27552263wmj.109.1622018868241; Wed, 26 May 2021 01:47:48 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:47 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 17/34] drm/amd/display/dc/dce/dce_mem_input: Remove duplicate initialisation of GRPH_CONTROL__GRPH_NUM_BANKS_{SHIFT, MASK} Date: Wed, 26 May 2021 09:47:09 +0100 Message-Id: <20210526084726.552052-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , Mauro Rossi , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:29: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_sh_mask.h:7270:45: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:155:28: note: in expansion of macro ‘GRPH_CONTROL__GRPH_NUM_BANKS__SHIFT’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:159:2: note: in expansion of macro ‘SFB’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:265:2: note: in expansion of macro ‘MI_GFX6_TILE_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:657:3: note: in expansion of macro ‘MI_DCE6_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_sh_mask.h:7270:45: note: (near initialization for ‘mi_shifts.GRPH_NUM_BANKS’) drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:155:28: note: in expansion of macro ‘GRPH_CONTROL__GRPH_NUM_BANKS__SHIFT’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:159:2: note: in expansion of macro ‘SFB’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:265:2: note: in expansion of macro ‘MI_GFX6_TILE_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:657:3: note: in expansion of macro ‘MI_DCE6_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_sh_mask.h:7269:43: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:155:28: note: in expansion of macro ‘GRPH_CONTROL__GRPH_NUM_BANKS_MASK’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:159:2: note: in expansion of macro ‘SFB’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:265:2: note: in expansion of macro ‘MI_GFX6_TILE_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:662:3: note: in expansion of macro ‘MI_DCE6_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_sh_mask.h:7269:43: note: (near initialization for ‘mi_masks.GRPH_NUM_BANKS’) drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:155:28: note: in expansion of macro ‘GRPH_CONTROL__GRPH_NUM_BANKS_MASK’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:159:2: note: in expansion of macro ‘SFB’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:265:2: note: in expansion of macro ‘MI_GFX6_TILE_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:662:3: note: in expansion of macro ‘MI_DCE6_MASK_SH_LIST’ Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Mauro Rossi Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h | 1 - 1 file changed, 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h b/drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h index 23db5c72f07ed..9b1c4d56275a4 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h @@ -181,7 +181,6 @@ struct dce_mem_input_registers { SFB(blk, GRPH_ENABLE, GRPH_ENABLE, mask_sh),\ SFB(blk, GRPH_CONTROL, GRPH_DEPTH, mask_sh),\ SFB(blk, GRPH_CONTROL, GRPH_FORMAT, mask_sh),\ - SFB(blk, GRPH_CONTROL, GRPH_NUM_BANKS, mask_sh),\ SFB(blk, GRPH_X_START, GRPH_X_START, mask_sh),\ SFB(blk, GRPH_Y_START, GRPH_Y_START, mask_sh),\ SFB(blk, GRPH_X_END, GRPH_X_END, mask_sh),\ From patchwork Wed May 26 08:47:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448162 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017449jac; Wed, 26 May 2021 01:48:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZv7LwvxGl38URKLQA//thIgXLCioUPpSyRwKnd84lcbVdOZ3u8k1qRS3GufBHcxLTZK6m X-Received: by 2002:a17:90a:7842:: with SMTP id y2mr2887126pjl.68.1622018915213; Wed, 26 May 2021 01:48:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018915; cv=none; d=google.com; s=arc-20160816; b=yC09Ws84pq9RFlH6h/sUpM+CkBU1Wovvl6iDGCLJ61hwykNYYOJxhpmOS4Xzls6q1L ojKEN7kuw82eR7f0pwfgaTSnMnx+t+CBVdgGATzqtVEvMNOAFuFH2MAMdoIE4RN4m1cH ssaXKTRcgJtQvVa3MvFTxUvcb80+xqVs4Uy6SorajDfNss5TmaFU2QR8TPI7w0LOhhtr 4qL6Xa0HCdk3JLi8r7G/+5qqSvkiUb0rIcKBoXvLrRba1GxxaVBUwwmsqs6Ed7pJqQQG k9WDPTXnxPdiM1p7ljJFitRhHQ+CK5AQyUofZ4Sb4jwgRSYFzuYr3r/bc3aYe+gpOEro OpBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=VdhmaHY4/dmW91tEBMJX0Bu7PliwQQfsKUoeLcKD0IA=; b=qUanoXaxAMGuZ0GjcYgeiKHsLBr9DSo3W0v4K1fZ8HE6zpAIABVVIS0/3xwxC4KS21 cNzJ/0lMTPfE2NDxKUUnmddTkULDZMKmJqx1Kdyum02rr+kcS5z538RI0XulDd+NXzP0 umsdxUY7Im5jF5FlNJ+MDjggUC/OleTiAunwVAX+8lYJakO5mOdHYmAzJBpuoXlJNMx8 oMsvheM8zWhteZ7wUReN50MavYmlzqbUzQnj82jBQIDVOw2HxdlUDLG28Yg89Og8qrIz s58CpvLzgbcL7nnHm3Ph5Jguk9tEOm3HCoPsPCPV6mgLL89/L691uJgocIXhWFZMc1jB IDTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=OibzwUzj; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id u6si2145325pla.310.2021.05.26.01.48.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=OibzwUzj; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 130D66EC51; Wed, 26 May 2021 08:48:23 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by gabe.freedesktop.org (Postfix) with ESMTPS id D3D6E6E4C5 for ; Wed, 26 May 2021 08:47:50 +0000 (UTC) Received: by mail-wm1-x336.google.com with SMTP id z19-20020a7bc7d30000b029017521c1fb75so21780wmk.0 for ; Wed, 26 May 2021 01:47:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VdhmaHY4/dmW91tEBMJX0Bu7PliwQQfsKUoeLcKD0IA=; b=OibzwUzjSDVCtV8ltB9PfH3nOFJ0quNuzsPiYyQdK4H9UVDDcpJZVJC08Jz7bgj/es xjxQgzQO7P7v6DS+p+5LFlLJoDjgFc/+eyif00nSU48DeP0v/b6mGDTXV3LD10O1ekPm is1c6rW4NUNkOK5jIybllp1DeajeLodSQhk4o19+F4bbzMFT2pzK9i8eNRxZ3dsVOFTI YSdUNpBG5X6dNrLI2fDSqwA0eZHzNntDIKe734r8dF8O/5AUmXYqDw5qvLPYmzw8EnbS ddEirlfh7i28ktzE+kYO3dkKLFf5EU19PwyOR5jC4iEUtQbqEb3H/JWVADHCdbXkf9cl BoSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VdhmaHY4/dmW91tEBMJX0Bu7PliwQQfsKUoeLcKD0IA=; b=Y3sXx4VgKYrmQNeq0Ngxf6mq9DqNdyL+RLp3EOi//92DZ2qWRFjxVi7S8vx9m88x3h tfYR2KTTKQQ2Tb2CUZY6VixOvVPJIfsAk0d5D3Jdy+2cKNdnJRP9p3/b5Dw38EjSh5oz zCmsUFGHjp9cN0khD4ykUdMYv9o2/wAK6CHuDxiovNXQMtjjUY2aoYEdDCXkpdcpwm+U Hp4gCIyuFd+zz2ny2LDVDwdn81d5I+NIwFtdJKWgXIn+RNRNBRyXbdpW/OiLeOQJOtSX 0N/iU1eby6s9LE06IWL1p4mHjnXfLRs7l9enuCcQimRdqGliTBeR6ia7gfIo1x7iRLF2 axqQ== X-Gm-Message-State: AOAM532WeXs9tZRKczWNSjLaqpH5iPrfGo0q2pAQkSl9jih2nl3fiNy2 0aUwr8rwysflUmuXOPyAlu+YOw== X-Received: by 2002:a05:600c:3586:: with SMTP id p6mr2360600wmq.48.1622018869377; Wed, 26 May 2021 01:47:49 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:48 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 18/34] drm/amd/display/dc/dce/dce_mem_input: Remove duplicate initialisation of GRPH_CONTROL__GRPH_NUM_BANKS_{SHIFT, MASK Date: Wed, 26 May 2021 09:47:10 +0100 Message-Id: <20210526084726.552052-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , Mauro Rossi , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:29: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_sh_mask.h:7270:45: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:155:28: note: in expansion of macro ‘GRPH_CONTROL__GRPH_NUM_BANKS__SHIFT’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:159:2: note: in expansion of macro ‘SFB’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:264:2: note: in expansion of macro ‘MI_GFX6_TILE_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:657:3: note: in expansion of macro ‘MI_DCE6_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_sh_mask.h:7270:45: note: (near initialization for ‘mi_shifts.GRPH_NUM_BANKS’) drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:155:28: note: in expansion of macro ‘GRPH_CONTROL__GRPH_NUM_BANKS__SHIFT’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:159:2: note: in expansion of macro ‘SFB’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:264:2: note: in expansion of macro ‘MI_GFX6_TILE_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:657:3: note: in expansion of macro ‘MI_DCE6_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_sh_mask.h:7269:43: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:155:28: note: in expansion of macro ‘GRPH_CONTROL__GRPH_NUM_BANKS_MASK’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:159:2: note: in expansion of macro ‘SFB’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:264:2: note: in expansion of macro ‘MI_GFX6_TILE_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:662:3: note: in expansion of macro ‘MI_DCE6_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_sh_mask.h:7269:43: note: (near initialization for ‘mi_masks.GRPH_NUM_BANKS’) drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:155:28: note: in expansion of macro ‘GRPH_CONTROL__GRPH_NUM_BANKS_MASK’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:159:2: note: in expansion of macro ‘SFB’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:264:2: note: in expansion of macro ‘MI_GFX6_TILE_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:662:3: note: in expansion of macro ‘MI_DCE6_MASK_SH_LIST’ Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Mauro Rossi Cc: Lee Jones Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h | 1 - 1 file changed, 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h b/drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h index 9b1c4d56275a4..08a4c8d029d9f 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h @@ -206,7 +206,6 @@ struct dce_mem_input_registers { SFB(blk, GRPH_ENABLE, GRPH_ENABLE, mask_sh),\ SFB(blk, GRPH_CONTROL, GRPH_DEPTH, mask_sh),\ SFB(blk, GRPH_CONTROL, GRPH_FORMAT, mask_sh),\ - SFB(blk, GRPH_CONTROL, GRPH_NUM_BANKS, mask_sh),\ SFB(blk, GRPH_X_START, GRPH_X_START, mask_sh),\ SFB(blk, GRPH_Y_START, GRPH_Y_START, mask_sh),\ SFB(blk, GRPH_X_END, GRPH_X_END, mask_sh),\ From patchwork Wed May 26 08:47:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448153 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017246jac; Wed, 26 May 2021 01:48:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvyp+z/K84crBMl3jNm/by+O30ruwus9da/hQr4yIq3jFGlfWcTGQ0eQ8EO2MZS/Fjz8gw X-Received: by 2002:a63:7e0a:: with SMTP id z10mr23077576pgc.12.1622018891155; Wed, 26 May 2021 01:48:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018891; cv=none; d=google.com; s=arc-20160816; b=XJ0LcuphJUpWmUWIj0SXrA33RRMbRqbaXX9+AdEYqfSeub0TiHfkuMskJLUDvfeeGo 3eXJ7MELxqMREAA6vpBQKZOQkHAgyMFoRcTjE1QsukmMpyZ1kW+3Wa+4nJBe2mjy96eF Et2iqKgKx+QcyMbKyKK8lE33CB6G6FYpVUsywBfwjJhcRzibtQe9q0fzu43025A8U3l5 uz8yqu5U/9SD3kkvGobgoU4allHT6ssqyvlSDhYnkks0mg+SR7J/ZvLGCXngQlFojWv0 o1cOfqeyKjU229ImBueL1sc9W7jfzbglJmdehc2BcJYFulsmYh132w7TErLRERFs+PVS Oidg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=7L06mynHw/Hvp7IRLB9pK1ya6b4whZKrsJ5rjcKPGDA=; b=fMKPy6rmL3LrFOs8WBZXDC3ttphd40DcGUZomA8B2GM27OyZfnyTg8fldGd0DtMwY+ l+uy0KfDAbPRiD0DoQe5d7gQ4/3M/29EGWQEZHHtWvsBB+A5gIwTpQBe3mzjomGcmYp5 N7aCggW+aQk/lMHNkGVl+VFLvm9RNzAKXnoWDSt8WHyxXWf7jFam7kOOv74OkciNgrQq poP4IVMldP8u/aCgSXVBgU7uMpcF5O48u/wSa9OaBVKd18vM7eUUpU9YWwKc6SMUL446 t/7IA/Ad2GO1hUk0Hqafn9r4cL07NddyN8Z6t9ZYB5q1UN8kJV03eC368b85g3IXs6tb ecoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=p6dcifpg; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id w22si2224568plp.104.2021.05.26.01.48.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=p6dcifpg; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 11B4B6EC43; Wed, 26 May 2021 08:48:00 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by gabe.freedesktop.org (Postfix) with ESMTPS id DD3CB6E4C5 for ; Wed, 26 May 2021 08:47:52 +0000 (UTC) Received: by mail-wr1-x431.google.com with SMTP id r10so172745wrj.11 for ; Wed, 26 May 2021 01:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7L06mynHw/Hvp7IRLB9pK1ya6b4whZKrsJ5rjcKPGDA=; b=p6dcifpgLEh0iuGoFQK2sK66NWHym2V+MK8Mgj2Gbu/s3pxQpqNCHtulzP0eEwjZrY 4tLExkvLFAZ7n3wVD5ZNye6+hzn+kXamD+QGeriuWID3n3FGGixGYHkvug2JciMuvZ8W 5Bxhq7HvBx1KgntYp8NgJlzoyA/n79QXt2c17qR6kmkq4mxv/im0kF0i7b425G9BfDYc Pe7JbaSsicLm68CiND0fuJr8KunrGw7U6+OEjwTY3RZPloUNp/PPutNRq/VcOuifCJ6u LlOR/QhJkBUayFg11eW5qX/3K1QBsFiv3Qg8qkTuZSrkI57AS/nS7hRN5THRTKD4441l iozA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7L06mynHw/Hvp7IRLB9pK1ya6b4whZKrsJ5rjcKPGDA=; b=Dj6WRRCXi9fJXbEEN/p/Q7IIoqRhyiyz2ztV3+Txss1LjeTAR/nxjC1oUZzFY6Kwzm YJyi8OI8uvCH7zDOXlsVry273u0FIfkhGh3iXcTWGj7hAbftec7A0NT/OqW7tJvDfCdM gAmz+A6HrBSe/jEPEWs3VSugZdDnW6rUmPtRJn1Gy8DWVtB5H5lEhTPex22J9C6BfZNW QkRCkuX77SiE/OkDDiqhon1I8wCG16zi5Kfb08MWYTmDwRbjff86cUCNxiECT4UsyiRV vnoved/+UQXRCdmkb/WFf9RZX74EAFiMrUOHODoyuSx7ngs1nx9Sc7l1KbF1byz13Oz9 UW9Q== X-Gm-Message-State: AOAM531yDFBerPzMnXZk3PJ9r6pOe72izdyZjaYLOMiWgejhhldmyU3+ 1Qs5Mm5uBiXyY21uvTYGPswkyA== X-Received: by 2002:a5d:4346:: with SMTP id u6mr31619647wrr.304.1622018871538; Wed, 26 May 2021 01:47:51 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:51 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 20/34] drm/amd/display/amdgpu_dm/amdgpu_dm: Fix kernel-doc formatting issue Date: Wed, 26 May 2021 09:47:12 +0100 Message-Id: <20210526084726.552052-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:608: warning: Function parameter or member 'interrupt_params' not described in 'dm_dcn_vertical_interrupt0_high_irq' Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index ae0a95c5f1d8c..0b4841f377e41 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -605,7 +605,7 @@ static void dm_crtc_high_irq(void *interrupt_params) /** * dm_dcn_vertical_interrupt0_high_irq() - Handles OTG Vertical interrupt0 for * DCN generation ASICs - * @interrupt params - interrupt parameters + * @interrupt_params: interrupt parameters * * Used to set crc window/read out crc value at vertical line 0 position */ From patchwork Wed May 26 08:47:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448166 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017502jac; Wed, 26 May 2021 01:48:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiyaog+h0SHbQVfyV8ez4UXdxDyzx91QSGJPebclEJcwxm2hEGh1e5g4z6SN6bu93/zrgx X-Received: by 2002:a62:190e:0:b029:2e3:3522:2232 with SMTP id 14-20020a62190e0000b02902e335222232mr32002791pfz.4.1622018920008; Wed, 26 May 2021 01:48:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018920; cv=none; d=google.com; s=arc-20160816; b=BvU954gHFbI+kMXaNqeWUhr+gduNYj6WZ+gqz2E00zQ3wpiFCG3B0bYI+FibQ78sLv PFdkxWSyVX6mlO2aT1vdDdbSkpt51x9m+ITSye8W9ApVy16ClH40iOUfbNPnic2CPfm2 NtYyTjz87fnC0dYzy8E/3kC6Gquqhav4DZL23Cc4GhSaQQ7VSO0Pu3xt/4pDeefrhCox jmLHJpvkUShsg5OPPGMlUCzgSNKBzMs5BVifvACVgQzwva0RS/xOz04wcIfaVP8WVfJp X/PsT7Tkwi/pp5bDX9XjdCwm3vVANUtyygMKYrqRk775F4pRflZbAAlTc2A3HiGLflZ9 6ULg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=qhZgrAainLjec7+hq499eXjP+VFgJtwYW3msrbGd3QA=; b=FhXg+P0wgBW64Hsy/Md3jvntgJcQWpPwWqAEyhfUKOH2Kg3gHiC4SX5ROfTrndDB+3 WCpxNWAlxlaCBV/3aZ5NT//lpwujQU0vA1j4eU4YVNwYfVCEfk17gO2awhwVdIl0qKlJ /fwnynyEe9adMMCms43kqMqWabyZlPzxFeTm/3gcDvVoKCI7batzC1LMuTsXW/T9AXPi 9KWSelgk5T/KZ1cXd9QVPm3rReFw1V8sQFT79XCiZry3a7WfeuvxdW7XHw9i91HoG+Dc Q0AMPWm6vbfdeoXzwaFqrOYle/G+HCczFskIIo3tNk2ziuOA49GYBHAsoHNYjSaCe5D2 d6xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="e/cES6WX"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id m65si3967907pga.541.2021.05.26.01.48.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="e/cES6WX"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 487F46EC63; Wed, 26 May 2021 08:48:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0D5BC6EC2F for ; Wed, 26 May 2021 08:47:54 +0000 (UTC) Received: by mail-wm1-x331.google.com with SMTP id h3so240878wmq.3 for ; Wed, 26 May 2021 01:47:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qhZgrAainLjec7+hq499eXjP+VFgJtwYW3msrbGd3QA=; b=e/cES6WXNf9+ZpY2D4VLQY1tDCYiL+YmBb4TxjZ2Yg7Tqivde+ECExm/VjRqhPnSwP pF8Dg4H6EuHK4qbZbPO+DGRTYWw4TuhME6GXJsqxUD9gzvrooDgB5lB8x9xiKzGig67T N8NBqVRkw51z8HuTtm2qK+cELNmbWunRFkBF6EJNSbgv7ANarLKuUJxEP+7/qMIYa+of HFTWFAqci9XzxxOxAndpAr5puhN1ats8ehvfyxupcGhc+COIFf7zIjylco2BMp0a5E+T WMrfVMcOJM1+t4t2yLfbGAPFUfRKjdwV6HG4pMnW90cWxOBzU2w//zjuoMjZbJ+iFBf5 /dOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qhZgrAainLjec7+hq499eXjP+VFgJtwYW3msrbGd3QA=; b=c19lFzMeSO60GXk9c2ZePJQVQPCZ4CR8w+hiV7TDvWqhP32QVlsQuIm7OvJtM5hKwt gK7MAolJNfZTeYSVRugq/OCYrn+TkagnefUpfilmkTDpahO5l6zFKSvjufmRQDIL+iGN DpNfh+H2xSu1+aOMLSvzQBYJ79HJoyxm9SEa7/5RD4qUfDpbRqVuzziHaHiCV8f7cIHG sljr1KJgN3L566WSc2dZr4x7OctB1kFNz0vvNfijBE31nmXjkY0s5XAkOIkZWu6M2Jgx a/NjcV2yvo+PPzZpdYOOFwRCq8jS4RcBQ+FoXS/PmqaR1J4zpQiaBFd1USwg9X+WMZgJ CUPw== X-Gm-Message-State: AOAM533BAcIf5XzeTw2/1dTnXw+2i3Ih8/evVxj17weSm/h+AYSWKe+c gBEVeqPEUjbVVG2qGlmPJq7REA== X-Received: by 2002:a1c:c911:: with SMTP id f17mr28332218wmb.45.1622018872593; Wed, 26 May 2021 01:47:52 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:52 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 21/34] drm/amd/display/dc/dce110/dce110_hw_sequencer: Include header containing our prototypes Date: Wed, 26 May 2021 09:47:13 +0100 Message-Id: <20210526084726.552052-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:929:6: warning: no previous prototype for ‘dce110_edp_wait_for_T12’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 1 + 1 file changed, 1 insertion(+) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c index 9219db79f32b6..1ef1b1b33fb09 100644 --- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c @@ -64,6 +64,7 @@ #include "atomfirmware.h" #include "dce110_hw_sequencer.h" +#include "dcn10/dcn10_hw_sequencer.h" #define GAMMA_HW_POINTS_NUM 256 From patchwork Wed May 26 08:47:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448146 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017139jac; Wed, 26 May 2021 01:48:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwv1bAm8UzzcdHZSZhwNNhOScY7hFfA3uUqX+f2skxGcV1Gik3w5jJ3tqsYqUoZaUAK9Ohq X-Received: by 2002:a17:90a:d14f:: with SMTP id t15mr2905541pjw.160.1622018880560; Wed, 26 May 2021 01:48:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018880; cv=none; d=google.com; s=arc-20160816; b=Ly6ksQ3HTnzcMEm5qECZrMqjUS9AE6tnwTJenih77ETahnQx6cO9qxkNK8ySFT+dFc JRztUkkJQDAK0LufvEYmsvIpLBEZ+ylNs5L48p0ssnXlRP6k0Z8BfYpoQgXCBNrCDFQg mduLlQNYnGRHpmJif3KQAR8YctznNBoLrVBZ1u70ZQDI+uxWFy4qYzaoGBSgA3i/LDNo KBa1KyKeAhmRN1TA7EyaSVLZBRLEYfsXx/LLxaNj9Kp+RSy4ROJpkE+gaYijegQd5iOh eNF89ekLYgWw22Q0P27a1m2dwExnlNOQQtwndNq67fexVAR1I3tHaYLrw4NHHsrqJAb0 6F8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=7zQBHzs8bUaTq312vSS5VlkiBcTZpiBpI37cda1Zuvw=; b=dA18sL5xkRqW5Z8fOaYTe/6LJxBQ9ZHVAyGPWqNYxB8Sq9cvdWoMUR0FuFaFtsKxwk 7OfjWnn9TrllcZfXZLG3lant+mDkqfrMeMVrKQTledkteHOmPQ77PpK70xBgg1v+mJ6D U4b+GP9Mfx7hSruBfQAkLhtXdWkMYRGk74pfugGvliq5KtRd7C/PGao9I7z6FJQXJZ7s N+oa0hWAC1fLRix3yirhRyx+nOOxQJlWxijyrq/RO92nzAx+TqRmtaKq7KzBalUwzOL0 UYTlUc/u0B6SUffwCOOcZIr+WGgKtlmlGpMZDZCabI4JJ7h4W6fB7bJwt74SkmYk3AXy sRbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UYtZk9Vp; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id k7si2336185plk.303.2021.05.26.01.48.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UYtZk9Vp; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2657F6EC2F; Wed, 26 May 2021 08:47:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by gabe.freedesktop.org (Postfix) with ESMTPS id EE84F6E4C5 for ; Wed, 26 May 2021 08:47:54 +0000 (UTC) Received: by mail-wr1-x429.google.com with SMTP id v12so204996wrq.6 for ; Wed, 26 May 2021 01:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7zQBHzs8bUaTq312vSS5VlkiBcTZpiBpI37cda1Zuvw=; b=UYtZk9Vp8FVe1rY6Ub1SdN2wtVTZoiQfb1OhbnN4uLhKytekELKH71HLthvfaEEBMv wBIa/HxlnMC/sO10tzKeNoWt/ywjW06knZiDtCEVvOJXP3GjgFeCGsU+g9bXcJsaQn// Vc1DynqHbRBauWzVeIg1c5RZOgmjN9sfZv6lrByDjqxkdtSi169CuIVPeGtXEdLospw6 SwPcfZgQAz6smSpgvagmsFqAQwuZMUUhNAH4TGMj+Ee1bPlv7RADSi3mlU56zfRspTCD s/HwXup2wyf51Vbr455hzBeyzl6GzjAbR3I4/eIyvyWQ9iCzvPPFgN+trC6H456n4pdt 4UBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7zQBHzs8bUaTq312vSS5VlkiBcTZpiBpI37cda1Zuvw=; b=q8U4ROTr0FgNarw3xyDUWpDjexA0PE9fefViN6icQZLDlIe+jcDTdmtQTYMXm10Qeb MIfP/QE6ZuvXIu2Bmt0HchKz9OEfSEh1uFHpuKzv1zuw6Cps7+JvysCuCLA2WmvVqQk4 VnEaUhEcfYEvpfPIYJeOpTLhe9MjeNlqgcbYeHMcumq1OdfdefyOgKl0/vm6A9FdoDO2 K7QYVwSnahV1UTyaRD4XOWM9vjncUdcEY3ecgEYkhdiU44lcCVKJkSX7y94rmGX57mJ1 g/F4MO7uNpudoVat46GmuyxTmOgMnLKAoFnw0jid1/XOFwyNiUu7kPH2fwGWSqP9+peT diUg== X-Gm-Message-State: AOAM531v1XFaUcj0WDg5gmM+jp7Dw13wd/1jM/pr1o/+MSPWbqBkZd8Q PFcvzvpoccLGcpX/4PO+ij/leV6wKlnhVw== X-Received: by 2002:a5d:45c6:: with SMTP id b6mr31627763wrs.333.1622018873564; Wed, 26 May 2021 01:47:53 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:53 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 22/34] drm/amd/display/dc/core/dc: Convert function headers to kernel-doc Date: Wed, 26 May 2021 09:47:14 +0100 Message-Id: <20210526084726.552052-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3324: warning: Cannot understand ***************************************************************************** drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3344: warning: Cannot understand ***************************************************************************** drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3417: warning: Cannot understand ***************************************************************************** Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/core/dc.c | 46 ++++++------------------ 1 file changed, 11 insertions(+), 35 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index ef157b83bacd2..34c207f92df98 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -3335,18 +3335,10 @@ void dc_hardware_release(struct dc *dc) #endif /** - ***************************************************************************** - * Function: dc_enable_dmub_notifications + * dc_enable_dmub_notifications - Returns whether dmub notification can be enabled + * @dc: dc structure * - * @brief - * Returns whether dmub notification can be enabled - * - * @param - * [in] dc: dc structure - * - * @return - * True to enable dmub notifications, False otherwise - ***************************************************************************** + * Returns: True to enable dmub notifications, False otherwise */ bool dc_enable_dmub_notifications(struct dc *dc) { @@ -3355,21 +3347,13 @@ bool dc_enable_dmub_notifications(struct dc *dc) } /** - ***************************************************************************** - * Function: dc_process_dmub_aux_transfer_async - * - * @brief - * Submits aux command to dmub via inbox message - * Sets port index appropriately for legacy DDC - * - * @param - * [in] dc: dc structure - * [in] link_index: link index - * [in] payload: aux payload + * dc_process_dmub_aux_transfer_async - Submits aux command to dmub via inbox message + * Sets port index appropriately for legacy DDC + * @dc: dc structure + * @link_index: link index + * @payload: aux payload * - * @return - * True if successful, False if failure - ***************************************************************************** + * Returns: True if successful, False if failure */ bool dc_process_dmub_aux_transfer_async(struct dc *dc, uint32_t link_index, @@ -3428,16 +3412,8 @@ bool dc_process_dmub_aux_transfer_async(struct dc *dc, } /** - ***************************************************************************** - * Function: dc_disable_accelerated_mode - * - * @brief - * disable accelerated mode - * - * @param - * [in] dc: dc structure - * - ***************************************************************************** + * dc_disable_accelerated_mode - disable accelerated mode + * @dc: dc structure */ void dc_disable_accelerated_mode(struct dc *dc) { From patchwork Wed May 26 08:47:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448151 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017214jac; Wed, 26 May 2021 01:48:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhz18ectI93ozi6LXgINxKGSTzAIlVZaGq4JasLFCqw7QYI1AqBgNvzgdDzFoeNxaTKxSj X-Received: by 2002:a17:90a:4a92:: with SMTP id f18mr2870036pjh.49.1622018887180; Wed, 26 May 2021 01:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018887; cv=none; d=google.com; s=arc-20160816; b=szWNGcuOtdaXQ6z3iRJIPD+NCrgpe5PAw3vTopXpd5Vn06t9gOJzjvNYQZsYbj/Ws+ pfEuC3N8VzcJY5cJSAd1DbRjLqf8m/OJXaG3DmrPjeT1IZsPnPFKmsp0ufruFzYDTdC7 p44ZoQMmC3tALkrXccB3eB010lRT9GI90HZoByfGN6UK+bWb+hOSH7/l13IBd7nlqSnC GbXVoirNu2qLO6d44HAssakH7RCLsVqE12vJVdvvRzoOEcPu2o9yGNUl+ociciwjXo9g LDPi0cRa+PwJ0p8VbtwqpwIU5IaSlvw43IMkzdZXh07/blCsAaCoeBMQPpzcxGHelpPQ YdWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=4jVnFwrLdvYbe+J6fnuiCvB9x4vw8NgmPskUsZo7eXM=; b=GVVV7oC3GvG0tegvbTxE0ubOyUevvEeKiALUSzwxEr50BAVi+Jd2nilwRKVSUnf/ak vp9TQCyE9BYljXXA0B9q8kjGLLHRE06iRrMD+kYJBJxJAPQYbR00ZhY13TIKWFC+Kprm NH62OnCOU2mvEKaYkxQ//c3h+9+sp/R4oNdeSR7G5anu9FZYPgPeLy8/cq9Mk0hPFYHo jrU49CYrWKynb1DrOPxvIBqkLTwhqEqMukdbAh0iFPXnVuXxwpFgsdy0QQNzTX1FP8fU mjvZefiKRuROq3MHkxIGVIbuwxG7yCVmjcM0oqAD33IL4lP31eHRwU01Gs8dlGPOGuI7 wHBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=HNTh7zdU; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id l11si24331473pgt.576.2021.05.26.01.48.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=HNTh7zdU; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 479AE6EC36; Wed, 26 May 2021 08:47:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by gabe.freedesktop.org (Postfix) with ESMTPS id E613E6EC2F for ; Wed, 26 May 2021 08:47:55 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id v12so205069wrq.6 for ; Wed, 26 May 2021 01:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4jVnFwrLdvYbe+J6fnuiCvB9x4vw8NgmPskUsZo7eXM=; b=HNTh7zdUvwEtjEWA62LQCOv5WbZVwfiFak+3qFdaky7HvKVpVvwY4opo1mlTiR/meN WP6x3hiWK3l/gA1WqdHuuXaoJZZPW/6FNAur7QJr5Dy+04ye7p4buPeL+pvqMMBriARj arf+UEDOVQTSXNCioRBw3xKVZE2ClviZA+yuMCNkXKULUH3AaKGKpUahBxLV3HHyuJQS NljYpyEQQmc6uP/gq9zUSEaqvwrK776TkKxHAC9XDGl1IMaWrCxsCSGSTmD4gBYL4pD8 qr7KJhvkL0jsF8keu21jzl+o4JSzogjgYcXzffE2KH4dt10f7dRqJueXo8n9tO7sBzU2 UH7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4jVnFwrLdvYbe+J6fnuiCvB9x4vw8NgmPskUsZo7eXM=; b=CfkLEJa2UBDILBfgsUuDHCuu0QSFe63TZ+gvmTh7l99STKj7HnqXmDfxb934kHoCrt sXiHUmVnfkgRO6i3c83uJmvENCbsyNRsXFhf0W94LiRaq3fiBFA/GefIs3Z9Ki1TOyQ/ 2sCK6vJz3Z2hFFLj8uIf9n+HUvsED/NE+dfdyQbsC5IWH+2/hCmE8P91Egb7GY6EAMhD uBfT6S/PydSwE0IvJisWmhfF831M9DzqJ6eYL0C7xJFkmnI+JO8IVcSpO36m9NWxmOVz iBrhP10VC1q2gF/iBRU9WMPwSJdsybUMw5ug506ryeu5PWPtFjKc1F+2UrK/iKMOlrdt 4Bcg== X-Gm-Message-State: AOAM530G9E/5HgJDLaZGMoneTDuusS0jAwtS7T2DFla9JREiXUrMAQIR ViQU0R5/ZaYAAVSCKdUv7o4IxA== X-Received: by 2002:a05:6000:104a:: with SMTP id c10mr31722911wrx.45.1622018874571; Wed, 26 May 2021 01:47:54 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:54 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 23/34] drm/amd/display/dmub/src/dmub_srv_stat: Convert function header to kernel-doc Date: Wed, 26 May 2021 09:47:15 +0100 Message-Id: <20210526084726.552052-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , Rodrigo Siqueira , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Meenakshikumar Somasundaram , David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , Jun Lei , =?utf-8?q?Chr?= =?utf-8?q?istian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv_stat.c:38: warning: Cannot understand ***************************************************************************** Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Jun Lei Cc: Meenakshikumar Somasundaram Cc: Rodrigo Siqueira Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- .../drm/amd/display/dmub/src/dmub_srv_stat.c | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/dmub/src/dmub_srv_stat.c b/drivers/gpu/drm/amd/display/dmub/src/dmub_srv_stat.c index e6f3bfab33d3e..70766d534c9c8 100644 --- a/drivers/gpu/drm/amd/display/dmub/src/dmub_srv_stat.c +++ b/drivers/gpu/drm/amd/display/dmub/src/dmub_srv_stat.c @@ -35,20 +35,13 @@ */ /** - ***************************************************************************** - * Function: dmub_srv_stat_get_notification + * dmub_srv_stat_get_notification - Retrieves a dmub outbox notification, set up dmub notification + * structure with message information. Also a pending bit if queue + * is having more notifications + * @dmub: dmub srv structure + * @notify: dmub notification structure to be filled up * - * @brief - * Retrieves a dmub outbox notification, set up dmub notification - * structure with message information. Also a pending bit if queue - * is having more notifications - * - * @param [in] dmub: dmub srv structure - * @param [out] pnotify: dmub notification structure to be filled up - * - * @return - * dmub_status - ***************************************************************************** + * Returns: dmub_status */ enum dmub_status dmub_srv_stat_get_notification(struct dmub_srv *dmub, struct dmub_notification *notify) From patchwork Wed May 26 08:47:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448169 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017536jac; Wed, 26 May 2021 01:48:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2JIX3oLVoeoaZYZQv8XTq8ZHKh61BkwobZqRNu+TmRvqC+/6VbIHLFmE5cMPt0HQSnG+9 X-Received: by 2002:a63:8f0b:: with SMTP id n11mr23552009pgd.342.1622018923860; Wed, 26 May 2021 01:48:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018923; cv=none; d=google.com; s=arc-20160816; b=nBlxF4tQjiyt7LVkdkNUxe3B/qk+svdqmuzoTIGpy7dZ4kCL1hry2pRRzKemVNXtkH JIxVAICczKba0Us03CW8u2GoTFZjpWkj79XZPQ6plRL5Z61WOLHq+x4zjAw9QDjQNfuB GHTwYKsilmfsuh0Nj1hEaM636fquqzyxNqjTaQDNwUwnicT6sgIktxLKpkle6IJtMrgd sN8Bt6UKSV1gAwCcxtPyJFFPKcJDACivX4IWC2iZyKqpt08gOcbO9IxwzmsP1nb1Bs84 rq+bBc4m4JnaA9VztZe6Y6cbtJ6KHwnTeuu8RyqJjlI1AF+zKbcrumlWoW1whnPNVnty gqcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=AktsaW6Bskrl1AG9i/afTuE+QfmnEvj7VSG37dmiSWQ=; b=aDHQoxWvqen9DeNb5YRINv9wXZNpvNdiyV4jSZdrE8gsJ4zGdqq/onG7d1cT+Bgv1M +/YleIXic4ccrHJFE3hErgH2caXyyT4YKH4JhyYIrb7pYo2PV6A6cvEaehLFd9Ya3arH PmWZRcrSzQIauQ8WI3B7rV78aiev+CmU+un7OKRHJ4ERihYGU27ErnL3Byys4TkFsrd+ 8vtIwTzbG0lQFIH8Q/vxPGRfikHSvrqgXhyyc37Ndi3qtzqLcOVvapNaIxwWlkbH+Y+a 6CR/UOOcxIj6YezcuLnDekF1ztRT/JUiVC3qOfEyrIRLFISUtg6D9xBMopJiXKLED3sw vIwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=AMLIuKLP; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id g1si24012042pgf.520.2021.05.26.01.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=AMLIuKLP; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 28D9D6EC69; Wed, 26 May 2021 08:48:26 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0090B6EC2F for ; Wed, 26 May 2021 08:47:56 +0000 (UTC) Received: by mail-wm1-x32e.google.com with SMTP id z19-20020a7bc7d30000b029017521c1fb75so21916wmk.0 for ; Wed, 26 May 2021 01:47:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AktsaW6Bskrl1AG9i/afTuE+QfmnEvj7VSG37dmiSWQ=; b=AMLIuKLP7eSD0sQl6i4Ap0vsy36DUSOgzVtp8L5oSEfnpTJCzDcp/yKF22mI0y26sa SpDRKYEjS2uXTV5SIW5Vt8N8WRp8mz/NdmqBk3bbvU0awuGVjIZf8aKWVcK80HsUbptz RBz5KT8u+J8qZUe3iXi9/qnh67ZzNWd16LXytB8ttHMVFungJYt+R/wb8iI3y55ckGjo iKNvXoLB5a9wf23OAC6Jl3Gbg1005Vt3ykvMblCgbv4f3URaUYHZxKliCVHtiqPP2cgA gPQ8tMpzPPzPdJdyo/90eMDMW1QWpa13GO/7syQKyh+U67CCcZBpf2LETCS7N+LhXIpS ci6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AktsaW6Bskrl1AG9i/afTuE+QfmnEvj7VSG37dmiSWQ=; b=EGcrbG23NiWzRodEfP+gSeEtVrRVRxUcgNnf0IdwrofQv/phK1P+FkV8hip5X3YVkF CWGg20uWxeAVh7dlkmAi4QoVSkc6S/seSjYTY2NREWPzQoPTGM5CJp3Hue/eHRCC4xIQ bL+x0IRGHLWkTtVqei/oaVNSxwdDiUg2fwvfoYqjEvpw8A1jxWVhtC8tYvlMzUGCQIGQ HzcqqRnWG3EJkVhmIqsDl4C2beFr0iZA2j3WwCECze6ZKF/vGIFBuv1J2Ki4+sbmpenr SECYNolvgGfZSYRU0aw99nzD70w6P0I6CbVC6ordlam30Pm58rFnmbqzvcX498tgSCVC XOJA== X-Gm-Message-State: AOAM530mdPyp/VimHVvKBCgObwZAVGZ7UvM5hsSvc+lLEgvDR5t2+JUz rQdgvDCXdzbzdNmAeXOoiX/LJA== X-Received: by 2002:a1c:5443:: with SMTP id p3mr28003511wmi.101.1622018875645; Wed, 26 May 2021 01:47:55 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:55 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 24/34] drm/amd/display/modules/hdcp/hdcp_psp: Remove unused function 'mod_hdcp_hdcp1_get_link_encryption_status()' Date: Wed, 26 May 2021 09:47:16 +0100 Message-Id: <20210526084726.552052-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp_psp.c:374:22: warning: no previous prototype for ‘mod_hdcp_hdcp1_get_link_encryption_status’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c | 13 ------------- 1 file changed, 13 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c b/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c index 26f96c05e0ec8..06910d2fd57a0 100644 --- a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c +++ b/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c @@ -371,19 +371,6 @@ enum mod_hdcp_status mod_hdcp_hdcp1_link_maintenance(struct mod_hdcp *hdcp) return status; } -enum mod_hdcp_status mod_hdcp_hdcp1_get_link_encryption_status(struct mod_hdcp *hdcp, - enum mod_hdcp_encryption_status *encryption_status) -{ - *encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP_OFF; - - if (mod_hdcp_hdcp1_link_maintenance(hdcp) != MOD_HDCP_STATUS_SUCCESS) - return MOD_HDCP_STATUS_FAILURE; - - *encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP1_ON; - - return MOD_HDCP_STATUS_SUCCESS; -} - enum mod_hdcp_status mod_hdcp_hdcp2_create_session(struct mod_hdcp *hdcp) { struct psp_context *psp = hdcp->config.psp.handle; From patchwork Wed May 26 08:47:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448158 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017420jac; Wed, 26 May 2021 01:48:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6zS5mKJ+t/So5xrMcYINo27TBpsbh4c8VAQqVGsMKmaPmM3APyMRHGzri0GF/g305izE0 X-Received: by 2002:a17:90a:8581:: with SMTP id m1mr10195699pjn.47.1622018911653; Wed, 26 May 2021 01:48:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018911; cv=none; d=google.com; s=arc-20160816; b=dXoJgkco4RYo4KbKOFh0HPMm+Tv4b+4/T0Fc3D0ptIk7a+IFSbujduO+spBbuqFKqu hXAMzFdwglfnyaLZQblOWifBZIXoZp+gHO5XF0w5Ov+ArMvCBY8OgZGPAwIwj/bmUt89 RsTPv3hPVB7hQSjSGxB6aRtu/B1BmmxqBismdeAOl8uA85vxZuk5D19qtZotcHLHPJqy XB3hNGV6M3A+GM+ikIhwg93F4rxrwZQedCo4URs5Tok1ndbHjr4XpqjgKAV25ANv/wSB JmPnBK8YD+8OVN/VyWVLeiNsL+HxXUn5rOMiW2+4IrWteDc3iS8P3bRHcC4ltpD4Aich Ljqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=gCK0jqtaLc6j+lM4CKdqVnjdeawCrSThn6Bsjq7wZAM=; b=bw8cwdvFX+IW4RNkUBjKtfOCksqUTMsl+5ltbWPsDFNK3plam8L/U4CweDY5Aug3P+ F0AX8yD1aaQvHKC3AoaSko3D1L+5f08eUIQE6pHZyLUO2vlajIVEp3I6wP1IkxA3yGqq Bo51Xi3QBVtktFpIOQDGFoRrKnCZMfV4SnXFyTBv2/BpWR7KW6v3sK/lN/gzu6LelTta hMOkAKU5x99vj5PV+4/WGK0oPZQJw8x0Fhz+9IBdm5ZGKOf5eIm4ng7Tv2JEWkUTxhXI P2qu1zavMMvuu5aW0fSI4tRrV/YY+L1lFLBewmdMdHj6D0NCUnxWsff3fj0tcLsAlYN7 H1eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="S/lbe/k9"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id 5si2226525plk.418.2021.05.26.01.48.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="S/lbe/k9"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 228A76EC53; Wed, 26 May 2021 08:48:23 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by gabe.freedesktop.org (Postfix) with ESMTPS id 15B036EC2F for ; Wed, 26 May 2021 08:47:58 +0000 (UTC) Received: by mail-wm1-x331.google.com with SMTP id o127so239418wmo.4 for ; Wed, 26 May 2021 01:47:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gCK0jqtaLc6j+lM4CKdqVnjdeawCrSThn6Bsjq7wZAM=; b=S/lbe/k94fAO1B82T5EbehOEOXJHnpj/Y7hT8SSnPoU4Kn0bBq9I2FZr6KAS/tTtC7 kYQveIhxDKqYQ4kejsVIUXMPQZErILArnTEjQ0ZoCBODTbytq5/f/8EgGyi4bH5AAW5y chw+QPj8Q2+srX3qr4lkFZAUeCyqvx7haVK3T4NY4MhmthRMpfpUxdSTYsdXDmRJ7fIH 9lfys5C8BU3v6LWAc5TzalAOgMQEaiOxOpy9ZQyIxmo2U9TZOgayi9F5n7vo+yAlYZg5 HLcyGxafNyJErO+sLspSQqdwfeL+9U8X3vOlCfnHUoftXh7zTEvNpJy/5xianOnlz1GC Ssng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gCK0jqtaLc6j+lM4CKdqVnjdeawCrSThn6Bsjq7wZAM=; b=UwRu4QTDxNxTY9YvBFM6iTmfGUcNo3JiNkKd3B0COhJRLfDhD0SyK3f/zip5pEGOM2 GHVprGzUMmVl225aJof9IOPERcHROSqniV+N1Pg6NF84DtNF740U68aygPxey+Q4Istx InUiiBe4Z4oOfHQcfo2iIp0WfNkGlUdTn2gxeGLFT0q5Ewq8jnAznAU3ncGgXlWbZl7D oquDc7sLW6b7BmyYUxkbTHs26ckZSMv5UXiN1IhLu+Z+5gUPfZvMuPSgP2OAvObGPMqq poDy+QnZmzpO8AWOS7xxiVTBDtj2C0EY8NvjxX0ZVD7oTGHAtgSkax2vBdrpGmcrtYup WuAw== X-Gm-Message-State: AOAM533ZCwlkzOJBuiILQ95lE7oSO4/J6M4APreccKJuhu7QienofiKB RLetJFb5n01jGQnrPIe/3xerrg== X-Received: by 2002:a05:600c:21c3:: with SMTP id x3mr27065352wmj.131.1622018876689; Wed, 26 May 2021 01:47:56 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:56 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 25/34] drm/xlnx/zynqmp_disp: Fix incorrectly named enum 'zynqmp_disp_layer_id' Date: Wed, 26 May 2021 09:47:17 +0100 Message-Id: <20210526084726.552052-26-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hyun Kwon , David Airlie , Michal Simek , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Laurent Pinchart , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/xlnx/zynqmp_disp.c:101: warning: expecting prototype for enum zynqmp_disp_id. Prototype was for enum zynqmp_disp_layer_id instead Cc: Hyun Kwon Cc: Laurent Pinchart Cc: David Airlie Cc: Daniel Vetter Cc: Michal Simek Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/xlnx/zynqmp_disp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp.c b/drivers/gpu/drm/xlnx/zynqmp_disp.c index 109d627968ac0..ca1161ec9e16f 100644 --- a/drivers/gpu/drm/xlnx/zynqmp_disp.c +++ b/drivers/gpu/drm/xlnx/zynqmp_disp.c @@ -91,7 +91,7 @@ struct zynqmp_disp_format { }; /** - * enum zynqmp_disp_id - Layer identifier + * enum zynqmp_disp_layer_id - Layer identifier * @ZYNQMP_DISP_LAYER_VID: Video layer * @ZYNQMP_DISP_LAYER_GFX: Graphics layer */ From patchwork Wed May 26 08:47:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448154 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017258jac; Wed, 26 May 2021 01:48:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5CtjwQLYVNM48SvwXTbuCZtwePr8hh0+ss6sRZfOAwe1B0QlszizBFx+JImr5QpFCXfrx X-Received: by 2002:a17:902:9886:b029:f9:c8d6:4cee with SMTP id s6-20020a1709029886b02900f9c8d64ceemr15607020plp.82.1622018892376; Wed, 26 May 2021 01:48:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018892; cv=none; d=google.com; s=arc-20160816; b=lsew+XmOT2HbKROaMpbQg0vWnxAEcMiBAvI+Mz7ryS068dm70wljziCm8mQHLESNyC m4SqHwKMKd0SPfudceBTTpUSktm4LTl6tAdSSVaZYOBgowQ9OUfgp/7teds2HL1CY6Pm QHoPrMrmSWjDdycEziSD6Xaf6EpveiR/RsgKzCLfxytKjcrljvLlNfIDa8iRhyL5myjv Qu1TLW0OWFPdtwcKrtRu2sp2XdUtyeIGlsyBxAF9HJz/kk3EXC6XMaUb0NtHkRDrO/1T hrlAfekhO/jIfMB7p5tzB2APExfwaYPBZkJIbCLZljSeDL5Yck9IOsqu39H5lHpODU69 tGvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=sC3mIdqFUsQKIxXxCz1K8xBUphxh36SrzQvqXPDvpPY=; b=weLUN/BNi8A92krdUXC0ZqIFeOBwuFAbzpiV170Tmrp0BKOkfe1cL7/PmLenxcOEPo CAWsqmvWcyhUnHKpjsFmM2AfssF/zqLSPvbPP4R0DazA9At+PwH52t6ZPK2UlYeKyHpH OSLSY6zYpv+9PcUIoq6tVKxJaurzB1vxu4cyreziu3T8Wk6QAj9qw1wcXmTFPyrWqtmt veZVvL3f9Y3Ls2e8kPoNaMIN5KRJyFX0F2jV0DWiPdf8EKGhgZnR2TSLGn/ZbTtO6as2 kN2SqhbdH0Y3BTASWgYcBEH6oZ7qonAMcbEe8RqRGeucXGaPOg9XBi1PrlqePuAIQ16I sNAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=aQRUeFJ1; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id a67si5809930pfd.3.2021.05.26.01.48.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=aQRUeFJ1; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B0A5C6EC4E; Wed, 26 May 2021 08:48:01 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by gabe.freedesktop.org (Postfix) with ESMTPS id F2F5D6EC2F for ; Wed, 26 May 2021 08:47:58 +0000 (UTC) Received: by mail-wr1-x431.google.com with SMTP id j14so208317wrq.5 for ; Wed, 26 May 2021 01:47:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sC3mIdqFUsQKIxXxCz1K8xBUphxh36SrzQvqXPDvpPY=; b=aQRUeFJ1Tv1TRs3shdu+bDGiWPbu0Zzno+WGQszWxUGJrQAFFO4Bx7nN5H7ytxpqA+ F/dewoVbjvrsn93ZK0fud4nAn9F3KsxZV1HrGheZo4fAlX5hoo15avmNOpo9FC2EnPz/ qOr/d8N9/wGdnA0p8Kjjr5NsBv6h1SwZmOY8phgTCG//0mK+a0UUCuEptCNU0e8EZY/2 Ogj27ozvQkDi69ClBZ61X/HPJzp9bMXUFqaGRewYXIs3J3aoKsH6fqXykFkl3ENbdy8/ /VP3GdF1/mDCHVlOAdbDfCELpVP8ZIumK+upV4e/EzDE4CQfjGSgtHfxTwIHfLoy/JFH hCKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sC3mIdqFUsQKIxXxCz1K8xBUphxh36SrzQvqXPDvpPY=; b=NEi8Y17XX8EuNQXfiFdZcBjaof1fULW1Pf8mG3oBmj+SOz5KIUtb90A6SfPRX1y4Zk xgD86SzXB0YlZ7ZPoaHT694xmwnVK1Z1OCI3wV2pgMP87Z3jtyfyxu4GjrUZxqZOjL2b fBqZqL1S3ie+UilBW1EdoqLRolJZxQVgXsSKHel5+KEV2H3qoYlHIR631U/Q2fL0VxKn yTTCt2XPvuZ4aaGoDDkvw0ZepaVia5AhZgzuj3xkIx344oYa01aS4D92bOAg536H+kDP bXYWQw8TwDZxRprOMwrNZya2d2avvB8FnN4zZCJ8Az6wQgcXDtqXtGPLyS0rXfOA/a/Z Exmg== X-Gm-Message-State: AOAM532l/pev58SNymWLKL2nutMZMxpXJiwBzvAxfV+97pqq3cDN3CfO EjOlH96GQou/B5DMl/aDFjE/eA== X-Received: by 2002:a5d:52ce:: with SMTP id r14mr17259894wrv.395.1622018877614; Wed, 26 May 2021 01:47:57 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:57 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 26/34] drm/xlnx/zynqmp_dp: Fix incorrectly name function 'zynqmp_dp_train()' Date: Wed, 26 May 2021 09:47:18 +0100 Message-Id: <20210526084726.552052-27-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hyun Kwon , David Airlie , Michal Simek , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Laurent Pinchart , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/xlnx/zynqmp_dp.c:806: warning: expecting prototype for zynqmp_dp_link_train(). Prototype was for zynqmp_dp_train() instead Cc: Hyun Kwon Cc: Laurent Pinchart Cc: David Airlie Cc: Daniel Vetter Cc: Michal Simek Cc: Philipp Zabel Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/xlnx/zynqmp_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/xlnx/zynqmp_dp.c b/drivers/gpu/drm/xlnx/zynqmp_dp.c index 82430ca9b9133..a1055d5055eab 100644 --- a/drivers/gpu/drm/xlnx/zynqmp_dp.c +++ b/drivers/gpu/drm/xlnx/zynqmp_dp.c @@ -797,7 +797,7 @@ static int zynqmp_dp_link_train_ce(struct zynqmp_dp *dp) } /** - * zynqmp_dp_link_train - Train the link + * zynqmp_dp_train - Train the link * @dp: DisplayPort IP core structure * * Return: 0 if all trains are done successfully, or corresponding error code. From patchwork Wed May 26 08:47:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448159 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017409jac; Wed, 26 May 2021 01:48:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHWphp+EfVsLY3lLCyEkWIL/YjBlQfPl6R9fKm8TxoeRseTT2HRCLwhhtR67CwNUYMX3j7 X-Received: by 2002:a17:90a:6046:: with SMTP id h6mr34866801pjm.152.1622018910527; Wed, 26 May 2021 01:48:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018910; cv=none; d=google.com; s=arc-20160816; b=qPKi73dWpSpfvnYEL0R24UWQQQNn1Dl35UFG7i5NKRlnMf9POTWlEvbUwoH6k9TmqO SgMmc7rQmQFVM2z6lSj38YKV8J5xDr+u3GX16k5RwFgOu2szmp72GbI4sfb67wouVCCg oAakOXtIHtupt00I7Ldd9zC1zsOUyq7D2MH5v/g233EW4/pL6Q+Y9OxI4sv3bGkGsc3x dA6U7W4xyk+614jmJC4+MbzlWt6S1UnVRPMNzxjeXLpsFWaleXYEhoab3GYbb4LMIFeF OD72hguSnjSu3osEbZ2+RNH0W143fBotS+H/EhA8fVR9p6x1RMzsGBej+YKq9DhL8zuc cl2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=S4QyaYMBoYLFq2bECv9NcJDq+15DdDgMC7JcY/MSiHQ=; b=cVYcLdSuQTJbJv6S70Ure+civdokmZGCf36+ToOU6oPohtplNXoDjfKSf3CQdmXJL2 fywugOOO4JCZkUkb8czV/9Dp0Tmg43qeLQbNxxrKHccXrY3KcAb4ifhrB3cq8Qw9B4u8 hxNYrBvUmTFn6JzNNCt8BYHL0im9u2hShWFfO/fVUwtrhL0t/dUD2+iA6ve6UCwnLXNB KbK+Y2sg5mu6JybH4Tj/P4+arcl3S7RRACtdv7cyd9CmzisuYteb/2In012IH11pmAXn fZhJXBPb4u9cI6nlr2BdnGpojicH3W1hV+IyH1DuGaWS524jGkN5rpBp4LBo5PXT5f1e olSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=fXxjutAe; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id 187si23326094pgf.392.2021.05.26.01.48.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=fXxjutAe; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 361C56EC57; Wed, 26 May 2021 08:48:23 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by gabe.freedesktop.org (Postfix) with ESMTPS id D7E506EC3D for ; Wed, 26 May 2021 08:47:59 +0000 (UTC) Received: by mail-wm1-x32f.google.com with SMTP id f6-20020a1c1f060000b0290175ca89f698so15003741wmf.5 for ; Wed, 26 May 2021 01:47:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=S4QyaYMBoYLFq2bECv9NcJDq+15DdDgMC7JcY/MSiHQ=; b=fXxjutAewkRO+ZLRFdPFIkDYQiq3FT1tAjQZAeRDdOi4gzVrCmRz0EfHowF5wmGIU9 76vEzlODufv7/xzX4bFcjjaMBHWtnsp2o7aAGyOFJ7MydqdwBDVUs/dLiJTM3EtuT8Em nCwY5anBY4yFKKFiGHIQ9c3tybiUDbB/7KSUXRf2hhUT6fuzjMgqPvpLKUdwhnU3RJT2 UIYYzMdHkXpCOU3/HF600gA0TktxLAoTIs5uifm8CpVMWcIDlV1SHWjVczPC3CLkGneU bWE8SoL5WsEyX7ERCKdOySnTVc4ZibSovBC0Ww3mEgyzqxw5IE//bQNsh+Am+8zkHAp6 Wygg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=S4QyaYMBoYLFq2bECv9NcJDq+15DdDgMC7JcY/MSiHQ=; b=NVTSqXz7KngAGO/0rtBbtCP3SYMCMXyQ5a/Du+m8tX8aYzrOShZxc6YdjcewdqtJx4 nH1jVua3CCqyxfWjm9fY+nWsxmaH2/kBcK3Jf0J0EOCLtnaGKOPWD6D8Mokuw84soj4f o6x5mJHhbdclKLWe/2Usv4vZmHPIyBXlAyhSX3jOxhC2iZnzWHaVXrKe4hm7m5yySfzm SbenMOJAc8Uv3v/tp5oeE6txeKTkYZMmlmIqr+4fkEkvTqlXtVpROEGnq1F+uwFYGe33 e9J+MatatJ6EwX5VrB7NANoSq1bzfV/ZuROhpybaHvYDCFUZFHpjm0L6dKiZvoos1ftl 7CaA== X-Gm-Message-State: AOAM531Eyq17eNy+PHk2SWaDbRP/3gd3VjUAw6hOCIB9jVBBQP0fsZBY KmBot4rCxbV+8sBfKtbwyWvnBQ== X-Received: by 2002:a7b:c446:: with SMTP id l6mr2225001wmi.75.1622018878547; Wed, 26 May 2021 01:47:58 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:58 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 27/34] drm/ttm/ttm_tt: Demote non-conformant kernel-doc header Date: Wed, 26 May 2021 09:47:19 +0100 Message-Id: <20210526084726.552052-28-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Huang Rui , Christian Koenig Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/ttm/ttm_tt.c:398: warning: Function parameter or member 'num_pages' not described in 'ttm_tt_mgr_init' drivers/gpu/drm/ttm/ttm_tt.c:398: warning: Function parameter or member 'num_dma32_pages' not described in 'ttm_tt_mgr_init' Cc: Christian Koenig Cc: Huang Rui Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/ttm/ttm_tt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c index 539e0232cb3b4..682c840c9a517 100644 --- a/drivers/gpu/drm/ttm/ttm_tt.c +++ b/drivers/gpu/drm/ttm/ttm_tt.c @@ -415,7 +415,7 @@ DEFINE_SHOW_ATTRIBUTE(ttm_tt_debugfs_shrink); #endif -/** +/* * ttm_tt_mgr_init - register with the MM shrinker * * Register with the MM shrinker for swapping out BOs. From patchwork Wed May 26 08:47:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448163 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017460jac; Wed, 26 May 2021 01:48:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzAl6gtcq2aYj3sJXM4FtWkR+gWh/NpqNdAO8iEr8eD1fu3JqeFjHAhqbCMcCjx+FL2sMO X-Received: by 2002:a17:902:6905:b029:f0:d4b8:b90e with SMTP id j5-20020a1709026905b02900f0d4b8b90emr34423507plk.37.1622018916311; Wed, 26 May 2021 01:48:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018916; cv=none; d=google.com; s=arc-20160816; b=U3X8KWUsaCOzO/a8XYDaFjc7FteqQuXQo0eZdz7s4kgBC5f9L0INaY5DEI5ApD6aie iZoBjIhrrigG2hLbqj0e79RlAZ0DJG///2WVifLT0PjvtJTutcQKBwKol/DrUxhPnvbR oVEuMMvyPAjwfl/NaZaVJFrH3Cbt1ulgV3gdSEmGYn35c+Tgl68rY7elU3F05uOkQIjT OOW0CNpL/ZOp5oRpGo6bCg7/Z1i0Ln5H03VvCGcu/Q1lYV2+MESiWgRmyaUbaWzUE5CP Viy8v26u+eOlD/4ItKKrAlcdFZmuQwt7xX9gBtPcGQnsN0LCt7XWbeoTq57ZqNIvYOnS 35aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=+mad90AtNlCIQqeONJLgwNjgy3qTN43q4JqhckiOfdA=; b=EFzGY5WgWPC5P+o40bg4diRezX+nse9X7cs2RMgXHlB49WAeIOmbrV4WMEtk85WHi3 bEag73zMMtnPxAau2XnGT+OJThP9VPuvH1tlEIt8A6h++0IRycvhex7Fk7+Uvd00SRZE cDinfPHnMPgzqg6E9FxOMgWz2zL4M2aUtOBtZ8nE2Tvvetly89dd9TKHf015Xj5U5SXm dmyT8dsTad3pRG9joRbIpSjMqXRM/3US7Dba4cXsSo/vi3yqjAdgfOA17sxDoh5C0WGR yz1RIe/drePILj14nf0KYKlgznigYT2Y+E/D/6zhc32astUDm/tX5W03lrjLc0dyg5GE sKNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=rDtWdIyU; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id v6si7275912pju.127.2021.05.26.01.48.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=rDtWdIyU; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 49FBF6EC59; Wed, 26 May 2021 08:48:23 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6B6926EC3D for ; Wed, 26 May 2021 08:48:01 +0000 (UTC) Received: by mail-wr1-x42d.google.com with SMTP id x8so185091wrq.9 for ; Wed, 26 May 2021 01:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+mad90AtNlCIQqeONJLgwNjgy3qTN43q4JqhckiOfdA=; b=rDtWdIyU6k0Cu5EI0Xlh1Az0oi7vs4Rth10DNmiyY6J6hI++dGQgjhk0Ys7zL9Zffb 4njHjsoCQFlwcTujCSBLYl/jQKTw9l/Fc7oYmViTqq+nSag3QAXqaW1PWbx7mA724IrN etOcBgE3E4D4L7jpS9zuUTeLSizvoLtiNbXFR3BYha4kSt4fXo/bc+ubcSigbUFa7J8h 6f0XO14rRjVWzK5KGbVgkPdQICuiMB/Eth5vyt4C3DTWBpC9u7qhl5G1/EnhNo+eNPQc ahnftmb6732uEKdskUfq9+EkUKctnVZXLnSi7quTT+3ewG0j5rJqHVAt/3GZ2436Yldh tbmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+mad90AtNlCIQqeONJLgwNjgy3qTN43q4JqhckiOfdA=; b=pvYo/j4HLCbZhdUMXh/MpKtTSIk02YbEpl1BgiPbAj1/Ifw9lP9yDqobhoE9vELAj9 4gecCFfJGU+1YZIO9y6orZlM5+ROSQcsZqDLZ4UtgL4ZwPFIw7dQ/hK7ZWCEl35QFY7q 3gMJcmzLP+8JbGIxHt/JjiRSdRDr6XwP7qPUaMxT2vRMK1e9dQWIz7twHW+siu8Cmdko YZSWKIcLVCx/HtBUqN+l54MMTOzsgAgEGSxV6jVDZYbu6ODtFjAcWX9VBNvIEuiLSpbW JtUnksPFr59zoSFAxLRHC62UFdTqgAMEtFagv1N99uMFKKHfXjBhFs6Iged/cu6dZvSU zHDg== X-Gm-Message-State: AOAM532picOmKUcIbqtRq8lfxwMbZCCCEm15srflo0591PSebID2Am4T E9pc47z3RkDxQobLwoHQ7OA4tw== X-Received: by 2002:a5d:678c:: with SMTP id v12mr32334508wru.246.1622018879881; Wed, 26 May 2021 01:47:59 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:59 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 28/34] drm/panel/panel-raspberrypi-touchscreen: Demote kernel-doc abuse Date: Wed, 26 May 2021 09:47:20 +0100 Message-Id: <20210526084726.552052-29-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Thierry Reding , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c:33: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Thierry Reding Cc: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: Eric Anholt Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c b/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c index 5e9ccefb88f62..2229f1af2ca8c 100644 --- a/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c +++ b/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c @@ -29,7 +29,7 @@ * DEALINGS IN THE SOFTWARE. */ -/** +/* * Raspberry Pi 7" touchscreen panel driver. * * The 7" touchscreen consists of a DPI LCD panel, a Toshiba From patchwork Wed May 26 08:47:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448167 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017512jac; Wed, 26 May 2021 01:48:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsoJt4pVhPlipNJWOUOmVvhFGQkxwsIvJANYJoi4xnhYPI+IRkyMLVHc4Q9NHmXvhhW/b9 X-Received: by 2002:a17:902:b781:b029:ef:6721:b956 with SMTP id e1-20020a170902b781b02900ef6721b956mr34585622pls.70.1622018921283; Wed, 26 May 2021 01:48:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018921; cv=none; d=google.com; s=arc-20160816; b=nD2TgK6JLfO4shdRmMDdWN+hl+LqUxJhcdwNzSy86FCtEoCdcfE790l6ULEvNh89k6 9wUsxmW0EXlQ4+w0VjEShUaP1P2ujisXxic9u7wx4DkjnDyXECUdAoueKapHCacZuu2g vYmSpUDBfnmrqypAVj1LzbfPLE4PTVvxzFwhO66SdGoGlzLWdt5NHv+xmMl3tYMSHAS8 c8hpO0xYVkNLPfgKSux0U4SuVQSh/oVKK8QDisJS7QgO088avhq5AUg7TSF+acYUm1LL oZYq8qFKMbV+r4LDMvxv9l1XbJYXdvfrfLnAm0wjE6FJhJ+sRy22KB6E2oHVeXgP3QUR Ex3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=mk39BS0/bKimRA7KpxocWhMuIWwoKnA1Ws/AOAzTtyE=; b=c61F+Gwn0ta6RU01E0T6d/GiFWPeWyehlGf7qqpWtpaGuzteQfLBzkG9bwVsOihgJt 7w22w2xdL9+rZdi2NrurZQjsftSp8jAQf9vBPm/iyFVfSNQ74k6s9FIAyX6Y9OFxeyIZ EnAPpzdrNLz+2TYrB12Afb5iO7Do3lxi0Qjjl28jIeClISyBqcgal30ina/Ts85Y9uEk vXa4fo+UKWjYIy+TPAiNXyK0Wk2bkjHCQwGLcWiaYtk0BnVYy+99Ml6bxNMX39VM4dD9 JsRo4B7BTSAwaeU3cxLgjqrv7W0hJ/dgsSg4wHWb/Py0YKUCD7um+kWlXJxHOtFuVdAK UEuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=F83SNWDn; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id s8si22425720pfm.339.2021.05.26.01.48.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=F83SNWDn; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B8A0C6EC56; Wed, 26 May 2021 08:48:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5742B6EC46 for ; Wed, 26 May 2021 08:48:02 +0000 (UTC) Received: by mail-wr1-x42d.google.com with SMTP id n4so224444wrw.3 for ; Wed, 26 May 2021 01:48:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mk39BS0/bKimRA7KpxocWhMuIWwoKnA1Ws/AOAzTtyE=; b=F83SNWDnHwB7+ws9/cQ+MN1t2ZK2kH/TWos08Uuvhx2JU/ruWUKb0/RjR+IlV21Qjt vANYuFpbO7DR6UIYm/EMRpfAzs3o3II9EjG7efYeb/pg7CnhiyzREKrCvULgSHP1j9hF 1HoyA0r+X89u4aPtmZWEAGfshkdfexDMHCviK9t4abizzhgd+qLqPToejfxfBYbOxxh7 AjqH4EBjQ5E1fLOUKgKUjFaLiTNBI9QwkE2t9QIEKT/lR93XQMblyiDBYfGY2l37APjh bHQnYINFMl8aG6Vh7crGI5UrrzNS9ACvRUlztbtd0wYef0TELk5EPOCaDoRoGdJKwJBL q8Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mk39BS0/bKimRA7KpxocWhMuIWwoKnA1Ws/AOAzTtyE=; b=nIgzdgNe0Hx5/QW9AiDpIsTmlXpYpT0oest0z2l2cYfYG8woTfNBBO80Q0vSTTriil 3+CY0TWQW6CzW7flgYvPA2CjA6WHsYTiTcu1bMYd9mwAw1djMZDaD7hh9AFfsOYig76i 1eS0pw1mvhoA96a8DojE3iIb+X36oZ6vT3F9Gdm1TnQEjazCm0273DqB4o7XWnQnFYAI 0maVpVlcEs9iVEYsXKvi6EpY0Njzg6cuZ7M8OY8WpLPuEVP6/cx/CLXUnXt/KCX4sM/x VKroHaKGbsqrSsUfPAjBqBzv1VIkbUlc4Izd09g/KIOgUcVVUSZqR4I9VfAikIehKH0m KQ+g== X-Gm-Message-State: AOAM533w03md2zIzUY3VG7s+sljxVw//KCUnfj/ubrKlyNaTV6WrHXIE ESgazV8Jesk+qvT+Flo8uwaj9xEoQK1dNg== X-Received: by 2002:a05:6000:4d:: with SMTP id k13mr32323103wrx.98.1622018881029; Wed, 26 May 2021 01:48:01 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:00 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 29/34] drm/panel/panel-sitronix-st7701: Demote kernel-doc abuse Date: Wed, 26 May 2021 09:47:21 +0100 Message-Id: <20210526084726.552052-30-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Thierry Reding , Jagan Teki , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/panel/panel-sitronix-st7701.c:42: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Jagan Teki Cc: Thierry Reding Cc: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/panel/panel-sitronix-st7701.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7701.c b/drivers/gpu/drm/panel/panel-sitronix-st7701.c index 4d2a149b202cb..320a2a8fd4592 100644 --- a/drivers/gpu/drm/panel/panel-sitronix-st7701.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7701.c @@ -38,7 +38,7 @@ #define DSI_CMD2_BK1_SPD2 0xC2 /* Source EQ2 Setting */ #define DSI_CMD2_BK1_MIPISET1 0xD0 /* MIPI Setting 1 */ -/** +/* * Command2 with BK function selection. * * BIT[4, 0]: [CN2, BKXSEL] From patchwork Wed May 26 08:47:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448161 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017438jac; Wed, 26 May 2021 01:48:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMSWqVKQWUnv83VSPqg11gRD4zO+cpOc1q8QLt9SQfUX7VqL76GTjwKsKR/CrEjMzAJ2hn X-Received: by 2002:a63:490a:: with SMTP id w10mr23454855pga.286.1622018914017; Wed, 26 May 2021 01:48:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018914; cv=none; d=google.com; s=arc-20160816; b=yliKKMI1uMylXZLdt4KiRGdqUBkypyrm0AQZIDvrfuw9Y6fOEpr+ZXu+gRI3086S8d XvqNotto1mbven/ihgcG9kzu5yShzOj4XLJL74nFkHr1BqKd9VWHiwJjbQr2u3sZnP4x d63xfF++dwzw4ya09H1JCwB5KOKayyAmtR/MIbkycD/SXk5HGpGu/tGdQKLWq6oyCfzO JiBd/VfExF2A4GKAzmUlApTiTozNzcmldtHDCvpStFVd/j5/2ZO7G4N5/JoZ0epcxFLT buZhFADB7CrMRu46xIXO5xIo8kb3S0m55CLHqK9zDx6kDczfSp09wOsffjrDtAzuyezZ rGKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=JvuBm7KpIXmVjvwi2OsKGMdogxy/zdINv8FqDSEvNYM=; b=R+17NjT6MKxQ5e+1o6k1+fbK0+vT1E9CVoZOXa8ZTsEib7zISSXLOV5v4Tjac7t3PO vgOmKw0NItlqkYsBx1J81t3H65b9GTyYlQWxU7Uwspg36tVX1JCjvOyH9NLK8wgSNHTJ iDsF/mgp21kTxLXGPTuWW+txbIQSruFCyovsXYtk1u3+hb+q8tTb7FYqZGi8/N70xlU9 gIE/I8kSYL92IN4AyhC2vPFA9JrxkYkO5XIzdnFGGm/xr3DStd80UpVqfCHCYq+AIYPt DsVdR/hn318G8YYJbHvFB/hnsdoh95s6tMGBMc6q9OwkipWM+kfMHt7lbXf9Wc8xlCMS 52qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Lqd5jcfB; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id cs11si23752186pjb.56.2021.05.26.01.48.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Lqd5jcfB; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 07D036EC61; Wed, 26 May 2021 08:48:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6A9576EC3D for ; Wed, 26 May 2021 08:48:03 +0000 (UTC) Received: by mail-wr1-x436.google.com with SMTP id n2so267535wrm.0 for ; Wed, 26 May 2021 01:48:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JvuBm7KpIXmVjvwi2OsKGMdogxy/zdINv8FqDSEvNYM=; b=Lqd5jcfBOyTJPW2tFudt8CJv9J24bMfUhxeVIJZ8LmLI4SntnbTDRQQKyC6gpxAHXz 9bN24AK6T739jCAH8GscQi8AgLUwd+1GsQcwK5rlRKI9kY7T5vOPO8+dZWVsWF1LSCZ3 vG+j9kMH6Avl7hje6v2lDCjezgRtIi2s8bjtXVftIff6+ZLU1WMKEWszoAmYPFPG+d0M l9HPG8kGlyHpAOjOVi8ub43lhmZysDxIVeNgKCjW/MPBpSpJ6EgC0SlVBD4MLyN3Lhk6 xoqjjLeGwk8V6oZ2P+P27keDN+hsF4syPgMq8Kv2GGg9MDJI2j+cjGbUixn0xhZfGkxW N0RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JvuBm7KpIXmVjvwi2OsKGMdogxy/zdINv8FqDSEvNYM=; b=MVJZkDJhpR+SzY+d9649kEGeBOYLSqAbfvucAzAQstE8doOVVI6Ex+IbLw1oGC5vzq yF7WdFCw5enMIxHimOK3CxT3VaArY0u/3jcpu93xMFo0HTh5wds2U4bYziVT+pFGp/wn XU/Sf25vRpEsgS488Nyma46x5QylFYLMvuyERsglmcPvGr53424sv8jyDbvWK93GS1td 5dyVwee8gI/kRnJhalpBrHz0LHCLweyj+BhCZfX3kbw4ivLM4fGtz25pCv3mj4Kk2BKO vm0ukJKct2pzqgqgT6XWaL31ffcd0NB1HMH3I9bGMtvtILJQ3nh7OPKA4MQTQaLpldFh Ylkg== X-Gm-Message-State: AOAM5320P9/fRJl2ow/PZP2clR6yFYYfiN8Ap2zNOgNNWU72qEIXco8w pEOnOaQuc5O15z4EkDOZhrKJ0A== X-Received: by 2002:a5d:4346:: with SMTP id u6mr31620387wrr.304.1622018882087; Wed, 26 May 2021 01:48:02 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.48.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:01 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 30/34] drm/vgem/vgem_drv: Standard comment blocks should not use kernel-doc format Date: Wed, 26 May 2021 09:47:22 +0100 Message-Id: <20210526084726.552052-31-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ben Widawsky , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, =?utf-8?q?Christian_K=C3=B6nig?= , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vgem/vgem_drv.c:47: warning: expecting prototype for This is vgem, a (non-hardware(). Prototype was for DRIVER_NAME() instead Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: "Christian König" Cc: Adam Jackson Cc: Ben Widawsky Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vgem/vgem_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/vgem/vgem_drv.c b/drivers/gpu/drm/vgem/vgem_drv.c index a0e75f1d5d016..bf38a7e319d14 100644 --- a/drivers/gpu/drm/vgem/vgem_drv.c +++ b/drivers/gpu/drm/vgem/vgem_drv.c @@ -25,7 +25,7 @@ * Ben Widawsky */ -/** +/* * This is vgem, a (non-hardware-backed) GEM service. This is used by Mesa's * software renderer and the X server for efficient buffer sharing. */ From patchwork Wed May 26 08:47:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448157 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017390jac; Wed, 26 May 2021 01:48:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxf/EquWpbkY38TuwzcRw5k5X3wF9bGr7kgCapB/ylxmmmRuoeB/V1y/yehYoO7008MIGu3 X-Received: by 2002:a17:90a:55c5:: with SMTP id o5mr34734209pjm.169.1622018909327; Wed, 26 May 2021 01:48:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018909; cv=none; d=google.com; s=arc-20160816; b=X1rXHxooz7L7XSU73zG07k+DAL9zqDFTmct9P5W/t/DvU++MzklhmZVMm7pDKciw2y PgBtbjVmAycsigZ3H7YlUpV1GvLc4UsPoccpePim4zMz/MxRyRiBZ9K34/1JG8rLXJul hnVMTjd+FFZCDSn/wY+TAECSjgnHAbZ4vSbcJXI60o3R0gsyYJkTR9TymD45hDPQdAky rvyhhVkRGmJgJLm4b/rqCyZW2PyZpppORg6+o5rKueaQ01pX9Rptl3E6T9pozHJZXaQB LUMg3gWWuIeJ6gWBQticiGXxFEB72HygKDH9rQelmhwDwd800wUspkkVaAOijx70lJXb Jy2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=ggE8ksbwsKIQV0Iz58/vSuT7hydgMXkIFUzJg2iRL3g=; b=DrONvkK1X0bE4mUyAa3qn1oPRuFTAiZ8J4hzOyBOafD9R5uLVj1JpUtmpUK4R4OBHZ Y5aZx+4Rr4tTa+0200drvJbU3s38D0nAKE9dcnD/YvshhhdQaTZGJ0MpFA329taJ3bEU 8EIW+JRSo+N/FMhiD20HLNo/IYygvoA9tz3wXmlIpT29k30AWFST6/OZ0H9lKUF/KgRa 50Oh3abFvDhxUFmSLhfpug61QteQLetViFhSyUYZJh4r9cm/IPXXkGb4X/M6vAsS1OWE 8K3lGClv/mfcXoh1L4eVSFbduCqZB5awikHiYFDeTbpYVc+0CEIvA0HlkENq5lMuVTsz StUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Hy0ql+D+; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id z11si23437780pgp.518.2021.05.26.01.48.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Hy0ql+D+; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CC1636EC4A; Wed, 26 May 2021 08:48:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by gabe.freedesktop.org (Postfix) with ESMTPS id 88DB96EC3C for ; Wed, 26 May 2021 08:48:04 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id m18so230620wrv.2 for ; Wed, 26 May 2021 01:48:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ggE8ksbwsKIQV0Iz58/vSuT7hydgMXkIFUzJg2iRL3g=; b=Hy0ql+D+VGg49Du6KbG40hVhYesQ2E2Ndg/ynB7+UJ1StONSbrjQ+6zw5j4EdKAPUf vLlTOh+lM5Cu3sf8fG0L4nqYGeqYUzs+vzxd4njx9dw3xN55MJdLlaAIntnWJdpG5fPB 0McOglFQLjFGo8AJQm5QwUUQFq6fTt/oIBi7vgQGTT0tuQrR1lE485jgjq4PgdrpIS+1 tyEhgPAyz3MWZh5/Pc/eTI1mYKBfcJagZ9U23p6pw6bzT3bNTg9o8xm+xnrOmEPNyou+ jTy335350RYr4C1jh94IcPIqpvp+iNNJ77mpL7sjHLVH0mytrzYUvSwFPN4OQWtHYTR7 1SXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ggE8ksbwsKIQV0Iz58/vSuT7hydgMXkIFUzJg2iRL3g=; b=TvL4wzFEExtxtKzq//it+ouRkL5wx4d6dYITEp4UwCBS2Dp6AHieUj7BNwPikEbRXD yfRhJRmkPeiESQQFGLc93e7XAQ7kH+RdKXMC79oCexefjimRYRyF4u2kPcR66fv6JR15 9UQ6USeolaBH+lg4yzxTD8PokLE+n0AmqtGaSdjzJFTM5QQUrzS50e2zXe1MJmUEDaEf CsjnF+P81520aA9XRUWvWsOIdiy3hkoGgPUKywe8akGOgAl035zod4RvfVr1eu4EKZe9 oYzNC1yp/iwA/G8BX6hnOYsONXKCJCG/gDC+X/clypmJAukcIjtzgIvVIoSbIijxLzGg BXmw== X-Gm-Message-State: AOAM532/tJAsqwp9doGQemsJs944dZoWorJsK2jnAgWIlcTDd1sGPdOk MCQku4JYa8RFOyG5QeMSmYNgdQ== X-Received: by 2002:a5d:45c6:: with SMTP id b6mr31628412wrs.333.1622018883237; Wed, 26 May 2021 01:48:03 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.48.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:02 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 31/34] drm/exynos/exynos7_drm_decon: Fix incorrect naming of 'decon_shadow_protect_win()' Date: Wed, 26 May 2021 09:47:23 +0100 Message-Id: <20210526084726.552052-32-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, Joonyoung Shim , Krzysztof Kozlowski , David Airlie , Seung-Woo Kim , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Kyungmin Park , Akshu Agarwal , Ajay Kumar , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/exynos/exynos7_drm_decon.c:355: warning: expecting prototype for shadow_protect_win(). Prototype was for decon_shadow_protect_win() instead Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: David Airlie Cc: Daniel Vetter Cc: Krzysztof Kozlowski Cc: Akshu Agarwal Cc: Ajay Kumar Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Lee Jones --- drivers/gpu/drm/exynos/exynos7_drm_decon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/exynos/exynos7_drm_decon.c b/drivers/gpu/drm/exynos/exynos7_drm_decon.c index 431c5d32f9a47..9b5e6f94e5585 100644 --- a/drivers/gpu/drm/exynos/exynos7_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos7_drm_decon.c @@ -344,7 +344,7 @@ static void decon_win_set_colkey(struct decon_context *ctx, unsigned int win) } /** - * shadow_protect_win() - disable updating values from shadow registers at vsync + * decon_shadow_protect_win() - disable updating values from shadow registers at vsync * * @ctx: display and enhancement controller context * @win: window to protect registers for From patchwork Wed May 26 08:47:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448168 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017523jac; Wed, 26 May 2021 01:48:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFSuCI8y8pgvZD2nUnybpSs38ZNBJASlJ+7UQrXJN6JfNDUufEDxOEgsbk5BBIEt1JV9ju X-Received: by 2002:a63:4b43:: with SMTP id k3mr23767680pgl.450.1622018922510; Wed, 26 May 2021 01:48:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018922; cv=none; d=google.com; s=arc-20160816; b=mcu3Bi8wyXbmgzGFe/3ryPObrq32TSNNQ8aSIcUNhPbVcV8DDV4rLXKiEO0F8vyc5f Z53Wia4iRoF1cuhmGJ0WITaDCo7i1Fas+wflwLcXF3cJno7OX20yfD6R8d+AYCn6lWu3 mcAd7vx04WEfq3TWk5vxqc2LsQ0SqjRYCEKXRlLV2NtfmF69dofXgDP6TsWfCxTIoGTO LPgH0nDDNF7CRCJK5WkR9Eq31W76RJR9wGHJiYc74M1JfpUr6Iv7riQd6Y8J+Un/0KLp Qrw/1u7o3eubi63S+lpeWX9+e2VJgg0z9HMG/PPIGU5MJnchnfWQ3Z8EtdQOoAeRjcN3 V9NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=nxy5VbUuJktWYoN5f56DsShh05RPtQyulwCzQanfG8c=; b=iNAUlcf+1n0V49NdIsiybrfnph1G3AHxqmxqF4YVBZh8sRTpPkSDqs+Ubvlv86dsqE olZJCQLEZbY+mp3XTbDRcXnNWeleJHSSCcJoJzeQJ0MAN7sBAvDI3q+ruHpHg6hAjhK7 VxxR0M/rvrTnTP/VnGiXSELY2mT7g2UyW8MLlwJ0tGlzoCFrWU18ccjQW0TqIQCRGgs8 2WP3da07NV6pPEa5iq3fmEMO5VRV4/0R9h+lk2jXijt7vGszVN4vhRJEhdE3FUWzH95C EzZ2+NLisTANhTKvQGuA6N6BXSKLJnIfE2FWghpL/7UdFz/6EeDIhCk9fOAp1wkmzEXf 0jyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=xiOe4mFh; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id h15si2459255plf.172.2021.05.26.01.48.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=xiOe4mFh; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 240026EC5D; Wed, 26 May 2021 08:48:26 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 71F4A6EC3C for ; Wed, 26 May 2021 08:48:06 +0000 (UTC) Received: by mail-wm1-x32b.google.com with SMTP id u5-20020a7bc0450000b02901480e40338bso2908561wmc.1 for ; Wed, 26 May 2021 01:48:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nxy5VbUuJktWYoN5f56DsShh05RPtQyulwCzQanfG8c=; b=xiOe4mFhni6btU7/RAd8kfv+LqfSWalgP3f2ZIm7Rb3ksXK76sewdnNshZe2TuZOhI h3ytakn2HgyVRlYV+T6oSaydAt2VFLbS/m49aMBA6B0oIMfbijvQ6yy+x4zezyZrBUa9 9aUt5xFjzyxuKLDmk6Xk/y0H8zreqHKRNE3A70BZEWwd7IOl00RUJeONgRUPgHmSGh4l 6FZxtMzbNVYuD2HXHpnjVE33NcykFKLcH1GpeMaF8Y8csrykvsi0JYhlIJjGRVoZqSUX ZExAQbIG7mdvtFNOqF15xbWWKTSGIEs04nP4x33eRc8L7L2mrh97/SOCcNcFUgV8Wx8M N1aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nxy5VbUuJktWYoN5f56DsShh05RPtQyulwCzQanfG8c=; b=rbYfRj0iJhFWuIoZEGwp5fH4RBJKyEBrl7i5D2fEZHKITbjLV4A3zTRMBPSwax0bKP rNtK0c187oGHiuLTELzRGDNm0k6G2L29okZFRLDxaDqPibyF7oyK7j/4P99Z8iljXWUS LvAkjMWoNXXESrZnh+pomO0JlSbz8bmVl1Jztdupq2R9TOkbnSUdWRNj5cauK7bg9m4Z QS6cwe5sx8bIul8FwZC1811ke5WH3g9f2v8XZWxeDrqI+xksnoCZLJtwt0GTLaN95ntd Qe1xCH13fvtg5fr/2pvtOUZyt1IZSNAXntrNbI8CcopWX2BKcHHVbN/sZY3HNCMYw9Yk Pjtg== X-Gm-Message-State: AOAM531KdKVVKcgEOTSM3IoXoGCbvMVycG0xOILJ8LF9fpdjoOgBW305 fpBDiCDOXJvEv/IK/tGn2f/cXw== X-Received: by 2002:a1c:f303:: with SMTP id q3mr2334263wmq.9.1622018885095; Wed, 26 May 2021 01:48:05 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.48.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:04 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 32/34] drm/exynos/exynos_drm_ipp: Fix documentation for 'exynos_drm_ipp_get_{caps, res}_ioctl()' Date: Wed, 26 May 2021 09:47:24 +0100 Message-Id: <20210526084726.552052-33-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, Joonyoung Shim , Krzysztof Kozlowski , David Airlie , Seung-Woo Kim , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Kyungmin Park , linux-arm-kernel@lists.infradead.org, Marek Szyprowski Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/exynos/exynos_drm_ipp.c:105: warning: expecting prototype for exynos_drm_ipp_ioctl_get_res_ioctl(). Prototype was for exynos_drm_ipp_get_res_ioctl() instead drivers/gpu/drm/exynos/exynos_drm_ipp.c:153: warning: expecting prototype for exynos_drm_ipp_ioctl_get_caps(). Prototype was for exynos_drm_ipp_get_caps_ioctl() instead Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: David Airlie Cc: Daniel Vetter Cc: Krzysztof Kozlowski Cc: Marek Szyprowski Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Lee Jones --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.c b/drivers/gpu/drm/exynos/exynos_drm_ipp.c index 4f2b7551b2515..9ae8689353579 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_ipp.c +++ b/drivers/gpu/drm/exynos/exynos_drm_ipp.c @@ -88,7 +88,7 @@ void exynos_drm_ipp_unregister(struct device *dev, } /** - * exynos_drm_ipp_ioctl_get_res_ioctl - enumerate all ipp modules + * exynos_drm_ipp_get_res_ioctl - enumerate all ipp modules * @dev: DRM device * @data: ioctl data * @file_priv: DRM file info @@ -136,7 +136,7 @@ static inline struct exynos_drm_ipp *__ipp_get(uint32_t id) } /** - * exynos_drm_ipp_ioctl_get_caps - get ipp module capabilities and formats + * exynos_drm_ipp_get_caps_ioctl - get ipp module capabilities and formats * @dev: DRM device * @data: ioctl data * @file_priv: DRM file info From patchwork Wed May 26 08:47:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448164 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017474jac; Wed, 26 May 2021 01:48:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaEGqhXoatbUp/k6mC3KSZGS2j+A7cXUX2g8P2Fsfqf9ckpgwKqLESZrXTi+LEqiHSGnDm X-Received: by 2002:a05:6a00:1a0a:b029:2e0:11d1:6d73 with SMTP id g10-20020a056a001a0ab02902e011d16d73mr34203059pfv.34.1622018917660; Wed, 26 May 2021 01:48:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018917; cv=none; d=google.com; s=arc-20160816; b=xpr4UVu0U3Cwwd2LQ8eZ0IH377QL3k6+/Q576qsjqy1xUHqfpdLwyn9On0KuqLl5SU FO67Skrgn0OHIUFLYuZh1nVM9dJ0BQHiKJkYreaI4kBJ3DLYh8UnEjhWeDf2M4Nfnmq9 XcIwdofBVDgiwXtPEX1n0PNPsMDqpVGQAmTFp0ehjH6hbIGbCh2BrrJiUxR5/F0qUWC+ wzuvF5f5YA8uFzEXybyVpZEK3dDxXvgHFt2VxAzjwrZVQldwwWRuL7Ut4zW5bMorNSBo Rh8+YyVcCwK0T4TzmAu4nFRmxSLARuMAlswJ2tv8RmDc8VO0IMKESWyqQebA1oc+Cvjl D6UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=t1FEEZ6P0S4l/25hBadFVgOVdkrL3aHOBAeW0vMC5CA=; b=DUC/mRaftwcI9MzGfQyMHVaD6lZqMSxv1nH76jMUU9AS8IERE/UlVAExSEMr/pNUfL jhStjhIo9KkZsTzaZ6wPmQCLBuU3GhLmDdZaOfLNVf9UXIw17jb4J4+hWehsKkuzIpwn rkG/XD40v9K+0ML/wuaGnO/Ld/Hut1cojrYa7HPd+XM4aGlHsdbRV3fuBcZW9xlmtJSm D+Yoc3gz/EvL/2mwZoZ3668xfcSBcVDZET9ak2Y5vMFZlU8sXWDN6klVC3MThDXyF6Ym GsjdaDmco68PWcDLquJW0KIgcYGoi+f9PdwWRo5eZRgAIvAhbNqNZw23ljoL91a2blEg Msiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=zfhh2O6P; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id g4si6291664pjj.168.2021.05.26.01.48.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=zfhh2O6P; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 65F496EC4C; Wed, 26 May 2021 08:48:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 00A096EC3C for ; Wed, 26 May 2021 08:48:08 +0000 (UTC) Received: by mail-wr1-x42a.google.com with SMTP id r10so173697wrj.11 for ; Wed, 26 May 2021 01:48:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=t1FEEZ6P0S4l/25hBadFVgOVdkrL3aHOBAeW0vMC5CA=; b=zfhh2O6P8DylNjUuy1kAnE6HCVfcj23pKW4MI4X3zCxipAtycmlxMCpGLJEDvIXUWW LD6HVf3BT+Ps/iZ5CVJR3AaB6fmApN8qkHBuzls0+EXNDrOE5WkasQeAy00bgmffHV+V BAKy4ziCI7YVymwUrqeswepb4mOTa4CDPlcDKr2yYY8SBwNpIFEe87HqreB3sOyz9zmj cmLs943uswyNh0+VxY1t/kZ1qWjfayz9dLd9OS4GhQ1zscL6CVhoS3JhEH2OamRiSe0+ /b+UyjY43ON8f/fBGr785HlD4TWqXuV+NmARfDvjEhyXo3PhtFep7q6BWCtl/niBz5Id ihgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=t1FEEZ6P0S4l/25hBadFVgOVdkrL3aHOBAeW0vMC5CA=; b=AxN7ZzHBiVAlrUarVbrfddMKXrtmiQfFpyXf6cj7u6OtO9O5e0evI3cT/G5S9CEYnH c9F7eD6bp3YEGtGrM52PZYlNhNnQgJFnmLC0j0i/c1f0xFXnFHcd+POH1ds8wi6sObZV fMk9HmXBUMH4rxFZqaxsQGbU/sW08tPE0yFvNbPhUIhIcFXhVFaRFRVjppuNK4xdiQdy HKLgyPJMIQ6CEBXVyWJOmiMv+owWsTC0y728JQ5QyqHvoaukpanvVeLZ6GGbTLU9i6tB yGS5ZH7nq+ZY8Ccz8SIRIeJMVFRIW2JVJWQtND+d2WZuSd856Q7MWM0qmTVZU+GOqGaY 2jyg== X-Gm-Message-State: AOAM532DhUldtm5hTOOEBe7T88Grk9uUVSzgjcuvkK2+UtDEpke+l2AP ltYrgAB+XH6MXH4cJq8I09U3NQ== X-Received: by 2002:a5d:4e8c:: with SMTP id e12mr31666122wru.94.1622018887659; Wed, 26 May 2021 01:48:07 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.48.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:07 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 33/34] drm/vboxvideo/hgsmi_base: Place function names into headers Date: Wed, 26 May 2021 09:47:25 +0100 Message-Id: <20210526084726.552052-34-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , Hans de Goede , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vboxvideo/hgsmi_base.c:12: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/vboxvideo/hgsmi_base.c:42: warning: expecting prototype for Notify the host of HGSMI(). Prototype was for hgsmi_send_caps_info() instead drivers/gpu/drm/vboxvideo/hgsmi_base.c:74: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/vboxvideo/hgsmi_base.c:102: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/vboxvideo/hgsmi_base.c:174: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Hans de Goede Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vboxvideo/hgsmi_base.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/vboxvideo/hgsmi_base.c b/drivers/gpu/drm/vboxvideo/hgsmi_base.c index 361d3193258ea..8c041d7ce4f1b 100644 --- a/drivers/gpu/drm/vboxvideo/hgsmi_base.c +++ b/drivers/gpu/drm/vboxvideo/hgsmi_base.c @@ -9,7 +9,8 @@ #include "hgsmi_ch_setup.h" /** - * Inform the host of the location of the host flags in VRAM via an HGSMI cmd. + * hgsmi_report_flags_location - Inform the host of the location of + * the host flags in VRAM via an HGSMI cmd. * Return: 0 or negative errno value. * @ctx: The context of the guest heap to use. * @location: The offset chosen for the flags within guest VRAM. @@ -33,7 +34,8 @@ int hgsmi_report_flags_location(struct gen_pool *ctx, u32 location) } /** - * Notify the host of HGSMI-related guest capabilities via an HGSMI command. + * hgsmi_send_caps_info - Notify the host of HGSMI-related guest capabilities + * via an HGSMI command. * Return: 0 or negative errno value. * @ctx: The context of the guest heap to use. * @caps: The capabilities to report, see vbva_caps. @@ -71,7 +73,8 @@ int hgsmi_test_query_conf(struct gen_pool *ctx) } /** - * Query the host for an HGSMI configuration parameter via an HGSMI command. + * hgsmi_query_conf - Query the host for an HGSMI configuration + * parameter via an HGSMI command. * Return: 0 or negative errno value. * @ctx: The context containing the heap used. * @index: The index of the parameter to query. @@ -99,7 +102,8 @@ int hgsmi_query_conf(struct gen_pool *ctx, u32 index, u32 *value_ret) } /** - * Pass the host a new mouse pointer shape via an HGSMI command. + * hgsmi_update_pointer_shape - Pass the host a new mouse pointer shape + * via an HGSMI command. * Return: 0 or negative errno value. * @ctx: The context containing the heap to be used. * @flags: Cursor flags. @@ -171,9 +175,10 @@ int hgsmi_update_pointer_shape(struct gen_pool *ctx, u32 flags, } /** - * Report the guest cursor position. The host may wish to use this information - * to re-position its own cursor (though this is currently unlikely). The - * current host cursor position is returned. + * hgsmi_cursor_position - Report the guest cursor position. The host may + * wish to use this information to re-position its + * own cursor (though this is currently unlikely). + * The current host cursor position is returned. * Return: 0 or negative errno value. * @ctx: The context containing the heap used. * @report_position: Are we reporting a position? From patchwork Wed May 26 08:47:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448170 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017549jac; Wed, 26 May 2021 01:48:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+ZnUXHZjDlt5PCMP0vbvkB6Rpp5ZCudT6Xdmfae24JWRd5eoGHgO7hxXqqZQ/G1YLhBuv X-Received: by 2002:a62:1d90:0:b029:2db:649d:7e6e with SMTP id d138-20020a621d900000b02902db649d7e6emr34361470pfd.75.1622018925133; Wed, 26 May 2021 01:48:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018925; cv=none; d=google.com; s=arc-20160816; b=GFZXZgoDwsF5ckndkTMEIw/2d3GDE2l4qITTvFSn4Sf73GiZ198MPn2LQ4XJ+4+QYQ +6kELUvXyj9BNmbyWPmhHWBEEwz+YSv5s/C1bXI/VeHfiljM9zoY4N7dwgRHl3ABz9mo q+/TwKsssuZTOmIV0Dlsw3azAderjSzXm0mCNkw6mpCRF0k7CT9asNlT6LXsnn4ipRjV id7R6QmRtQvajrPHz7QXavbMc/4HETHK9P9WpJbRQ+AGgeRq+Ihzw4EaTaKfHbozvrpe kUEnvvUFM5U4pFOLcJi8zvprvUPBYTNs0+8SRQ63cQeF2lf1RsEEVZJGCdYOokfxNUzq SQ5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=kVk/K6SiOopKBeZrOFr3ETwL2h0sUuVeJjHQIvLbemo=; b=y3JH1Eu1uYo5XBfU8p2Jm6j+7swDe+YBCo4g8n+X0oDdu8QHjPGGL8DUAfT8wp3jCy ixKmVNpb1PjcHhi0GlrQM1b+zeYVEJi1m+3xVNHGQ/YsMSdrs51StmVoUFFQpAjA3HU3 DpCvjm975cT32BuYKZ8YJ9++EKFWmFcm9z3pwvHgZxob3MopqRl+7M5cYfqWiOr/fkqj ES74fm6CwTcBFCp/hkgzrzlQUhr37M8IDG71DF5bmBfZR48Pt+RCDivjLc6M36nD8yff vg9D1+/NDBVZVofdnfEJL65sBp+OtxM3f5hFtkarTXAsEwICQ5nf1rDHdPHJbgkZRNVZ DIpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="nP2v/yOq"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id x129si23197268pgb.299.2021.05.26.01.48.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="nP2v/yOq"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BFCE76EC6B; Wed, 26 May 2021 08:48:26 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by gabe.freedesktop.org (Postfix) with ESMTPS id DAFE16EC3C for ; Wed, 26 May 2021 08:48:10 +0000 (UTC) Received: by mail-wm1-x32e.google.com with SMTP id l11-20020a05600c4f0bb029017a7cd488f5so55519wmq.0 for ; Wed, 26 May 2021 01:48:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kVk/K6SiOopKBeZrOFr3ETwL2h0sUuVeJjHQIvLbemo=; b=nP2v/yOq7y++OdxD8esKUXZCbD7knxLYxvNUMGe8eczAbKtAZB0Noi4WYds+F5h4nF aHEDPl4vj4f/qqvIdFUNo83sIAVBvdjTgk6IAVHC4XA9RTrRO7lUGH72cSg7RAQ/IbuZ ozf7cJcgZzhq6Oo6M9Xmg1dWZV054Ha+tCTpbtll+jmQpmcuWwUxfL1eRhlaRGIVhRen 04os9v7VPlmlAlSZdYJO9oNMQ32kKvCo5X/PcNFikiqHPyBk6x1B5XJdzCz3Fy8zVAIU /mr1dy1c4bpQ6K7zWoMUQjifoDJkObY6Xqe0TS7+2tr2IbmPkzsvr01ABIRkB1uRroVF aSOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kVk/K6SiOopKBeZrOFr3ETwL2h0sUuVeJjHQIvLbemo=; b=dfA4i/166u/vkj9cCyT/PlAm3Gq/AHjMzijFtz54aK1D7O/FvB8U5YZhEr46T64uUH 4m6JwLt80L+MSm7Pvy5OJQxP13mQ6RMaWn/9GC0nqtQXNETVJt0DEVjTwS6jit2CdiIO iEu/1fGyluHv7vM+JvQGVeeopC1ekDnNDNaIhYqipdSkCsDVnsGKyMd2ESzT6BnbkDo/ 6Av5ffjtFlVIhsnC4aqVtfn7WvpAtvMU4PfrWentdUac4IIsX0lzRbuAIdrpV5B+BehP jfEeCOggCQVvXhnjOds7WxCxmCV21ZD4JlrXAFqe5+kQXCsOi/BewToo2J07usf/iJHk RIaQ== X-Gm-Message-State: AOAM530nvrtyb9vWu04Tc9V0NvHobJp9glSG1g9atvk0FV5oVa+A1XqL xL+Y/pKp0kZ/pkerEiGSADHaZg== X-Received: by 2002:a05:600c:896:: with SMTP id l22mr28151212wmp.164.1622018889518; Wed, 26 May 2021 01:48:09 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.48.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:48:09 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 34/34] drm/vboxvideo/modesetting: Provide function names for prototype headers Date: Wed, 26 May 2021 09:47:26 +0100 Message-Id: <20210526084726.552052-35-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , Hans de Goede , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vboxvideo/modesetting.c:11: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/vboxvideo/modesetting.c:54: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/vboxvideo/modesetting.c:87: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Hans de Goede Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vboxvideo/modesetting.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/vboxvideo/modesetting.c b/drivers/gpu/drm/vboxvideo/modesetting.c index 7580b90023792..10b32d986b956 100644 --- a/drivers/gpu/drm/vboxvideo/modesetting.c +++ b/drivers/gpu/drm/vboxvideo/modesetting.c @@ -8,9 +8,11 @@ #include "hgsmi_channels.h" /** - * Set a video mode via an HGSMI request. The views must have been - * initialised first using @a VBoxHGSMISendViewInfo and if the mode is being - * set on the first display then it must be set first using registers. + * hgsmi_process_display_info - Set a video mode via an HGSMI request. + * The views must have been initialised first + * using @a VBoxHGSMISendViewInfo and if the mode + * is being set on the first display then it must + * be set first using registers. * @ctx: The context containing the heap to use. * @display: The screen number. * @origin_x: The horizontal displacement relative to the first scrn. @@ -51,10 +53,12 @@ void hgsmi_process_display_info(struct gen_pool *ctx, u32 display, } /** - * Report the rectangle relative to which absolute pointer events should be - * expressed. This information remains valid until the next VBVA resize event - * for any screen, at which time it is reset to the bounding rectangle of all - * virtual screens. + * hgsmi_update_input_mapping - Report the rectangle relative to which absolute + * pointer events should be expressed. This + * information remains valid until the next VBVA + * resize event for any screen, at which time it is + * reset to the bounding rectangle of all virtual + * screens. * Return: 0 or negative errno value. * @ctx: The context containing the heap to use. * @origin_x: Upper left X co-ordinate relative to the first screen. @@ -84,7 +88,7 @@ int hgsmi_update_input_mapping(struct gen_pool *ctx, s32 origin_x, s32 origin_y, } /** - * Get most recent video mode hints. + * hgsmi_get_mode_hints - Get most recent video mode hints. * Return: 0 or negative errno value. * @ctx: The context containing the heap to use. * @screens: The number of screens to query hints for, starting at 0.