From patchwork Wed Jan 13 08:07:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362035 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296615jap; Wed, 13 Jan 2021 00:08:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwNsC1qjY/VnABaEleF91COyjnShX6tpWlEGd7TM4g857jal4kxRq++1VW+qiFgx6Roe1FW X-Received: by 2002:a17:90a:4b07:: with SMTP id g7mr1057828pjh.0.1610525284074; Wed, 13 Jan 2021 00:08:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525284; cv=none; d=google.com; s=arc-20160816; b=K0goQwxpeJzn/shqwwaPfxVWji19MHY+M3zzIBY8OZ3POFK1QMHp9hrnvHf/4hiffV K3+GgeDLdhUG47eRmRtz1LkTXDz02tHMqU/j1v4pHnlwNNJDIRkiAAV3Y4ShtYv9A/8g fInYZm92Mfz1t1NKftnIiNbypMH3F/eM0babyYUPPzBbeu9XGwAU1xgORcbKeeEuzT9q ttY3tq5i3tl8y3jvE7gfy1R5E7renqmxtoRKfmYNiMcymQtLAv0WzneLm1TV/tQFfzc1 IE5iA9lVRsS8OVrkYuXyfwvAf0Iq8I8yH5tcICPHG36ieqkEZdXFKdJENajhXudoojNz MCXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=dLicg0epJX+kl/UVAqtpPbVYeW/BVcjm59sMxatdu3s=; b=y1JXj8+8Ew5aRyljxwDxLUm9TmNcMBJUs953bcC86lDobfYmIeyekamU00i7GrA+Mp UanrMG/IDmwzIq/gDyqtzmtLx/S5pkgBQkuaAtSEgNpapscwDB+E3AEHFdA7BWy42W3U TgaYiXz/R5/dUg66cxy0RWcvO0vSZT/u+4lhvHsSqTRAJ3Kp7OgItwRs5eqHxccQZNMB ncsGASGh5Kj9/8c2cxjxv5ea7701171Lf9JC4CubL7AMsdra8GpHxtludp2P+UBP0fZq KGs/7g+d54/gkJU3F8RfGyQITzYKHUnpwWmi3lEL0I8Cq8VKVgVbMBxWjJOd1CJJ3/6+ WQHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ke29S0ck; 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 34si1717320pgw.580.2021.01.13.00.08.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:04 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ke29S0ck; 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 7A38189EAE; Wed, 13 Jan 2021 08:07:59 +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 455C589F0A for ; Wed, 13 Jan 2021 08:07:58 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id y23so716446wmi.1 for ; Wed, 13 Jan 2021 00:07:58 -0800 (PST) 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=3c09B7R1bDDRXGkxc3zYuL5FdMguU7F3ASarhgkkjYk=; b=Ke29S0ckRABZRt5qaiIctSaJXdhgxyEOAbb+lrGjHH1heF05KLBmidxzRCinjxGbsl yn+acgZowbs+SW5i8xy0YiLb6/vzQHz1FI/FFNsPWlSA8mciP787U5U+rWyGhaPAPTE6 W3Juay2xlCPWy4fQJdzS9QlgYba9pB5pLOJlc8Gc1cCokpty0a4RMuYjbAxzd97hpPbb w5UjdWee4uUdmxsy3ICv8xQFCrN9/9mVfpW8pqq38Lp6VYnmvx/eTyL6kdNRPiOad4mO NvbBx80+MSILnDc84d7iW0X1Shhj1GDMhSA5R11IISAKv2baeSscTtfgGU+6123gR2OX m56g== 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=3c09B7R1bDDRXGkxc3zYuL5FdMguU7F3ASarhgkkjYk=; b=Tp4+I1UoeQ6DBu/5Y8Pt3HxCUdOnKcEuxMPCJnim7YnxVKvkAt2/V7rZdaSXxtPF/R uwaSjOJPAGRwfOsH4FjsQMowInbyrKzVj2mokiMFKJzyQ01tsnZH+2eBq2MkDmZd7xuL IDQpuWBfeAC3Vcr+/BtFqjK6OuCy8pc1i+Ns4B1FbtfBXMQDhFvVmf+FJooAWUaZzm1e jcjvtF2WQM+yYSOulmQdLF6BnRre8DvxVtCa4dmsL9T+G2ouVGptd7pWZ8f8/uuAcu4G FqC6fA4PjtAOtSaq8wsnVlDvoJPueuEi0DEnWl85/yxZUskzFkPhbeFNX1T8UftLHOHH rWdw== X-Gm-Message-State: AOAM531Ul78WPZIfKcLfdOGhUFuoq/QGFvrYJZvFGBkySh5kqOjEuWBQ 8ancppH9IGf64kopCw3ZKK4e7Q== X-Received: by 2002:a05:600c:224b:: with SMTP id a11mr931054wmm.97.1610525276970; Wed, 13 Jan 2021 00:07:56 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.07.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:07:56 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 01/30] drm/amd/display/dc/dc_helper: Include our own header, containing prototypes Date: Wed, 13 Jan 2021 08:07:23 +0000 Message-Id: <20210113080752.1003793-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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: Noah Abradjian , Leo Li , Rodrigo Siqueira , 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/dc_helper.c:299:10: warning: no previous prototype for ‘generic_reg_get’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:307:10: warning: no previous prototype for ‘generic_reg_get2’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:317:10: warning: no previous prototype for ‘generic_reg_get3’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:329:10: warning: no previous prototype for ‘generic_reg_get4’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:343:10: warning: no previous prototype for ‘generic_reg_get5’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:359:10: warning: no previous prototype for ‘generic_reg_get6’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:377:10: warning: no previous prototype for ‘generic_reg_get7’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:397:10: warning: no previous prototype for ‘generic_reg_get8’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:503:6: warning: no previous prototype for ‘generic_write_indirect_reg’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:511:10: warning: no previous prototype for ‘generic_read_indirect_reg’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:529:10: warning: no previous prototype for ‘generic_indirect_reg_get’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:560:10: warning: no previous prototype for ‘generic_indirect_reg_update_ex’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Noah Abradjian Cc: Rodrigo Siqueira Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dc_helper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/dc/dc_helper.c b/drivers/gpu/drm/amd/display/dc/dc_helper.c index 57edb25fc3812..a612ba6dc3898 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_helper.c +++ b/drivers/gpu/drm/amd/display/dc/dc_helper.c @@ -34,6 +34,7 @@ #include "dc.h" #include "dc_dmub_srv.h" +#include "reg_helper.h" static inline void submit_dmub_read_modify_write( struct dc_reg_helper_state *offload, From patchwork Wed Jan 13 08:07:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362036 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296658jap; Wed, 13 Jan 2021 00:08:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJzp2GrYcZtYPjUx68wkMV9GlR+T3ztNlXoNMC4s81L+4ghk5LxuYX3z8FbyBMc/bbgFkO7r X-Received: by 2002:a63:fb54:: with SMTP id w20mr965870pgj.419.1610525287450; Wed, 13 Jan 2021 00:08:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525287; cv=none; d=google.com; s=arc-20160816; b=0B+d7/IRj5aQao4XQPqLXBJ22cNl1lfw8vVIQ7lF5Jo0jwDyXJFYSG5pvCP0mR/Lbl blA3C+ZvRDLN7dIYA+UcBhP58VNBONrcaQMYnmrjXxxrGsQW7migxO34nQ841eT3m2dE kM607fT7zAvU0zS46QZcQvtMnYV5597UMs3moBp8x61uuR7FtyxejpCS2nry1N5UGW9q tKuwuS7OUEAUAWghe4tm4lgf+0u6z9mTLVhZliLWf6AwupcYM6oMOhfMVA0RpeUDUzwm Mkro13fWs77+t3IfR2Zt6RJPmxSU8eijXD6RbKH2CGYalyNCSrcbq00XJZYQKSucF/x+ YxPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=AT4pvcGNm9CfhX7D5LQVRSbRFPtPy9rOBMHqq08v/Vk=; b=xt8nYfchL4lRjz67jH7aasKYK/rmvLTqeEDHjlELohBCki4TReFz/hvIt9k4W9HMCP S1nax7YWSBKIxicaTh8lH3err1nqKTug4SyC+Ar8C1Hv9ezdvdXRYKKvyGHJA/m5Nmqw Laab4/dN9UzCfnkUiuhpSXqQOpCZ7ye3OrvX4GYrWph6q/Rd8jUHNuBlIS9fe4FkhVrh ftjuE+5gMiqHK7FmTaLqP49iwW0wYsxehrrpkO9cLXROsaNHja6IP56D19YYAjq8u6z2 fWs0pcIUrW9cyEqvBhl3aZdkH+EDCytxRzJvzMTvrExeJAhshTts28r+Sw8y0gyADDIN Db5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=duF2RanH; 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 q204si1411436pfc.280.2021.01.13.00.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:07 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=duF2RanH; 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 285C789F01; Wed, 13 Jan 2021 08:08:01 +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 BB7AF89F01 for ; Wed, 13 Jan 2021 08:07:59 +0000 (UTC) Received: by mail-wm1-x332.google.com with SMTP id e25so721776wme.0 for ; Wed, 13 Jan 2021 00:07:59 -0800 (PST) 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=ktFTv6l4Mkv6rjYtIWuu+I32vPP5PwPZZX1XhOAIePM=; b=duF2RanHvTZtsFkj9JgIpTcO7sj4u+KL/w+iBKJHU/Jy7Ckx1RaphwzUDE5jMsMwW1 27Vu+V6wWLo70FLVwF6yaUnm6CGARm9TGfpCPseqgVLB81AJoIqmjg78Dd7H338ktFkL 2C5ESgv0CGHxiCpgR8ZmDB6z2Ih7+LFTLwOqII2XleZa4h7gHjjoLA5GAth7fi5bVOjT ojVglKHj9Ur+xL7hBUUbkCeSi05acptXTjue7hh/8reUx40w42Hso10hElHJG7YyD5VH LhlgKsgmn8G9miWgTseJ54BB+KrzWHcTwOO8NGVgd3RzHzqf2QI/lRHEgdnRPQ/rkHrc DrKw== 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=ktFTv6l4Mkv6rjYtIWuu+I32vPP5PwPZZX1XhOAIePM=; b=M6kj0bdHZkgBX2d3YZ5TJwe8Va/KovpE2uH1p4nzDf2xzoqzUp7VuPhwhLwisZ9rh8 LUko46MCEl0OglUuDu1typFG5nkZjT2I28F8SCGL1oF390/fcxDtQ/EJdvc23kCRfjGO zm+Js7MVC9BTaNnsZvIq3JcwjDuW495A1fjWvW+KGZELxP/vBQfRNmBAjDsMvuTdTsI8 IqAvZ8T+togzDvqbmuzwBtVGJRcQ3QKDjk6aznXYxKAzxj6h7yAXDxFvNQxDAT0XXEP4 OYEKHa8fCTNgvpg91/E44Cn2clhkBG6gxE2Ho6tyFucoJWTxU21mj3QFdglG/z2Wpra0 gSVg== X-Gm-Message-State: AOAM533QzGpPEHX+IfVwQPFZ6zMJAfOy19TED901bibp4bKCyyOoV4eY pRvi192oRtAEztrtMfoFo010jA== X-Received: by 2002:a1c:2cc2:: with SMTP id s185mr62474wms.36.1610525278481; Wed, 13 Jan 2021 00:07:58 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.07.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:07:57 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 02/30] drm/amd/include/renoir_ip_offset: Mark top-level IP_BASE as __maybe_unused Date: Wed, 13 Jan 2021 08:07:24 +0000 Message-Id: <20210113080752.1003793-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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/../include/renoir_ip_offset.h:226:29: warning: ‘UVD0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:219:29: warning: ‘USB0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:212:29: warning: ‘UMC_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:205:29: warning: ‘THM_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:198:29: warning: ‘SMUIO_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:191:29: warning: ‘SDMA0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:184:29: warning: ‘PCIE0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:177:29: warning: ‘OSSSYS_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:172:29: warning: ‘DCN_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:165:29: warning: ‘NBIF0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:158:29: warning: ‘MP1_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:151:29: warning: ‘MP0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:144:29: warning: ‘MMHUB_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:137:29: warning: ‘L2IMU0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:130:29: warning: ‘ISP_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:123:29: warning: ‘IOHC0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:116:29: warning: ‘HDP_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:109:29: warning: ‘HDA_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:102:29: warning: ‘GC_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:95:29: warning: ‘FUSE_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:88:29: warning: ‘DPCS_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:81:29: warning: ‘DMU_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:74:29: warning: ‘DIO_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:67:29: warning: ‘DF_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:60:29: warning: ‘DBGU_IO0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:53:29: warning: ‘CLK_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:46:29: warning: ‘ATHUB_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:39:29: warning: ‘ACP_BASE’ defined but not used [-Wunused-const-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/include/renoir_ip_offset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/include/renoir_ip_offset.h b/drivers/gpu/drm/amd/include/renoir_ip_offset.h index 07633e22e99a1..7dff85c81e5a7 100644 --- a/drivers/gpu/drm/amd/include/renoir_ip_offset.h +++ b/drivers/gpu/drm/amd/include/renoir_ip_offset.h @@ -33,7 +33,7 @@ struct IP_BASE_INSTANCE struct IP_BASE { struct IP_BASE_INSTANCE instance[MAX_INSTANCE]; -}; +} __maybe_unused; static const struct IP_BASE ACP_BASE ={ { { { 0x02403800, 0x00480000, 0, 0, 0 } }, From patchwork Wed Jan 13 08:07:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362037 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296684jap; Wed, 13 Jan 2021 00:08:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJxkcNyW9MTy4TFqHIugZRS1bjX4e38i/QM1/0XLVtgLZtb5HKeMU33QIEvrbE9f3GQk5Nko X-Received: by 2002:a17:90b:24c:: with SMTP id fz12mr1050660pjb.138.1610525289870; Wed, 13 Jan 2021 00:08:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525289; cv=none; d=google.com; s=arc-20160816; b=P9HlFMbwff/Y/AbdjPxPDCITQy+Ja1sPXeyJTH1KdAMPpnfGtMG2D2CNB8Grpze+pL MAXsf43M5i28NVfqO9E42kMx2ndUTTZI/3wIu3NK7M76uOgajwQS1cbWjttqVDpPdJkP ZmXwjh5mMDXav9wUGf5lMi8FNy6h4sgUne9lBJNuq17llXlFIeWSTuiSCFEr31Yc2u/c 9azE4mhIVgUpNRo5LSVAEGeD33Y04Nf7u07jpElh+j7SXPAbOVe3cDOhW2Y9S5HTj+Sw y2RarluFK0qCicIz351bf/5TRmwjzTrAGPpHF2yJvbhYx9dc4fBMeGaahG2MKUIFFlxU A8lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=2ZI840H7OfD0KkYpCie5mIBEiG+tD2KI8sfUeqY09gs=; b=yfBWVoajoJVbSrycNVQIa66ZvqAlTYyPrenjjdvirpqJjmg+2rwoTsovlyTIIgP3e/ 0B88wp0AjFL1p4MDSXVCpBuuAO5Py64YYyWhcqi+RSkwkH4fLAT0XyTB5RyFTFYDWxyF pQlgICWMWozcKRG8rPM6dH4w5HIXzi7xh6wY4xC4VxoMQ/xeeIH9dOpha4vY9aDBBNdr 3XxALwnC2royrcJ+7cE/L5qSuGcRfWtwTHJ+ie5E04fBATk42UNZHfWy/cJEO5+yTFgX LWAmf56iGKY7l3aKfbVuCNuxYWlQVJYSb5RGOdbpJ1Pza2HfbcFEeCJFTO1ZQDy/Rd0s 3wrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=a2yKsTYG; 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 h9si1577236pjm.74.2021.01.13.00.08.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:09 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=a2yKsTYG; 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 319A789F2E; Wed, 13 Jan 2021 08:08:03 +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 28B4D89F0A for ; Wed, 13 Jan 2021 08:08:01 +0000 (UTC) Received: by mail-wr1-x429.google.com with SMTP id q18so1084446wrn.1 for ; Wed, 13 Jan 2021 00:08:01 -0800 (PST) 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=gaeomoLKGJGFe9Jgp55uGAQ2Av3znwR4r6zsWFi8gnM=; b=a2yKsTYGdiUbLd2mWkidqDrvPlvZZ5FXmHZVOI/ZJt+qlTpDD0GPY4yO5CwlZ8HtQX 0JP8bJnuDFhtIZX1D0dj9X0+M3/awU24gnWGEjvC+gnwrJdEgynvD5CPVCSHFPUtDrip gxbZ2yJ5xi/21obPp3WmjV+icfhym+bWGkbTX3nGf0YR/R1p/d4zP+hlk9ec8bHrgu/D IShsSLZkxsSIiirqu+vWB0t93ZDvQnGHPhgHHSUVLjbHqGz4HETSbmmvS9WX+nlcexj0 WK/8uAY6iaR7JanaWIV2IJWncfRb0NRgC7UzcN6HSNHQ9IkLkQITeLeiOv658ORyBAbH nEkg== 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=gaeomoLKGJGFe9Jgp55uGAQ2Av3znwR4r6zsWFi8gnM=; b=ItlZPirgRnCsxuiWe0RsItmIwQll/DczLvl+Pid/RTcwDLUL72LFcDzwH42Xf69FyM 5DP7cBkmzs5bvbLzw0tHUWUTt1I4OYlPSHdd0Hl5dH/1xoFekwdG3jDzwsfqXrGKKw1o /RVjZlbpUUYl1ze/dYhuGFGIQvf6VXGwGkAhA/GxuxLzNlOSc6UuBKwinIDd5VPvRNzD qGPgW7uNwsaXMc8O5ysVthHRyncrInVpeADbuehJ1iV0MmOQAVAMYxyYDQ8u7tMXDjrR k+yi6e1rKHYvUAdv9kZL+as5Ph01Cz0dlpjIvKhXwJNNrGY8pg63lttTedzWIEb9Vyxd rQLQ== X-Gm-Message-State: AOAM5322seH30POPg5O8xsT4JkrP08k9siK8sWceppZLQ5aHpDectwps FlvKbeFXuudCvxf0xGVuIw+PRw== X-Received: by 2002:a5d:4683:: with SMTP id u3mr1203353wrq.19.1610525279883; Wed, 13 Jan 2021 00:07:59 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.07.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:07:59 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 03/30] drm/amd/display/dmub/src/dmub_dcn30: Include our own header containing prototypes Date: Wed, 13 Jan 2021 08:07:25 +0000 Message-Id: <20210113080752.1003793-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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 , Bhawanpreet Lakha , 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/dmub/src/dmub_dcn30.c:83:6: warning: no previous prototype for ‘dmub_dcn30_backdoor_load’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_dcn30.c:118:6: warning: no previous prototype for ‘dmub_dcn30_setup_windows’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Bhawanpreet Lakha Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dmub/src/dmub_dcn30.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn30.c b/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn30.c index f00df02ded81b..7e6f4dbabe45b 100644 --- a/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn30.c +++ b/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn30.c @@ -26,6 +26,7 @@ #include "../dmub_srv.h" #include "dmub_reg.h" #include "dmub_dcn20.h" +#include "dmub_dcn30.h" #include "sienna_cichlid_ip_offset.h" #include "dcn/dcn_3_0_0_offset.h" From patchwork Wed Jan 13 08:07:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362038 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296713jap; Wed, 13 Jan 2021 00:08:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwo+Iiu+LfDtD5qlg3C23fyPCLYfF1E2GMESjJlvoqg5Mdi97jNVVfLX3CfAPkXh6jiE+m8 X-Received: by 2002:a62:bd05:0:b029:1ab:6d2:5edf with SMTP id a5-20020a62bd050000b02901ab06d25edfmr1064199pff.32.1610525292368; Wed, 13 Jan 2021 00:08:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525292; cv=none; d=google.com; s=arc-20160816; b=kZhd/DF3dyO1DCEDN37DJq6MJjrq90mRwLdq6brARK6p1Y6M25zu/lBS47rLoHhSn3 gzgR1TSAYqeNqGrAn5plg++X54l0c8NUUWoie3m1FFZ+Nfu7k8OTdMYmQ8pfE76VGyId P5Aafvbqv1zKkK2A9ETm4FV3KmRGhIbub30gOEaO//lrx8WYFWD5vX1ygKMYCvlNSrKo peHECjdJjyKVnNR7OGC5G3WwdytiRXAHAFly0wEs4UdPC+ugKQt39xNVLdH5br7ntEdJ TnR1qMuV0whBMt8xYYLxsb0aR3y1ybZkf4FWOqqlupjFkJ1XL/mvPdgC2wF7+9nvj1yV 597Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=t9kpoR9vEjRCuLY+8Upiaz9SA162kgcfaIUcJG47NTg=; b=yof/MEGCC6u8Pc6PMexOkTUwaW4AkJbLq09bY/cz7jLqnLKn8lQeBYSHiZdyYMh8J0 qDPYi9X70Xp29186rF8L5ofqkKfgjFC+Cglfv7gyugv94FpSPaB7GicDbm32WQAJU0TQ FrpkN3l8pKvr/TzrcbVb2hKc0jMVBSKR8vAj4Z6dzNUjUskke7eL3ffOB76xF6VEpK4V 0+eVNb/067UP/HSlBqjTdEKE5u/rzanwkub2S9wc1EFaIfwEX+TFD+YforKXvonmImyD YAmDRDDwUZzur/mNCbOOf6ZEnhMDzi7eG8KtbBOcQzgYShbgIQm+vqUAQAz651YAEWqC VNPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=WsQms4zJ; 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 c14si1531044pfd.13.2021.01.13.00.08.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:12 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=WsQms4zJ; 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 BE56F89F6F; Wed, 13 Jan 2021 08:08:03 +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 897F289F2E for ; Wed, 13 Jan 2021 08:08:02 +0000 (UTC) Received: by mail-wm1-x32b.google.com with SMTP id c124so681443wma.5 for ; Wed, 13 Jan 2021 00:08:02 -0800 (PST) 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=YaJ+xpBDvvYC3lW5kV2UczyJUDW/j4U+lHIq9z+JvDw=; b=WsQms4zJiYtT5LVKrCDvJqTzyauR1L7ZrV/ErDeTxtpEOnQQJzux+BCYQydoZtAyo0 EPxFeb095dvlkwDkYDE+e60fyWPr+ZnRC2hcA18fuSphilINabII+6TeyMwbwOaOiKfw OC/UxR/UuA7wsll84KPXCHnkzQP08OFr9F63whp9Rp5wAJsdytx4qsc8Ni8DmlLarXxR D5uVCKUaa0MHoo3TVb+28cdBVCnJcJi4RNixwFuvmuKR2hu8JuDCAp8E2MNZJfjLlv5t I34lrVKBpNGDaX9HZFr9LoLI+yLNoiMmSbPAIWwe6PAQRCnK7OFFkIvT37B5tFz8CsXl axIw== 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=YaJ+xpBDvvYC3lW5kV2UczyJUDW/j4U+lHIq9z+JvDw=; b=r2wktL5ZBsuC6ApNuNE+jDja/PN83FbYP0kJ6+Yl8Tx/wcC7K0cNsWkqw6eaE3T+k4 xArwRpYzzv2MyKQG+xXjFMPT1uoVsDnNBBO5vzpr/JSVP8PyVwOXr4rE9qlPeY22myyi EbK/X5VqmpuaBDG+3nG3/JoK7E+lfZK8mR0TEgDtlp+zeoHJjUnUaFxjW6npOfCnXIhq xwYgNVQlyOBfuj3h5LXZPzoB2RK723MPLgMR5E8iIlZr4JPllsdnaDFcnnW/0ioICLFW nTvaeqrGnXEEPuw3wvRtEICCF08l+AbsxTqu3eLwi3JC7fBL4DfOrpgcLRaORCztwqzu x+Ow== X-Gm-Message-State: AOAM530yQeOV8iETtALeQjjlWhSa2E/Bj7RmonH3g/AcSnt8G88KDBms DWmIItf6m4N4cf5ojZPjNiXfhQ== X-Received: by 2002:a7b:cc87:: with SMTP id p7mr991968wma.112.1610525281314; Wed, 13 Jan 2021 00:08:01 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.07.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:00 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 04/30] drm/amd/display/modules/power/power_helpers: Staticify local functions Date: Wed, 13 Jan 2021 08:07:26 +0000 Message-Id: <20210113080752.1003793-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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, 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/power/power_helpers.c:281:6: warning: no previous prototype for ‘fill_iram_v_2’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c:455:6: warning: no previous prototype for ‘fill_iram_v_2_2’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c:601:6: warning: no previous prototype for ‘fill_iram_v_2_3’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Rodrigo Siqueira Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/modules/power/power_helpers.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/modules/power/power_helpers.c b/drivers/gpu/drm/amd/display/modules/power/power_helpers.c index 4fd8bce95d843..3d4c66933f518 100644 --- a/drivers/gpu/drm/amd/display/modules/power/power_helpers.c +++ b/drivers/gpu/drm/amd/display/modules/power/power_helpers.c @@ -278,7 +278,7 @@ static void fill_backlight_transform_table_v_2_2(struct dmcu_iram_parameters par } } -void fill_iram_v_2(struct iram_table_v_2 *ram_table, struct dmcu_iram_parameters params) +static void fill_iram_v_2(struct iram_table_v_2 *ram_table, struct dmcu_iram_parameters params) { unsigned int set = params.set; @@ -452,7 +452,7 @@ void fill_iram_v_2(struct iram_table_v_2 *ram_table, struct dmcu_iram_parameters params, ram_table); } -void fill_iram_v_2_2(struct iram_table_v_2_2 *ram_table, struct dmcu_iram_parameters params) +static void fill_iram_v_2_2(struct iram_table_v_2_2 *ram_table, struct dmcu_iram_parameters params) { unsigned int set = params.set; @@ -598,7 +598,7 @@ void fill_iram_v_2_2(struct iram_table_v_2_2 *ram_table, struct dmcu_iram_parame params, ram_table, true); } -void fill_iram_v_2_3(struct iram_table_v_2_2 *ram_table, struct dmcu_iram_parameters params, bool big_endian) +static void fill_iram_v_2_3(struct iram_table_v_2_2 *ram_table, struct dmcu_iram_parameters params, bool big_endian) { unsigned int i, j; unsigned int set = params.set; From patchwork Wed Jan 13 08:07:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362039 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296739jap; Wed, 13 Jan 2021 00:08:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBpDEiM5yDr6iMa8iT6DGt9s79G6zJMGb/eqo+FujcH0x1/j5aiVqAnEtO/5F5h6/mqi8/ X-Received: by 2002:a17:90b:1886:: with SMTP id mn6mr1032842pjb.31.1610525294819; Wed, 13 Jan 2021 00:08:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525294; cv=none; d=google.com; s=arc-20160816; b=eAo4FV7Htc0fRbLNoK5zQh9eRVF4uC1xHFdaxxophzItBOKVqtZSiNDG++YmyqrTHu NRio6qw4KAYX3teTJZlLHwApAVw3toyo3pSqQwXBm2V95KlABDmJFFhdEL9e/ZI5qozb 8SUGffF0hqr/G1O6An4xwdHCRAsGd9NBU7ywCpNzLt1q3UKGhgqnTTnFtnx70scfFz4n pw0usKFlL1B3KNRLi2KJuPmxzYPRUVSbZq7XGRJHTki6nFqVct/yprhYG0ufOTOtiq3R A3IqirqjY32AEYRT4W2qF/fv62xE0b4z6NDTmgIvlL4QTDeH/rqq2v7uV4iehu+QMXZz orhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=TyFlD1tg8Qff8WzWM/Q0yR0qFcAf1kOpPGccQubS1lg=; b=fTnON/RDnGVS8gJ7RZxUilvqnqhuzBHeHlwJoG7w2++qsF5IeSrE0fFyq2+GLrx1QS DbrnbCtsnVSu1wepfOUVmwLWc1ja0755FT+1awvJ6exhjOEWVCJluc/Br1tT9Fo7dl+t R4OrXOaXHfYXeCxFy3TpRIuiHj3EnXtjsmspUo0gpLvIuUhuKjFTWGQo0YKcg5fGck50 6SIk39NPmXhdViRjQf9oJcbc5fFpeGZ++OeZdkhxuiU0cUDGtly0zgZQjQsKFHiyM8Vf vNiZxg3tZf0NZWBIqqIvZG85YmFnDhfCqjDenfxxgD2JLdKMCRseFRZgoWvXaJ0x+HRZ vdRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fWyttGY5; 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 z12si1669186pgu.300.2021.01.13.00.08.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:14 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fWyttGY5; 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 B943B89F0A; Wed, 13 Jan 2021 08:08:05 +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 B5C5589F45 for ; Wed, 13 Jan 2021 08:08:03 +0000 (UTC) Received: by mail-wr1-x42e.google.com with SMTP id 91so1060720wrj.7 for ; Wed, 13 Jan 2021 00:08:03 -0800 (PST) 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=uijBif3LDCp6uSB/PBdTvGwhpkhL7Mx60YRAsO0AYy8=; b=fWyttGY5YOrU5xtJtANQdhj0LNwlYyw16LtKgiVGW+KEARU+XsvOkAHJg/PmCEwWVC 1XHvUW+k7rB2zYNgC88Up8ZfZzpelyN25otNAF9TXn2iYIyclDpgWNtO90qfzJ/3NhK5 uaafJQFVy/vaqjiU0j9y9ebW8oJlif4JBGxyuRvgJx6UFoNFnvbExzKka9eR0uobCKsJ kO6L+t5ue1oa9eTTbmKplUpBaAE/xLNq4yZjdjLXtMZ8DO1cupBORTIM9d3yVLf0nNk8 2pUE0Ac/j1MftsxdUyo0oTe9rqFDRgER8g6u6V7EW5Xdx7iMmHS90cBbM5YK/raStG39 /v2g== 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=uijBif3LDCp6uSB/PBdTvGwhpkhL7Mx60YRAsO0AYy8=; b=W5/trN9ldpWHumiSY15cVTpex+5mNPmUvTmABUBPYbTXKw4P7HXQm5TKAxM5xhAdWN iRNlhhb4jsvdYIkF5jAql9E0/5xiYVr0+FQvKXVzYBcLARCbFKL2Wfz8WAExRC40CEAZ SQHaJPp9REpQP+3vUtoQbZkP4/kRN+igWEGroX5pS9Mthf+4HCB1v3MPXC2DdYmbAD6K ohTm6l+BM5NPBaXXrQYagcNIWT0XPlzaqO+AXvNZtHl7bFyD9hGZoaZ7LwgjimQW0AmV /dgSI5I6GcLYmSZwQ1Up9d4o7MciJ8sybmpWfp7kah9nfgetx0NwQN/Cp134TBwwwgg3 g/wA== X-Gm-Message-State: AOAM533n6yN3csRHXqUpnZQm5SR4H2R/cRqWFaFxydshzfsbLrCC4ywO uHqhdW1mwDmkfXNPYb5j/6Yq9w== X-Received: by 2002:a5d:4112:: with SMTP id l18mr1190946wrp.116.1610525282432; Wed, 13 Jan 2021 00:08:02 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:01 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 05/30] drm/amd/display/modules/info_packet/info_packet: Correct kernel-doc formatting Date: Wed, 13 Jan 2021 08:07:27 +0000 Message-Id: <20210113080752.1003793-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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/info_packet/info_packet.c:412: 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 --- .../amd/display/modules/info_packet/info_packet.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c b/drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c index 0fdf7a3e96dea..57f198de5e2cb 100644 --- a/drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c +++ b/drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c @@ -409,16 +409,11 @@ void mod_build_vsc_infopacket(const struct dc_stream_state *stream, } /** - ***************************************************************************** - * Function: mod_build_hf_vsif_infopacket + * mod_build_hf_vsif_infopacket - Prepare HDMI Vendor Specific info frame. + * Follows HDMI Spec to build up Vendor Specific info frame * - * @brief - * Prepare HDMI Vendor Specific info frame. - * Follows HDMI Spec to build up Vendor Specific info frame - * - * @param [in] stream: contains data we may need to construct VSIF (i.e. timing_3d_format, etc.) - * @param [out] info_packet: output structure where to store VSIF - ***************************************************************************** + * @stream: contains data we may need to construct VSIF (i.e. timing_3d_format, etc.) + * @info_packet: output structure where to store VSIF */ void mod_build_hf_vsif_infopacket(const struct dc_stream_state *stream, struct dc_info_packet *info_packet) From patchwork Wed Jan 13 08:07:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362040 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296750jap; Wed, 13 Jan 2021 00:08:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwvO+IX82xpuule5p3rnBOW81Py6df/96QFBZ8/l4nmvRrvXANtYMzuJlYmnc1iSRkPrf7 X-Received: by 2002:a17:902:7592:b029:dc:3c87:1c63 with SMTP id j18-20020a1709027592b02900dc3c871c63mr952170pll.47.1610525296513; Wed, 13 Jan 2021 00:08:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525296; cv=none; d=google.com; s=arc-20160816; b=NC8gBMBIjJryfG5h+QZiaYXYpW+PTpv32x++T0tNV/m7fNBb+mtYLAeumlGEV4aRYk 0JTlcTeJEoKA8zSxKD1jr/fliJeV4wQLtwv8xQLGmx/lepyXjTW7eSaCyKNeyHTvw+Qc ON/JQfrl8PF/vopbFvXPLbDlGROu1+UkfxUVT2rDBy6L579+8AiO9bXn6UBrgTN0J/Ki FaZl55wARkZ/OMWM3xAxmXPtxdE6AGupFtmQLQIeompOwU4ADw0U7tI6mXK0ENbywEYo sQcF56UyivERZ+/ks0avUA7dfm6NQcOVffKtzD4eJvajQRSMBzgTEr+CmK2yyVWRCfZb ZJnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=dDYvHzCw3k1DpJmVsFj5E2p4Rpa0Oe0iwrhWCSK72VI=; b=cwM+U9+oJ00h7CqifSa9IYRm3cdnp/CIUf3PbxWcSOyILf4QxOf5uC7Yri0/Usu3b3 d6WFxjWdj8wOgFR+WQzktrKYirXWrwwaNLmHPCUHItss1uSd1dffipDV/abHrHycMvB1 gL/v6zrGfkAkew7sYklZM3dMQuj6ejVQYiUsfd/O07P9LN1RqEQRp27ikw2ZtejV2eJv uWGaDHi5uSuo2263mrLZwp2QKBMT+ZH0oeATdOLKVTxYKAD9L/sLrjInlRxewvpURXat L7jMEu5Muo8ZlhxkrclgYDLj1mICqPSkG72CyUJ0i92lTjCEQmWK4KzVJ0G/rIygGptq 8CJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Fo+5d2Qn; 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 25si1593811pgq.439.2021.01.13.00.08.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:16 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Fo+5d2Qn; 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 CCC8489F33; Wed, 13 Jan 2021 08:08:06 +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 CE84289EA3 for ; Wed, 13 Jan 2021 08:08:04 +0000 (UTC) Received: by mail-wr1-x436.google.com with SMTP id d26so1043598wrb.12 for ; Wed, 13 Jan 2021 00:08:04 -0800 (PST) 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=ZrAn4+wDZmlfBR1rfJlysK73SQhLsoiqGo2tEfZCQmE=; b=Fo+5d2Qnx2ZvhIHxnePiJy2uCwG4UXEV5E/LYfLTG9faOdpCrAgX53+BN3qhjYq5Sl QoB3qT4vetWNija2BRSuV6oX/i34XcXmWM2HoW4GhBALPhJufGAJaSO/FnyqH4aEy/rF Z6vNyDetyvcM+d/27rEbP8ELQC/u9o83z332ZErtvVLwkO7g5/X7jAz8l7nXnswWLXqp kwG01D5PsS4Ynw043ZtAJPxL/7NC2Gx5c6xgx2g6EeBCi9g8xTmIRf2aXnyu7nVU58Ah r3v+to2Wgki43+IoH5+CD4s30vkAjvnZ/otXZ9piwHvfebS3bvaFp8JDos+MxPC4R7eD NROg== 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=ZrAn4+wDZmlfBR1rfJlysK73SQhLsoiqGo2tEfZCQmE=; b=Whg0SgC2jPhjCFL+E9yBdRe8JbalZaC5mCfq2+E+Z/aIlxMUmjYVuyzY4C5RmgSLIB +562+ITwGxXWHjebq9yh4iub7Ju7Xi2MU6whKl2g3wRxnm6A1aIZTqtTQdgFEKELO4Kj uMJhuX3ej0Kf8Atl1a65ybZ0PqRgkllFtzJSNqSU9Nd/XSN5+Wk23BcNYhTvpTDS+PAH LxdIP4MyEAKPaJ37/+InqeQqPwTrPd1gIc431NE0LiC6J5i4DRe4tj67U1gikDj7dDGi HmSsqrG9m6U1D61pkfvyFnek2hi1ikS1eR+kt3naKEdbD55UY9VqVUCrtPuO9wr90khF lTwg== X-Gm-Message-State: AOAM531nc5FGHC4eWpoSYoqIVvt7NAq4a92RvBkeApQvodfCaCMtcz96 dreTvhzeoXrO1FRCdUG7PtcuNA== X-Received: by 2002:a05:6000:1043:: with SMTP id c3mr1191861wrx.34.1610525283553; Wed, 13 Jan 2021 00:08:03 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:02 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 06/30] drm/amd/display/dc/core/dc_resource: Staticify local functions Date: Wed, 13 Jan 2021 08:07:28 +0000 Message-Id: <20210113080752.1003793-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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_resource.c:1120:5: warning: no previous prototype for ‘shift_border_left_to_dst’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1131:6: warning: no previous prototype for ‘restore_border_left_from_dst’ [-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/core/dc_resource.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c index 07c22556480be..d423092c45dcd 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c @@ -1117,7 +1117,7 @@ static void calculate_inits_and_adj_vp(struct pipe_ctx *pipe_ctx) * We also need to make sure pipe_ctx->plane_res.scl_data.h_active uses the * original h_border_left value in its calculation. */ -int shift_border_left_to_dst(struct pipe_ctx *pipe_ctx) +static int shift_border_left_to_dst(struct pipe_ctx *pipe_ctx) { int store_h_border_left = pipe_ctx->stream->timing.h_border_left; @@ -1128,8 +1128,8 @@ int shift_border_left_to_dst(struct pipe_ctx *pipe_ctx) return store_h_border_left; } -void restore_border_left_from_dst(struct pipe_ctx *pipe_ctx, - int store_h_border_left) +static void restore_border_left_from_dst(struct pipe_ctx *pipe_ctx, + int store_h_border_left) { pipe_ctx->stream->dst.x -= store_h_border_left; pipe_ctx->stream->timing.h_border_left = store_h_border_left; From patchwork Wed Jan 13 08:07:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362042 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296789jap; Wed, 13 Jan 2021 00:08:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6N43Nn8+S/9JxoBs1/1GkWM9IaSqEAkuSPb0dgarat7iom1e7MIieA0nJeb+3EY70cZj8 X-Received: by 2002:a17:90b:11cd:: with SMTP id gv13mr858691pjb.21.1610525300119; Wed, 13 Jan 2021 00:08:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525300; cv=none; d=google.com; s=arc-20160816; b=0AOwCUhmcKSzfJdnG6t/35hF8nBYEMboJgnBPTN6gwQa5qLaFGjvGpFesMBvvkJz4a FLYawI3d73vYrARVq3jLnjCcsOG3VM4GukJed+oCDBYRGQaP929fqiUv/KOBR6SSJSFA z51BxmvH8sf3FAP1QT3JQOgdsgwF0Q/h6XGHCGZDlZZNuxaG3eZQaO2vf/Db/Hb9QpAP BJiDWr+RH5oXqhOTFcXkJvbu5P5LnPOwn4jou3YsQ33x+M7Fp75GxQIjkhMOfM1BtAH3 LwW93P6K1N2pMk63LBhKes0o1mPZoCQRfXh/1wejuM6VI7mol0pCMNUdtPyStU0IpbBI q3gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=CKJUkNxriFFnGG/eaOXS8MRhwejMezrHo4Rt4zedDFE=; b=VByrFZe51FRHRHBZ4sBziYFJHUb1pThN32L/VFFcU9ysa3EbmstE8ZyBFK3NqaPB/d NOKPowy0ixvAuyAaxV7Ju294UpKEeKmFDkELGhNw4sLwigHt1WrmbabB1EK70VWExC8Q dbfxSiMDXVyOA20NTPhX+p5xqtKJMPdCYDzkQV5ZBfS5zboEf5ZhmX5gF0odQy35EmsX At4W/03pVMnCRv9pGZ30YlglHEGx2dNJ6xEoU32k9JLXXD6213R1wuk7tZgdukt08Y1V kkhAVf9mJHm2IllQzIWZgXKcGzTnZHIV2debZzsHtQh1wsRdTbOIpfzLMMSoFiw9RZZm uRUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FrwgrjKb; 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 mp17si1701976pjb.26.2021.01.13.00.08.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:20 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FrwgrjKb; 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 0CB6A89FEA; Wed, 13 Jan 2021 08:08:10 +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 4D03D89F45 for ; Wed, 13 Jan 2021 08:08:06 +0000 (UTC) Received: by mail-wr1-x431.google.com with SMTP id d13so1039129wrc.13 for ; Wed, 13 Jan 2021 00:08:06 -0800 (PST) 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=8xdwLDrcWYKJZSMYMYuV8riE8ORgcBnhB0CHa1Q/JBs=; b=FrwgrjKbVxt3s7pvTRS7s+XO01JRsO9XZYJHRIrzN6pluG3wMDB1Q/zF5eAgINfD5m RFBF7is2Nd1xdqHRGNGA/83nam7awxbCz5WzRe6K2JPtLxALiOUcqafRk5ffZ+N+EPLS ekCBhJvOuHkTndHv+9B7EE0zHCswpCoLDO8kZrc51wWWeWTYwmynloBfUQKEYJpQgCnp UEIPrnCJ0CxXXncxIGQSZPDTyg3azKpfqjcySttB1j7+C9klBZTczEAqTmBmmCsO7LN6 pEC7tTfH8PbvCsAjD7q/AOyR6vA5aWyeIPdEiaCDsflyT1/Ry2lYfJdFst6an0ArQqYJ Yzaw== 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=8xdwLDrcWYKJZSMYMYuV8riE8ORgcBnhB0CHa1Q/JBs=; b=dJACWUqmpWMZdKm/LsOWDWQjaDkJd9FVpVQqmpDypMfunt5HhnTggxae4SAH/zzRfk bgWlsgJYrRnXkx/F+5AJOTvLzzDIecBwqg91gXsCNhpy0It6lyB7J8aHZVnn0Sxnlqpn 17HCazjLKvae5aRhXbFYTdyLTTMZX5TOsWVBC+NTMYB8RyI89Dpznv1Y0jQU402gJd0v cO3e5LZDeWk+M4ZHWDW1BzUzUeml5H5j+4k2oV0ttqSKyTy1gzCZrtmFt1RRooW7F2TF IsG+H1lQt5fdGst7SgOwUA+sm1DYokBGzZiuGgCGAAlBYL7Xbbns1Chx9qcS3KIVlJhN QPzQ== X-Gm-Message-State: AOAM532FKL7NiNm0Qo1dq8EJE6u0ixxIy+wUQmkMoJHWwc3cGxtDHW12 oAyMBXl0c0xK/eB3RX0FRJZBjQ== X-Received: by 2002:adf:ec41:: with SMTP id w1mr1217792wrn.12.1610525285003; Wed, 13 Jan 2021 00:08:05 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:04 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 07/30] drm/amd/display/dc/core/dc_link: Remove unused variable 'status' Date: Wed, 13 Jan 2021 08:07:29 +0000 Message-Id: <20210113080752.1003793-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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_link.c: In function ‘query_hdcp_capability’: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:599:28: warning: variable ‘status’ set but not used [-Wunused-but-set-variable] 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_link.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c index f4a2088ab1792..8ccda8b9ac2eb 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -596,8 +596,6 @@ static void query_hdcp_capability(enum signal_type signal, struct dc_link *link) dc_process_hdcp_msg(signal, link, &msg22); if (signal == SIGNAL_TYPE_DISPLAY_PORT || signal == SIGNAL_TYPE_DISPLAY_PORT_MST) { - enum hdcp_message_status status = HDCP_MESSAGE_UNSUPPORTED; - msg14.data = &link->hdcp_caps.bcaps.raw; msg14.length = sizeof(link->hdcp_caps.bcaps.raw); msg14.msg_id = HDCP_MESSAGE_ID_READ_BCAPS; @@ -605,7 +603,7 @@ static void query_hdcp_capability(enum signal_type signal, struct dc_link *link) msg14.link = HDCP_LINK_PRIMARY; msg14.max_retries = 5; - status = dc_process_hdcp_msg(signal, link, &msg14); + dc_process_hdcp_msg(signal, link, &msg14); } } From patchwork Wed Jan 13 08:07:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362047 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296884jap; Wed, 13 Jan 2021 00:08:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOAaGklX4akg/qeI6CdHTPWrxRLxdbVYJE4qobjayM9AhiByv1JvLiCVhziKtJyBW8p0q0 X-Received: by 2002:a17:902:ee14:b029:de:19f0:91b4 with SMTP id z20-20020a170902ee14b02900de19f091b4mr981090plb.78.1610525308236; Wed, 13 Jan 2021 00:08:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525308; cv=none; d=google.com; s=arc-20160816; b=Ss/0xW9ISnPaOBGi0jwqiVcLxiFyGagYH3h0jC7YM+83+UnYhE0K+45POhzbu/vXXR HEOvlaOi+6mLkXln+p1xJJQbCup75n+FaYLq0zIiuYmy8f00XtR1RxDWaFbvR2zYigS6 o9MleVGCROc/x5K5/4JAdPL9ESKQyWIkFAYvsFHQw6oHpwDsdeHyKh+RCf1lVaBqn7g+ LejGS2mTOZD0E0FOmFRN/BfPYD5qqPjsJzv3RmBNq5hDzaWesBYAL7dMiONW0f+nKdnM BEo0/jlmGpqrQ526BPtqRYKEE2eZp1vve7GW4voNP80x1VmTnMXpiSzMxSeEVLQKlxFf of+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=NZTZnk7bPvTfs9d9WOLmkA8Qa7/Ng1RbzfQIaVJ61q0=; b=R9r2MNnyeE5x2cJLG2O4ZrV2YFPe23mTLDeH8yErENDKvugdmcynXOirsojCyFB9XJ AytLch2YUP31yie7/U73rvpN3iJ0BlGz+wh72ZKTfWYvUzTdX8XUooy2Jy9o5wz+0dav r1ge1ht4e/ChbekpovXu1IPzVyGndyrxMpJMJeMpJsvyjNd57RYLIbpXwvALgblcUpe6 QSWjBfvgiMztPCRlp+dFr78y+nWhuAMOYbHxshJNy8I9aw021/kDRocTLXZ5esWzYizh NGKZXq3sAqiPZntXd81r89rEV5UbTa3k4EQy+ixTyRk3Z/2cdOOtlD1fC0/SD82wllCh P+Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="SpmtloZ/"; 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 k22si1477836pll.380.2021.01.13.00.08.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:28 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="SpmtloZ/"; 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 66E966E071; Wed, 13 Jan 2021 08:08:16 +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 96E2E89F8E for ; Wed, 13 Jan 2021 08:08:07 +0000 (UTC) Received: by mail-wr1-x42d.google.com with SMTP id w5so1043024wrm.11 for ; Wed, 13 Jan 2021 00:08:07 -0800 (PST) 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=mCRcVC8RkZNOsTZmH5MrfFMxeQad14MXuEtj32uCB2s=; b=SpmtloZ/cSZhuSXJ9UQ5EJpwFNOKanG/Bh7X1ETpsmkC49Bq+w103SFSlgUo4pLIMH 2zKhjWxoUnAtjIDu+O6SHLaEgUkdKy4qCZEP7+tBNDWSP9CUt+1Z8x2nm0wSiq8uyq2M Ma/YOj18A45z0ky396eCJnoyUf0zmIrZyeR1V4/RYkslXirRP378ubPBXG5RuEKedpSe cFbrG8IQ3GYECv1TK7vuuUf8Jl9WAJCn7m9EbmGKl7ng+wYlDrsDlZkUx4y3zv9RdyA9 B4wot+hsMGmQQqtj9AgLGGvNVnO0BtwuAwu1ZvRizlL9o/HbLAFaiG7V+mY6GCF+NRQj YU8g== 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=mCRcVC8RkZNOsTZmH5MrfFMxeQad14MXuEtj32uCB2s=; b=D7uha2yB45lOl5Xg+aPusvxSD5aoOYPwQVI3WOOJWumo/Nxn3UiPsUqeJ+rR6W8oOz 4H2M0x9WtN8GQm48GWO6LV25iUkVrgMq9fwdnDVcM/umF+trJWQhzmrStecUb1otsPDi c3YW+upn2Fts9kqIhLkuTJoBL43m2gu8bUQooWpipVIU0igW4rkQrOmTBJUfsnhy+hG1 h/51bcejl0jcdbmIqNLPS5Qyl/xdYSDIel8pcsSoPvc5hJhE3gXLA0xwr5fCB9JaoafL SDb9ZzwxGTwkANaLZTlbKSkH41iBMUWMkU0ecSdJRxXL6E9a9Ybjh9pp4ntApIamG+eS CRvQ== X-Gm-Message-State: AOAM532g7KsUpxsCCb5cbciFk3TrxqcApfPdZuzSvlGubRsXy6YEsUKG KUzKsjq+bYEseuGZkXB0S6aWdw== X-Received: by 2002:a5d:558a:: with SMTP id i10mr1191325wrv.363.1610525286253; Wed, 13 Jan 2021 00:08:06 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:05 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 08/30] drm/amd/display/dc/core/dc_link_dp: Staticify local function 'linkRateInKHzToLinkRateMultiplier' Date: Wed, 13 Jan 2021 08:07:30 +0000 Message-Id: <20210113080752.1003793-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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_link_dp.c:3710:19: warning: no previous prototype for ‘linkRateInKHzToLinkRateMultiplier’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c: In function ‘dpcd_set_source_specific_data’: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4403:18: warning: variable ‘result_write_min_hblank’ set but not used [-Wunused-but-set-variable] 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_link_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c index 2fc12239b22cb..3c33b8fe218e5 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c @@ -3707,7 +3707,7 @@ bool detect_dp_sink_caps(struct dc_link *link) /* TODO save sink caps in link->sink */ } -enum dc_link_rate linkRateInKHzToLinkRateMultiplier(uint32_t link_rate_in_khz) +static enum dc_link_rate linkRateInKHzToLinkRateMultiplier(uint32_t link_rate_in_khz) { enum dc_link_rate link_rate; // LinkRate is normally stored as a multiplier of 0.27 Gbps per lane. Do the translation. From patchwork Wed Jan 13 08:07:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362041 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296771jap; Wed, 13 Jan 2021 00:08:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTxdKNXfFtvI4Y/OM+yZeuj3QgurhMXcR4w6a+q8Kve0/odRpADEo5YYi+rP7oVPTM4nA0 X-Received: by 2002:a17:902:b688:b029:dc:240a:2bd7 with SMTP id c8-20020a170902b688b02900dc240a2bd7mr1193410pls.50.1610525298549; Wed, 13 Jan 2021 00:08:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525298; cv=none; d=google.com; s=arc-20160816; b=TOvkaGTXl+s7JXsSO8sc+MDl5LiWOk0refSH/PQMFFXTo6M39xopuIQsaLps1G7LNn f4TIkj90rkmKAZHKeUpEPIId8DwwXJQjwn5GG+eKi87Z6bawzR6zqMJUMbqeyBFR87yu FQwo8Qc2zqgN0h15KiZ1G4B+GcU+CDep1Q4PeM2nXAdyzH71wOVhot7+vEwXQPZ3JJrg cy9gxMbojJOewU4P5Css9uYLfI35OA5W+pJOGw8htYWTqfWMtMywgfNYjTcZ79t6PGOG AK7yNzQH0swmfOIwO1wJxme9j1vKzgesM1ybmCyRQdken0jFuUgDXNKSJGvBnc/VuJzw 9TCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=otLguLIYU2pCI+GxI0hTAX8aC899eyOWB9C+VtImff4=; b=jV/REMDfe7xm+nC/rnN8FALClc8SeUmfPGvYzswJbT6Kig/NNnZR2NyrDWL5CSnMu0 zlzxSgIkeys1wxh0x3doM+Qg5h0kcje4tCNXpBySQKe4A+TNxhbf51fvtoISKmYojqAk 07blJBZ4BrkCUlymSbC0ujDGwDeZCjdZj1bFWXKtU2/kUEUHh/p/R0yH8k5YlNrOszEg OuzB3IEP9fcJ3DIASm0WxQdXVYfi9I5camb8tVxQrNJP1RM0/Ma1TwIqMUJNzT5vcXwr mHTEa4g4LSAQi0TQKNfm4cw1hCZaynq6FrcA6z0ELvvaD7x/RYFu57pbznv5M7DsffIP 8jEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fQ5NcLvV; 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 a19si1613594pjs.4.2021.01.13.00.08.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:18 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fQ5NcLvV; 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 B8DC489F45; Wed, 13 Jan 2021 08:08:09 +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 B3E4889F8E for ; Wed, 13 Jan 2021 08:08:08 +0000 (UTC) Received: by mail-wr1-x436.google.com with SMTP id d13so1039252wrc.13 for ; Wed, 13 Jan 2021 00:08:08 -0800 (PST) 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=2j2xvlvTKeMvAjdQ03/GzFSNxUFT495xm2EMvSlOnPM=; b=fQ5NcLvVmka8WVFVF8DEXHGDlkPDS55e/BwTL1KBk+7FfqF86JcS8D68hU+6tmFN1n Gsg9PcDpf7B3zPVrHJ7PVzXs6hq3ruq7R4is9h7lIyQSKqWfBHWm1sVX6EGp3842webt ZYyEKUVsd/NOnCsePUQOE6aD5Z9dW2fgHnDK5Nt0q+navMgiIvEF3UWIFnYrFo0jPINu qbxP5oOJiTc620W0S2DxUiF7zeCfYNC2M8+8b6qlpWz+Cxtqr1O9N4jrV6Z9p96uF5u0 YJEWADvfeJ81IfirIzAKTthEivnS04jr68iT2p1Mw5TpoTV2uMiE6b/xPghq/BdJGWQ8 u1AA== 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=2j2xvlvTKeMvAjdQ03/GzFSNxUFT495xm2EMvSlOnPM=; b=qaYkK7XRsuFHQxJzxtH3VpeOtq6tbna1PfGqf7+AwK72mLLdQFwE9VJ9hCWbvc1XXg n79wPTuPyemu9bci796JcWzWTtBSbEKQMyo33w6W2p9+bACIwNoQJTEY5Mp0XExepR+f kILAaBpb6SZuCiqFJAEX9Hxyr2UesExswnOpiQTHOMVj0cd1A2SU4R5NyEq1Hyenp2bm mGT7L39JXtGzK3VTNg02ff2ZyJTQ9TCBACKGITOKEG1g3u97fifUO4dOXpLyDDU3PT4y s73RBrv4SiRsuQ0cr43HgH9nhrJwagjNG1EqrU7s3Sa1isT7xH70RNPiivslrQG8v4Xk YiaA== X-Gm-Message-State: AOAM5312BpEHCJIO5gmFfq+mpItRF9ZasJQFKizQoWtTii3uImw5Kpk9 7roiWBO3RuT/nfy5sTK4D3ay5A== X-Received: by 2002:adf:a441:: with SMTP id e1mr1151919wra.385.1610525287440; Wed, 13 Jan 2021 00:08:07 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:06 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 09/30] drm/amd/display/dc/dce112/dce112_resource: Include our own header file containing prototypes Date: Wed, 13 Jan 2021 08:07:31 +0000 Message-Id: <20210113080752.1003793-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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 , Anthony Koo , 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/dce112/dce112_resource.c:883:6: warning: no previous prototype for ‘dce112_validate_bandwidth’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:1008:16: warning: no previous prototype for ‘dce112_add_stream_to_ctx’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:1407:23: warning: no previous prototype for ‘dce112_create_resource_pool’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Anthony Koo Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c b/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c index c68e576a21990..ee55cda854bf4 100644 --- a/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c @@ -59,7 +59,9 @@ #include "dce/dce_11_2_sh_mask.h" #include "dce100/dce100_resource.h" -#define DC_LOGGER \ +#include "dce112_resource.h" + +#define DC_LOGGER \ dc->ctx->logger #ifndef mmDP_DPHY_INTERNAL_CTRL From patchwork Wed Jan 13 08:07:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362044 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296820jap; Wed, 13 Jan 2021 00:08:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRS6NYH92JiySUqoVaCSq5KahzQgEPjob7PvnyRjDmuRNDvc8ek/BG4FhR1MPHqFVe07bv X-Received: by 2002:a63:6344:: with SMTP id x65mr1027486pgb.172.1610525303125; Wed, 13 Jan 2021 00:08:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525303; cv=none; d=google.com; s=arc-20160816; b=mFgmGlXYvEAjl66eHcgnbxMBJtvORBXIfjSM/PW+bNCzGVfgGJMaWhSYnzGoqwIb7w MGFoyEz7a38sDz8LTUSCxueGzTZEEFyM1evYY35hARGypND0j10MYfwvUGk7Xcsuy3yv JBHq4Y5VzqUg4M9wXfQKRHzVZiap29gU81KHlDc6DZcqaZfKMgVcHa/oTtn7ZNr0ImZy In7JcXbVS3LxLGRZDdkhNapCKeooeREWEoLy1HgZ7xhTyGHTGQzBjw3Mucq6zxAfwXp3 3/4f3rk008yANxpZjcPVSvdpYdchcLqTou5XIEim8F4WIBRC1lwx0Nmi93GU6OjxgHfL RBAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=SFM0Wo5DhWXeH1Ize30TTDcWbB7NKcfNgA4ddP57W4Q=; b=vgzyXkyDLM/ziDEfaJ8fBeNdTIjXkPRLzRq4e+63d7CPBik+Tl/kwq5kvxn2DPJMT2 6I43UjHEU/aU6cEpbXE7k0dv0/lANPEx5jwEQHJA1vz13vzG1AtjWWHuHCkWQ0UXkYds GRTFB8tmiB/7tlGDAq+z1VE8JWzE4fclaJSuIgEBij81JzrMJPpdj9klC0GkPKFeQ9IU ZqXubnfdTz81oXeQEMMjqBwsfmQgrsY5sd/s/cugasnNH6jM6tf2/rhKBMdT6f40EOoj 1o1PikqgYhPIVpT1QX9Jo7b1H6T/DHKqq0Jq+i/bssHD8xfnUbtb9SOAD6C4tZBTEDtj gnTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="RlPHM1p/"; 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 s185si1403926pfs.330.2021.01.13.00.08.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:23 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="RlPHM1p/"; 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 429BC89FF6; Wed, 13 Jan 2021 08:08:13 +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 E15A489FDE for ; Wed, 13 Jan 2021 08:08:09 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id d13so1039335wrc.13 for ; Wed, 13 Jan 2021 00:08:09 -0800 (PST) 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=QtOB/mkCBg/7k2V+Yul5Q3zrw4uvSu6D+ZDw375QQ1c=; b=RlPHM1p/vG4SiuUwAw1bbIS+KMHFtNuIJRaOGSj+2QN2Xv9MYmpXiHybJdI3JFPrx9 rcHTpY4z2TUTAfTT1I4Oj+dYy1Hoq9VB4U7/nMWz8M3OeGbsigW+GAcdlv43iq+PGUqc N/cHJxQw7WOtopw0GWdLqfI59hhkzZnOcSo7/WDLBGdj/umo2fYaYvciEXE+O4JwVn7J 7nL1q7H638KJMQx/i6LfIKD5pmJ7JhBscMqHmPRL/AUL5ZZQHYmHOg0fVC6TrZFE2wX5 RiRcZAQbYaxDh/JmbM+g5OXeOQUIqAjF2kPGe8QidqmB+v8VvhcXal041dC+f32wFYfy OUMQ== 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=QtOB/mkCBg/7k2V+Yul5Q3zrw4uvSu6D+ZDw375QQ1c=; b=Xj00Hol3sLLstvwrKVysvWLabkq3vupr3RvugpRTY9CGaAItxYq0Xoasa6ctJGdpTG 24P+QFLQr6wRqGlwzJR26Bpl6djuSyC1wvULFWbUe94KtMoLxjrAuwZ//P2rPNzwwCRf D/z/NJ4O/4fDA/NanGTfbXIwal312wDxha2ixF5rNeceFUXU7Hjg0ym/KQl+YgUTXpuh OFSGCWyw8bONOfB/ze0Tazoco/81ognNdJ91P1/IUqw2ChtbFY8cO/iHk76uMR+8rvj7 o+7I1iLJbQ3P8j5FQVJ5JOjjjOJIaa51FT0/4zi9s62erEbeh/ndEgCu2rarvzg6wLaN EP2A== X-Gm-Message-State: AOAM530EhbdFqgTbslfUZrqAmaNVnkusOSQXY5o0YkBZ11dy1LDqKwN3 ESPtDwpoIPJU0M+2jGv0WRyOmg== X-Received: by 2002:a5d:4112:: with SMTP id l18mr1191436wrp.116.1610525288602; Wed, 13 Jan 2021 00:08:08 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:07 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 10/30] drm/amd/display/dc/core/dc: Staticise local function 'apply_ctx_interdependent_lock' Date: Wed, 13 Jan 2021 08:07:32 +0000 Message-Id: <20210113080752.1003793-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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:806:6: warning: no previous prototype for ‘apply_ctx_interdependent_lock’ [-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/core/dc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 8f1cadb823c71..0a07e608485ff 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -803,7 +803,8 @@ static void disable_all_writeback_pipes_for_stream( stream->writeback_info[i].wb_enabled = false; } -void apply_ctx_interdependent_lock(struct dc *dc, struct dc_state *context, struct dc_stream_state *stream, bool lock) +static void apply_ctx_interdependent_lock(struct dc *dc, struct dc_state *context, + struct dc_stream_state *stream, bool lock) { int i = 0; From patchwork Wed Jan 13 08:07:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362043 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296802jap; Wed, 13 Jan 2021 00:08:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqfpdWMZk2DjJdwlu4TQ1pOyLQg1Q+lNQB1NcWynTh8UbZSdmGPs0ksedGufPnKBG5G6z6 X-Received: by 2002:a17:902:9f86:b029:de:2919:a6ac with SMTP id g6-20020a1709029f86b02900de2919a6acmr1165580plq.41.1610525301609; Wed, 13 Jan 2021 00:08:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525301; cv=none; d=google.com; s=arc-20160816; b=g+8k4AqqaRiglwlVx/R2t5IICbuPIxtzIH1NojJLEpwJByhtYGwxnsbs9saXUPujtI XT5XyW2QHaECRS3yqVBZQbtuzF0kTEgKFRmboSpVXYsLRlfAaruK0uk1hFh6t4aF/xAL wSIZdvJ6ROkG58ZwkB3dfNQ7uskbFKTAzolGCkiZoFPrGFKMDmFG3tFyD82SvnLipOvz Ua+Q8Ey3j3sr5TRWuxkVGkh3kUmiEoUqQFqDNIsJKNCUTJfbKLKzcliLH4RPaDSoBd4F tvi6Rl4xMTSrXsFs5qGB7Qlia7xdxJVyqjr7b0KVGFXBgEwkSEcMU94PdjvK3ZwLpWNq VIvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=H+EElFiBYWfivUcXOhW2V97I+ooRID+nhwK3afBBvN4=; b=ubqk2yvoZCNJiorxSFL9G3FJBf86wD08BFuOZuPVQZspkETOS5MQYCTup2ywDYLxWC I1UUEwPnGZgSfs4LcO2Zsl3jhEFX5rjjWMy8O2whZWTRCF+ooumUekezYjnImpNMfJoy RJx3cYO+DD0qRAx5VIWBWUdD6WP7Z8CVght15W13umlgx44JnXLU6KLNI9ktXrR9yeN4 GvCIhOhxiCZfm5bMbIQrxGr98PXXPVVrwEl8hI94p4FCqmkCGH9Jty4Dr0SWIw8jjiB9 QBU1Jh7tRtiFzB9IEAuEvVXYgW3p0ru+EEy+mHsEeNvThamtwzgD4WPdtfzSStARVUwg 5hoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=chUfkryc; 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 r3si1496968pjj.129.2021.01.13.00.08.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:21 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=chUfkryc; 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 8DEFF89FDE; Wed, 13 Jan 2021 08:08:12 +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 571E389FDE for ; Wed, 13 Jan 2021 08:08:11 +0000 (UTC) Received: by mail-wm1-x32b.google.com with SMTP id k10so688232wmi.3 for ; Wed, 13 Jan 2021 00:08:11 -0800 (PST) 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=upsPNw/tEbA/WXl0QtiBmIh69kJTZiyD6g31r7koW20=; b=chUfkrycKg5MIRF9H9qdA6JCg9Bpnh3Nf3wLevITHavXTmsdYBUZOPs9bfiTizkdSk 0OLxGVTT9FC7RBTXPBcpyYdqbU2HNc/VPT1v/JlNog0IH55G/nTtfwfUTsF5zar+QFZm npR0p2Nednhpi6YDfOU66d9OcWpL4dJ+bHT3UVW2U8gIKUsHTP/Qp7BzfbqTcVRiOewI b3gcVybTv6EjUSSvq7vzIg2249S0avETtwtS9oVo326vf5EgzXaqrTc0H0s8uT+JDzia MQK50s1UwwYe4CBFNuu7jHfjwtiihoKelCWVvTBy3NRrghJmvgZYgrPpbx5oPBJ+5lT0 a0mQ== 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=upsPNw/tEbA/WXl0QtiBmIh69kJTZiyD6g31r7koW20=; b=ebcSekgW9J/+M0ubSjqnF9qm6z37EQidr7bxSJE2O7g7UyKS53Tdpe4YjlkfVgcAsZ KP3WYcDJcg5zD036bJpOk6jTWx7lhrafQ5RRGyM9LFAj9m5riy1Rarhi/BPh2tRyOk0O PEjTTrqm46rGJXyFqumI//f9sL6hPN+rw5kTJrIdWy7XzE8rjwMftyNbimZYDhFNvQWO 9U5rlD4LjpOHjgLUowTOyFTD/TLDRT09t8T9R/9pJiShIRyz/Am4IjK6gwGnUqGt+wtp JScDqzosmLX4hcU5m+Tr01IBecl0Lywney9N7Rsg8IfR5M5ke+N4QjSJD5EmhDhhZDre 5s+g== X-Gm-Message-State: AOAM5320sHZn7F9rYv0O39QsG1eDHAMyK4LownmMBWWAz/i8FfPmeSnk Akbm5/kRKYqkSVqpwidSiuqVUQ== X-Received: by 2002:a7b:c19a:: with SMTP id y26mr932035wmi.20.1610525290060; Wed, 13 Jan 2021 00:08:10 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:09 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 11/30] drm/amd/display/dc/dce100/Makefile: Ignore -Woverride-init warning Date: Wed, 13 Jan 2021 08:07:33 +0000 Message-Id: <20210113080752.1003793-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:54: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_10_0_sh_mask.h:5084: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:170:2: note: in expansion of macro ‘SFB’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:291:2: note: in expansion of macro ‘MI_GFX8_TILE_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:537:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_10_0_sh_mask.h:5084: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:170:2: note: in expansion of macro ‘SFB’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:291:2: note: in expansion of macro ‘MI_GFX8_TILE_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:537:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_10_0_sh_mask.h:5083: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:170:2: note: in expansion of macro ‘SFB’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:291:2: note: in expansion of macro ‘MI_GFX8_TILE_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:542:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_10_0_sh_mask.h:5083: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:170:2: note: in expansion of macro ‘SFB’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:291:2: note: in expansion of macro ‘MI_GFX8_TILE_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:542:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ 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/dce100/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/dce100/Makefile b/drivers/gpu/drm/amd/display/dc/dce100/Makefile index a822d4e2a1693..ff20c47f559e3 100644 --- a/drivers/gpu/drm/amd/display/dc/dce100/Makefile +++ b/drivers/gpu/drm/amd/display/dc/dce100/Makefile @@ -23,6 +23,8 @@ # Makefile for the 'controller' sub-component of DAL. # It provides the control and status of HW CRTC block. +CFLAGS_$(AMDDALPATH)/dc/dce100/dce100_resource.o = $(call cc-disable-warning, override-init) + DCE100 = dce100_resource.o dce100_hw_sequencer.o AMD_DAL_DCE100 = $(addprefix $(AMDDALPATH)/dc/dce100/,$(DCE100)) From patchwork Wed Jan 13 08:07:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362045 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296841jap; Wed, 13 Jan 2021 00:08:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJwyvFCA5XGuH3I1qLzSGzs6k2P82yyZhVmZb/QFSbJQc20r9+dWkThOS67HU+sERIzd1Rsq X-Received: by 2002:a62:7711:0:b029:1aa:3203:73c9 with SMTP id s17-20020a6277110000b02901aa320373c9mr1229944pfc.65.1610525304751; Wed, 13 Jan 2021 00:08:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525304; cv=none; d=google.com; s=arc-20160816; b=M9sIegMnGYaqMnUKC2FRtnf5l62pjBfkONvZXRBKiY/POrZvSiSb8X3FE/6mMgZoA+ akLcovi2KxJvCWVe6VhIzWNQg68Br47Vb9U3DUjTBayttuvx2Ya4b1dckY1Z1E6SJb2g xUlI3Tak3xLn4yJaWRHQjE5lAds2CSgg5EQODjMlXc+IdDOJgffSLO1lo6UZDxSgAmbC 2ondwixGpyOyQxtU/SK2KTX4Y0s5MYU1HRECwJ+Jt70AYXsUD/Bd7ztOrNUWNBXl1/Lz PwlBjK5dvBrCclGMSE77+wu4juOXli0hyoCtZCDOuIbYVCAI/h5kdJMjeXaP6WniJRZl KoJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=go389YpCzKA0I96A/PMbQcvk4f8UMj6ojlinEKFlu9A=; b=f0pNuIlR5eBvb9SjGKbgGCw2iY+ueacgypcUNKbmqGmj3jOnNRkNnrNRjVDwqwhsot khxf1Jzb+QvD0rMf4zGixO34SyA4vmmaTI+HfArthEsHRaui0AtuhbMHouOQiGZ3wrTH CDBWIqA3t6/sZWEf6R1T8EdMqHyDOr0lnZW2tkERmYWNIbTmA+pTwG5sZAj4scxufzK5 bu7ET8ODEb6qdps02giviibSQRyg7OKzTnLkYSJ+SBFVeHRtE9zNzXPMuqzHXXs0JJI9 1oRTsnR1piSN4jD2QTCzWqApWhuGhndXva5jDUZrfgu53jgrgLV/CHF0XIuHmkmmpk/T qjJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=NAq8a9+7; 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 k22si1477700pll.380.2021.01.13.00.08.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:24 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=NAq8a9+7; 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 2F0F26E03E; Wed, 13 Jan 2021 08:08:16 +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 7BC6989F89 for ; Wed, 13 Jan 2021 08:08:12 +0000 (UTC) Received: by mail-wm1-x332.google.com with SMTP id k10so688294wmi.3 for ; Wed, 13 Jan 2021 00:08:12 -0800 (PST) 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=ByKcZ/QO4rFJCc5FU+7eSJHbQTpm5hWIxSF+UVUytQ8=; b=NAq8a9+7iN3iO3+wGaICi9lECx6GuUsRdw34OqLPJd3ZnN4FlYdrKOqwub8Fk6eMfh 5Bilb12AFMTIT63HXIBA5+LWSgS7rO3RyBoAY3n95Hlk3xVW0JgnsHHsVlj2mMd6PZFj LWY9sx4YPT9Qp+J9Yw6KW5C4y7Y/amKNrO0DbOBA8TI4JPuT8DOnjpeYTsqac0Kl1uln ATiwk9dlj8bfyv6wJayo/nqxgUtP6p5On60pWJQN4v5ZO/xC8g6ekPxEM5cSCyzE1IOe fUpAFplHTp2bmIC4n/oV9/ggXw96rpMlD57erX667d2A2c5jRo5GwBM1r1F9xccT2vUn BrYg== 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=ByKcZ/QO4rFJCc5FU+7eSJHbQTpm5hWIxSF+UVUytQ8=; b=trqHwPmWRfeMowLmEzk0tAXA0yzjF4pjK5DSxKnzv43ros2hhh24oo7mYg3FqflFn3 UuNyvanekjmY5EPKf7l/Gzmiml3jUNwnj0clDr5KEDocVXRdQ0dBDl/3iD3l3bl0Wfy0 ZpDGHiiTeP4IIq8zv1SBYuWvpHL33Xkn6pWnhULJnUF/XCE1CDxHKGm7tlmZAdYuj84u 2y4NYOzpdu6a5ISPir+ukdkwmreGSBqa4/4+cMuAl3blWwo09dWtfYlYGtgdvwC7S3CJ bsq/vVrOC7x5t7Irfsl+/Jxo+hr+2HXHh4K8Bo6ba1KowApTTL9ztmAWj5j/VNugs/+G DY7A== X-Gm-Message-State: AOAM533wHPE+mWvROmCZADUbM/Q2FqNSRbJFFp/y+4tw0jD2LIq39smv QhKoLOY1cZIK+a2RX5uu3zF3cg== X-Received: by 2002:a7b:c389:: with SMTP id s9mr909483wmj.159.1610525291245; Wed, 13 Jan 2021 00:08:11 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:10 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 12/30] drm/amd/display/dc/dce100/dce100_resource: Include our own header containing prototypes Date: Wed, 13 Jan 2021 08:07:34 +0000 Message-Id: <20210113080752.1003793-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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 , Anthony Koo , 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/dce100/dce100_resource.c:54: drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:537:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:537:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:542:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:542:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:547:2: note: in expansion of macro ‘DCE10_AUX_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:547:2: note: in expansion of macro ‘DCE10_AUX_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:551:2: note: in expansion of macro ‘DCE10_AUX_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:551:2: note: in expansion of macro ‘DCE10_AUX_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:889:16: warning: no previous prototype for ‘dce100_add_stream_to_ctx’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:916:16: warning: no previous prototype for ‘dce100_validate_plane’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:925:24: warning: no previous prototype for ‘dce100_find_first_free_match_stream_enc_for_link’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:1156:23: warning: no previous prototype for ‘dce100_create_resource_pool’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Anthony Koo Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c index 648169086bcf8..635ef0e7c7826 100644 --- a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c @@ -58,6 +58,8 @@ #include "dce/dce_abm.h" #include "dce/dce_i2c.h" +#include "dce100_resource.h" + #ifndef mmMC_HUB_RDREQ_DMIF_LIMIT #include "gmc/gmc_8_2_d.h" #include "gmc/gmc_8_2_sh_mask.h" From patchwork Wed Jan 13 08:07:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362048 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296898jap; Wed, 13 Jan 2021 00:08:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxilCLGGn3s6cyfxvhLPwUscPJ4NcHX+SmJ/zxNwXoR5jNNodKNNWlfbFw4H1fXxRcGR7iS X-Received: by 2002:a17:902:9009:b029:dc:52a6:575 with SMTP id a9-20020a1709029009b02900dc52a60575mr952021plp.57.1610525309614; Wed, 13 Jan 2021 00:08:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525309; cv=none; d=google.com; s=arc-20160816; b=zlUtIpmuUWkBPAsmyxTfRMoEB9rcoY6Od3stoHvxmKZuphT5ESNSdfTdkqKV5vLD6u RUJ3IicZAZ7NKHUXFewZq56cByXZQfrdeo20lzTvoisqAxGJE8x9fRt2elgq6fB47W5n CGKWLh06www7LFu9uZPFJ/b+hZjHhg+qU+JXcouLIa7kSQOKC1t2fjYoWJ3C3scoCU0S 51SMJogmSGqKkZ909JhLYHl9x29lshrjuY2U3J/vTsu89jS2ULUqQECPyKPDakpS1SHJ oyxo6izh5ZhIWVfL9HZIhNhPgsRw/LVpK3l83NqrFODqL5R0BCwX3WZptvUQRyFd9zRy uk1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=hn5rEGRKzzNQoth19eKWVfDkkKUuvrcdoAOBRYbsBq8=; b=pvYAx8KSnTj+OWuu+lUX2NGibVTxGjqzLxmL9lUr+/pWuBkJncYrSQEtHQJrMaz9nw mdIAxftU+Co9UQrpFCbwG73ErowR4sCb/aZwgvwigBI5LEdlPvQI9k5FtITZHuaXa0In /smkyi0mdZ/HSq0MsU7m8PKhycVSOD5Nry85eibhgs5tWsSU57HsGmedah+iFaVUoYa/ ChlYSWTUqQjj9JbmGTqnO194fYbw79T3AqT4TANI4d2Do3K2M1hUObKlv5MPr/X8RY14 lgCXOVP6z427BVPHWD4v+G3pefxnKm68NyHUTOLlbu0vhb3qTEB9ZQP3OWaz1Fr3jUdr /Eag== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OPbeiTnz; 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 s21si517521pjn.90.2021.01.13.00.08.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:29 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OPbeiTnz; 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 7D0076E077; Wed, 13 Jan 2021 08:08:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by gabe.freedesktop.org (Postfix) with ESMTPS id BB8C76E061 for ; Wed, 13 Jan 2021 08:08:13 +0000 (UTC) Received: by mail-wr1-x430.google.com with SMTP id r3so1086781wrt.2 for ; Wed, 13 Jan 2021 00:08:13 -0800 (PST) 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=TuIgFykBDNAyCTS3nlQLhUgyjjMaofDJMrakOYVbGJ4=; b=OPbeiTnztfD+0HsOGRAz/algFIdjza0Mha4+zjTi+go+mtYX28fmkqErpS7SPSYwOY 0BlCN8/kvWgv/s7Oza70HVI8XBi8b/gbWFuWbUanSz5AtgNsgcH8k6vQJ779zWLtcoOd xouoN/uj/J5mWVVynsDWHxvX+k+He0q0DCvdU8LSGF3ubQE20BV+piQw19OFFgAE1IW8 6ayHGDpbV9BT1Zfs/n8NYbVeVCSDOjiVB0bHnSH9nMio0PQMKv1yNhlR2re0fHyvvKy4 mqOThv9t2wscoM+aKNDPvmAB1QY0hSgUH/aVX7OK+br/m/D9WjooGUjAbEnNPv4lJnx5 uDzg== 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=TuIgFykBDNAyCTS3nlQLhUgyjjMaofDJMrakOYVbGJ4=; b=D1io2V53nIro8BB7QOT4O6J7I0Uo/j3xFiMgp6o1/I2I65hJTbF/gtN6+BCHLZOFLC 7ILZexfjGkOru1luoA3FExTsxP0z2NW7CDYO+0bkfrzZtIazkBJ6JpA21FlvY8hYJAEZ s9skrhN+je1oWxADW29Ad1re2DkwcxFpf+o6BrIeOKI39qfq9SI1czLIG79fmU5yhMdj aX1hVuj0/1ZDLKFFs2JFZKhq/YJyOml+s6Q+gle+v2j8vd3WIJJfzkJ48jR2eqpbMNBd i7EjMtuNyR83NkHNFM273BinPtMgsSDlB1O7k1Dv2+YVi4xPMSiVBcrFggS0QFVXV53n BncQ== X-Gm-Message-State: AOAM531ZcAKME5kb6Ngrg6hwAjzTHMyQqKnlqs3H+5oYV4PeTxzsUCks x+dFhvr5ODgejJjsU/9iWCRvf8ms4UhVxrVG X-Received: by 2002:adf:8184:: with SMTP id 4mr1226871wra.63.1610525292458; Wed, 13 Jan 2021 00:08:12 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:11 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 13/30] drm/amd/display/dc/dce60/Makefile: Ignore -Woverride-init warning Date: Wed, 13 Jan 2021 08:07:35 +0000 Message-Id: <20210113080752.1003793-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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: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:155: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:181:3: note: in expansion of macro ‘XFM_COMMON_REG_LIST_DCE60’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:185: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:155: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:181:3: note: in expansion of macro ‘XFM_COMMON_REG_LIST_DCE60’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:185: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] drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:155:14: note: in expansion of macro ‘mmCRTC1_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:181:3: note: in expansion of macro ‘XFM_COMMON_REG_LIST_DCE60’ NB: Snipped lots for the sake of brevity 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/dce60/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/dce60/Makefile b/drivers/gpu/drm/amd/display/dc/dce60/Makefile index 7036c3bd0f871..dda596fa1cd76 100644 --- a/drivers/gpu/drm/amd/display/dc/dce60/Makefile +++ b/drivers/gpu/drm/amd/display/dc/dce60/Makefile @@ -23,6 +23,8 @@ # Makefile for the 'controller' sub-component of DAL. # It provides the control and status of HW CRTC block. +CFLAGS_AMDDALPATH)/dc/dce60/dce60_resource.o = $(call cc-disable-warning, override-init) + DCE60 = dce60_timing_generator.o dce60_hw_sequencer.o \ dce60_resource.o From patchwork Wed Jan 13 08:07:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362046 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296858jap; Wed, 13 Jan 2021 00:08:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwe4fl69aSw/ZYAojslpP/BE+pIHEM/4aUISTar3ucO0uxiBEJ/slx6XSFh6W8lzHwnRDWV X-Received: by 2002:a62:384b:0:b029:19d:a5c6:d76 with SMTP id f72-20020a62384b0000b029019da5c60d76mr1044939pfa.16.1610525306807; Wed, 13 Jan 2021 00:08:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525306; cv=none; d=google.com; s=arc-20160816; b=QSPHTCx/0V4APsZiNeErGK7Vzty+aeftBnwQXjtOD7XerqZDSCxXH1HpK6IMW+ImIK QNlRFBYAd1PhOwEDJry8L57eJlfDQ5mDb0fwSzdKOdpQMjBc2aVsrW936w6D9dBdlEUR UNq2qI+BnfEpRDAj+BT4GRQdk3YZvh1TWlS8NkxoumFae/nCXCvFR5b1PvpGTNbeIIVG xmfL3FKdBC43657lu7TcTCkzbyruysxua541L6mfhFS3t9VdzncDUuIng6RaX7cdNvXs dRkmpmae6MqE/6mgfa2PkrPQRWVoIinIA7rgTpF//1iVYVHnnVmxx9N++Kvk3VcJ2ByO rlqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=77X8jQHb1Zpr4GEgvOMLMz40RQvPJM8QsjCXsZdJhlM=; b=FFTYY6aVSuD1GxUwIFidU5rsUIK0X2mWGegPYOycbo8gMUNzQV9rsnKzneWj4pevh1 7xmZvLtKlKKzxXiNgIiFn+yhPYDwpeD58jzMqUcIs+YHBaKnvit8Jl4ABk3H2qKXRqBS YmnULKY54Xq6ZHk4x5Sqeo/2QeC/t4xClHZ/7/WZk5MVocHJg94cbQ6QyLtos4Oisw2b x5X/O8q4dO7Ak4n/tWoCwOzDIdjSsBdOYHrNXG30uQ+PkUn3USRboUNPJ2wW35cpM4mp cZ7n5h3EKw9Uqb3t73dXCC4Okd/Ci7FwtIZxETkIUb7Bf84X61MayYM0pdgys1kkepZK MH1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="aM/IyLaQ"; 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 l11si1704161pjn.167.2021.01.13.00.08.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:26 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="aM/IyLaQ"; 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 3B5636E04B; Wed, 13 Jan 2021 08:08:16 +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 04C886E04B for ; Wed, 13 Jan 2021 08:08:15 +0000 (UTC) Received: by mail-wm1-x32c.google.com with SMTP id i63so687669wma.4 for ; Wed, 13 Jan 2021 00:08:14 -0800 (PST) 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=GxvdNrF1R3ytfMPmOtkgE2Af/C+vkAzGpGIm/SfWWGY=; b=aM/IyLaQDgZMmI9S/Vft91mXvPtknL7mM075lNY84v6jesMbWuuSZ6ra4spDo4Abh9 BG7gD8ulNfeh7oDnJONekJD0JKJ/pA5AAfcWA1b0cYkDeFS++d7JlsRrX4zyipcVql51 AW2BZrl/DU3T0Q0ymCyFSA59pVimVhosCLnqkg7vj9ws6Z/1teE4JLUCCn8m65iz+JIg DE//VEp5ySmb4ydjd9f2W/i0FCymeGPPSI0hx1JXBR/5HEHUwt+suVJkBm6AL8Zi/mxl e7AOEOL4RsxRRT4pNkECQqoL4LLJGIXe0hMMu+dppVXUZK2NaEowd40E3HTW7kTGuT3p x4Og== 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=GxvdNrF1R3ytfMPmOtkgE2Af/C+vkAzGpGIm/SfWWGY=; b=KnpOgTqbFJxZvq3Ngg5IZvxIV0Yaw19+eKlPa5JGR0ND4oK+NxBcUNmAV8UqXluiG5 BoDRIdnPYVm5kJ2qPDe4uB3t60DKXndoprTeeA6H2hExNP1JMn51u3A91Yr/njmMoWAp 3FhkmFFLvwT0KhqHZaYGCT6/COOyFFehgdTwQE9AfZWLeWzF87ScTtWPRN+Ft6QGtC+B ZFcyPiB5WNk6oBDCdevG01HRMqWhuivGUYbDy2Pi7lasR/ChAFLk7/EVDe71Cgb1kiNp TAIf7JkguiMTOJ7MstsrbMODsLWEcgltD+sQ0XMUZa/NVdQCjH35dFCCTUVA8qKnHn1n G4Nw== X-Gm-Message-State: AOAM532uuvhJx9yr19WyoNHuAWOupHSzJzL7A7T5HLnoNk/2DKOiqJlS dfBsf5Em8XXaRKnjvp1QtL5m3w== X-Received: by 2002:a1c:7217:: with SMTP id n23mr907233wmc.167.1610525293758; Wed, 13 Jan 2021 00:08:13 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:13 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 14/30] drm/amd/display/dc/dce80/Makefile: Ignore -Woverride-init warning Date: Wed, 13 Jan 2021 08:07:36 +0000 Message-Id: <20210113080752.1003793-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:29: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_8_0_sh_mask.h:9546:58: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.h:213:16: note: in expansion of macro ‘AUX_SW_DATA__AUX_SW_AUTOINCREMENT_DISABLE__SHIFT’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.h:102:2: note: in expansion of macro ‘AUX_SF’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:305:2: note: in expansion of macro ‘DCE10_AUX_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_8_0_sh_mask.h:9546:58: note: (near initialization for ‘aux_shift.AUX_SW_AUTOINCREMENT_DISABLE’) drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.h:213:16: note: in expansion of macro ‘AUX_SW_DATA__AUX_SW_AUTOINCREMENT_DISABLE__SHIFT’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.h:102:2: note: in expansion of macro ‘AUX_SF’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:305:2: note: in expansion of macro ‘DCE10_AUX_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_8_0_sh_mask.h:9545:56: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.h:213:16: note: in expansion of macro ‘AUX_SW_DATA__AUX_SW_AUTOINCREMENT_DISABLE_MASK’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.h:102:2: note: in expansion of macro ‘AUX_SF’ NB: Snipped lots for the sake of brevity 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/dce80/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/dce80/Makefile b/drivers/gpu/drm/amd/display/dc/dce80/Makefile index 666fcb2bdbba0..0a9d1a350d8bd 100644 --- a/drivers/gpu/drm/amd/display/dc/dce80/Makefile +++ b/drivers/gpu/drm/amd/display/dc/dce80/Makefile @@ -23,6 +23,8 @@ # Makefile for the 'controller' sub-component of DAL. # It provides the control and status of HW CRTC block. +CFLAGS_$(AMDDALPATH)/dc/dce80/dce80_resource.o = $(call cc-disable-warning, override-init) + DCE80 = dce80_timing_generator.o dce80_hw_sequencer.o \ dce80_resource.o From patchwork Wed Jan 13 08:07:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362051 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296936jap; Wed, 13 Jan 2021 00:08:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzjZeNqAaeTUy6yjSSKVLcCKOdR4ZfyXosB9uqcjhR73bKeO/mDb5kuHYT2e7DZ47SIHy8C X-Received: by 2002:a17:90b:11cd:: with SMTP id gv13mr859701pjb.21.1610525314119; Wed, 13 Jan 2021 00:08:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525314; cv=none; d=google.com; s=arc-20160816; b=SimKN4MekIXtl2HhgUsDEQZXCzt+bsgfak+1DVOt5ZjCF+P75kWy2nVFtuumsSKl5D jVNbs3pCBnl3xuA9plMOCpSOYi1LMepl3d3GJU8/benexvquOBrAC5pHa9K8TWK6qJh3 mSoZUL110yI6g0XeiMMP8Gm+lBl803nRRLa65K9Jvis34y7kbGWyaapAeQuIHLcy8RGc a+y6pBUcWVL9GKTt862D/LGJJWS9V/K0vQiIoh/jkqIDU2ksU9/iHjILMvg8SIbxCnhv z1ftoZ+zIKy6GD3lPVBIHfGLeMHAdVhC+HNp2KGr3k1ez2C2Wlnae7H7ws/rTPJ8HpE6 rJ2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=Xe5TGz9aTfWMrpVgmMmIDjwA26QlFNFeU4UFcvPss6A=; b=J+w8CndKZ6LLypQpW2f9mNMicVJI7qvOFhX0DwioPD1XCSc/3b0+afUmr0gG3zZqQD wuTfTb5mMeBFzKLrWw+RL14hngboJugtdgZACf1nKKN1STWG0TLE/7maR2esdw5PptaX +rEEBRFpCPWrLrBGf8ubgfEM3mV1XZ5Oj9cv6xmSAW6n+JnXkMXkdkGrGBLsN9LWG9vB 6GZR3SQpfYwFpllWC7HnpDoTZlEoA2RvWh8WZs/NwAV2nwXBKP/hrzG/G7SCRasK+KEO hY5LUPg3e6wx6QnCmYsuxN9RT/53vOYyXtk+H5azbRitdeFaWQQL4Cv/R1WMml6xI1yC 3SVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=J4u9O4Qq; 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 r30si1554043pgb.230.2021.01.13.00.08.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:34 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=J4u9O4Qq; 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 40C5B6E02A; Wed, 13 Jan 2021 08:08:23 +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 2DA006E02A for ; Wed, 13 Jan 2021 08:08:16 +0000 (UTC) Received: by mail-wm1-x32c.google.com with SMTP id c124so682044wma.5 for ; Wed, 13 Jan 2021 00:08:16 -0800 (PST) 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=YtdAaEqJ+OgUUPAXBPbeBnhYUUGO94r1mRrUVzyKNqw=; b=J4u9O4QqJw9NZ0jVvvAMdTcHDKR5DdnXk3Ob0X7W0XjXytVoKhQFQmf5V177HDeaw6 DqwzEq0kkEhGD+eaLkMORoIjCqrj+FznQMQ1+ocLIg7w8IIdKP+L2AgJH7jnt2HMLAEY AfvdBRThpE1B+QBu7eOFPYevp1TjEjyey0WgZD3O7XSAOZzsXHK+oJNH4GcVoa7ujph3 vET4kj0k272eJplJyWKqGojwAmFg/YuM4prRhb7l2cKjj8dDHFw6wqM/okNdk2Ftv/FL WePS7sAZPVPTArf/yf2wYdKCqzTeB+MyjCuzBqmZnZBDbQ3QMr5vJrvDieTyNRVTXn2d RQ9w== 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=YtdAaEqJ+OgUUPAXBPbeBnhYUUGO94r1mRrUVzyKNqw=; b=YQnrWfeyK4awjdwku5JNRnGRJHnpYmQlZulQ6onounwHzi556xwcJ3JbJuUlVWI8En TUz4ZDn8H8MejSviBk9/w8O+Hj/81z0DvjTbutGih71kK4b/WvlrfHgf7asedFun1lNM 1vlEUQCMjSxt8FOiSCQHHJ0LHfudk+95N/sbYgw1JiBBB6GVRXTxFxKroZgSzvNwcAof TjnA8v4EKhZhhFn7oDxR7HIW05bRRp30ZpMDp2MdRFIscr0Mf6OfuF8xJTsTq1GVTBOW 9pcEZbcqA7JNR87KyA1LY4M1aT1NB1DTA/H7voEONwzTNf/MrENj3VMHfPvkbhCRtmsV KHwg== X-Gm-Message-State: AOAM531B9uN1ltnRX7GIZu/yFpj9ITiZb/jLRGQN4wacQVwjJpW8o8R9 YootJ/RC6FaUPVboOT9Gkwd+Ww== X-Received: by 2002:a05:600c:4101:: with SMTP id j1mr935004wmi.55.1610525294937; Wed, 13 Jan 2021 00:08:14 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:14 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 15/30] drm/amd/display/dc/dce80/dce80_resource: Include our own header containing prototypes Date: Wed, 13 Jan 2021 08:07:37 +0000 Message-Id: <20210113080752.1003793-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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 , Anthony Koo , 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/dce80/dce80_resource.c:1126:23: warning: no previous prototype for ‘dce80_create_resource_pool’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:1325:23: warning: no previous prototype for ‘dce81_create_resource_pool’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:1520:23: warning: no previous prototype for ‘dce83_create_resource_pool’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Anthony Koo Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c b/drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c index fe5d716084363..725d92e40cd30 100644 --- a/drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c @@ -60,6 +60,8 @@ #include "dce/dce_i2c.h" /* TODO remove this include */ +#include "dce80_resource.h" + #ifndef mmMC_HUB_RDREQ_DMIF_LIMIT #include "gmc/gmc_7_1_d.h" #include "gmc/gmc_7_1_sh_mask.h" From patchwork Wed Jan 13 08:07:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362052 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296963jap; Wed, 13 Jan 2021 00:08:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJyLi8sEfa15ULwDxf58LKjOWZdqSxnfLWJ1nmR1tyRQn4TvC2KIbijduhCFhvcsTlcolk/3 X-Received: by 2002:a17:90a:e00f:: with SMTP id u15mr1089872pjy.88.1610525315749; Wed, 13 Jan 2021 00:08:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525315; cv=none; d=google.com; s=arc-20160816; b=fpvfvFo7PvosIjhJD/yRVR7CSV/7xNQNzLzILhWyAnKjvcub3lj12JuoccPiJckMTt 6heaafT3XQ3kg059KF2xwANklcY1WyoGljOxM/1F5sHN/2OXeOCvyv6WWe4aTTiSNsr0 v1sZJnmJr5NeMLKj+49yZq8BbI6TryPEA2/SSo1tsZtwy9RxPc550dNEBMvVOz41WkvX vUJFwFojMLbcG9vVi3QwDjQLpSYpw/Qop2bItmiQsvgBAk4Ppr0HvqyAl5fafZzErndx Tnf8wTnhJRVZUFE9JhzHRKqdlN1/3iqYblFc4I8BfmoCM/qmqVdsvb/Q6Br+W64AKy4c Fvaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=dzjuDBYbcZVuinCeVlmv8oCRhfPblY3XQ3gFKXI37/M=; b=jF9R8WSJhWTuI7I4FoFTbhdrEibzoaokYzUQs6N+mlmVWM+YJleiETEIQCZM8rGy56 Fkg9GWVvoLaZpm5BY2aRvPHcpH+Sg2Rb5b7gbGjl0FHib6SIP3U518NWxGYHyOzUqT/M fTEwTI3GHpHPUp0mNvutqqQg4ZlsW3pDvrU/U3bZCwMqOkmwQFyzoxvjZ+9sXv0ycP41 9nqtb9tq+kVhFFzpM1NFPw3QLyILDL3yPVm812JlJTQWsQtNEkSvkWjKm3/oTZIr65K3 gQv6JzSBMK39EZGdXQPOUOJ4zEQvJ+UQM9VkUcaxMuxFj/uPZv4rUjXtBC0exe5gJgJQ 8y9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=n6S7Vkl2; 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 u2si1564534pgj.333.2021.01.13.00.08.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:35 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=n6S7Vkl2; 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 8087A6E082; Wed, 13 Jan 2021 08:08:23 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4D9016E02A for ; Wed, 13 Jan 2021 08:08:18 +0000 (UTC) Received: by mail-wm1-x32a.google.com with SMTP id h17so507156wmq.1 for ; Wed, 13 Jan 2021 00:08:18 -0800 (PST) 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=FTigNPeS/IwSagktS00zXkb22HHBlzIFn5zlD1QSHzM=; b=n6S7Vkl2P8d/J1RWp7DDnLNoAWE8q8q/iQ1eFDk78lGCA2jU8tYfFMOj3EK88HD7y+ atlM/WLoghnXazFqOq193WFu8mWtuGXRtoEHJUsKfpHnXnt1uIpqniOk/8FxNdi/5gVo JfuVm9hUCwelRLJgc09OfR0VPt3La+9m3YQy3/jCfh1veevr/12V6HkoeEeBwpTcVj2w L0vtwHCJd4SJmYkD0yS0gyBk8farkblBEZV5T2pZIMRXA5iWwwMgnF9yR1ry3KQs/SnG GPOkYtgIiY1c8073S6k9lSqsftqIE0H4g95wfNzXFcl/JzXsknpPIflktoXVrbY/lVWD 4E0A== 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=FTigNPeS/IwSagktS00zXkb22HHBlzIFn5zlD1QSHzM=; b=AvALhVyYCWSquRUWHDRXM4fc5EofdhItBLiWTT0t2ikyxy54HPAquSmxAEio0nOVuT Mw+5iTlyu0kzNF71fnWw+TyRSaAcYw55F5AE7eZtnpi8FfpCrdlYB8de3pif9jVDQDkO vMy7z1kAfayKUEzqmvxM/EYUCwbj0JY60L7pBn6zh4J1V+rv/9rGty72hVo3/xvyzcv+ 4vFv80FfWfRlSkMH4+6uaZFH4LjUQlQld12UjGmntA94D95TL5CnFEHPnxSbNMp1aSTd YTKqBDyphJhGrcmxbod+NGTHlU9X1OCRL/9eLpK3d6UgWHhmJj9cVDng6zIebJhF28hL afCw== X-Gm-Message-State: AOAM533cX13qP7wAAltzj3cIPsAquITBpZdF4kOeZ/HmEq5HA6AbtEMq tGOPPUW8YfgXXcNHhEfeiBgiPw== X-Received: by 2002:a1c:1bcd:: with SMTP id b196mr959231wmb.70.1610525297006; Wed, 13 Jan 2021 00:08:17 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:16 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 17/30] drm/amd/display/dc/dce60/dce60_resource: Include our own header containing prototypes Date: Wed, 13 Jan 2021 08:07:39 +0000 Message-Id: <20210113080752.1003793-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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/dc/dce60/dce60_resource.c:1115:23: warning: no previous prototype for ‘dce60_create_resource_pool’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:1312:23: warning: no previous prototype for ‘dce61_create_resource_pool’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:1505:23: warning: no previous prototype for ‘dce64_create_resource_pool’ [-Wmissing-prototypes] 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/dce60/dce60_resource.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c b/drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c index 64f4a0da146bf..dcfa0a3efa00d 100644 --- a/drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c @@ -60,6 +60,8 @@ #include "dce/dce_i2c.h" /* TODO remove this include */ +#include "dce60_resource.h" + #ifndef mmMC_HUB_RDREQ_DMIF_LIMIT #include "gmc/gmc_6_0_d.h" #include "gmc/gmc_6_0_sh_mask.h" From patchwork Wed Jan 13 08:07:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362049 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296913jap; Wed, 13 Jan 2021 00:08:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJweTbuTXNTZfMQe/YKsiD0v2sUciCMISsLrn/FW0ZtBw8v6bZ/AduCvUPpUvcN5V+PwSW+O X-Received: by 2002:a17:90a:db4e:: with SMTP id u14mr1026419pjx.184.1610525311046; Wed, 13 Jan 2021 00:08:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525311; cv=none; d=google.com; s=arc-20160816; b=zpYQWxfcoiLq5N+p4wWaOHOuOXD1JwyfzNyMQvNFK3PzQk0KynH28+2YGmeimoLDUL 7UIPwTzY3hyLieHJg6bitxR5PRsrelnI28tpq2UHg8+ug3hP12iWoz+r8xLe3k/66inx BwKCpdoFpHmetSjUc4Lv4kWXa7R2r4G2g+eh6t/5Dq96g9BWT2Jj20Ea0E71RSDSxOXE wOpCrHRgw9q549I1W6rNibEE3H+iQF0XHXVjfsUMzPhPdBC00L2LvmNw63Lsn0EsUVoV RrjRo9Eu77tZks/NxHnUAYH+85f7WhkobOkHm8R90WM0sMkmFDoMcO+AUG0Q6wrwsZBG 42tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=eY07xtWygY+Z833jibfgCJbaXgKSE76hM0mRAzXXMDM=; b=pSWoecDNAkUImB+HkUPy+kMuli4FFgpyIZK1txHBBYpj9Ve4k+EecmdbdgeBqG4LPr S7dw7Id9hYezE9k9cWY09x26G0h+t+Lotr2RgojtCYvAyu6MkCblMZKDhxSRGdXxBOEw ksU9hZQfkNWHmH4RjV3YJdTdMG7VPVFQAp9ZNeVEo2gYkhHFCnPIz9WbS309fwVSjD5D LuuGPyiTmD3aecIK/KBU7vm2aGCvmcyhQIiGNQvHz7QN40rCG0Iiddp6FBf3wuZ6gOlM qjk0GmCLOkCiVOhfF0so9o1YB/BJdMBU99Tw0QaksDTMYGn3mk2JOne/IkYk2g2rUwVN +O6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TY9K9YP3; 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 b24si1389195pgl.251.2021.01.13.00.08.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:31 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TY9K9YP3; 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 DD6F66E061; Wed, 13 Jan 2021 08:08:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7E1CB6E06D for ; Wed, 13 Jan 2021 08:08:19 +0000 (UTC) Received: by mail-wm1-x32d.google.com with SMTP id r4so708461wmh.5 for ; Wed, 13 Jan 2021 00:08:19 -0800 (PST) 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=UzSVTfnGeF4QxtWxeHYTIcFMIY4s6ebauA3+cdnRC38=; b=TY9K9YP3KeN4jJ31pGivkq0dF1YT54ldZJqLn6MYgdukuVkCp1zu+y0mPY6lahL/cy 1RZcx437IV0+wAEUKVyLgcGDYpTDNEL1Ppn0vXUncrWgNbXQ1NAXE1SAV8ys9N81RnYq L80CoeEUDBznRtSXNf5aVJiLBgu/M3NW5YWML2KRwTpalTbHmI2lrvEOUNFIZGcJmyVN AN22iAp7L+Z2f5Prz8MYydOsJDYBrFjKJ6ueQI3EeMHXH6x5NltDhYkzPnWAsnjVgG1m 3f+UnLYOmmG+9ZtdtXLtJus/mi94hGo7N9uqHpmNiDUIXrk0xJ0Ap+OMgc5sowuOA4BC Xa9A== 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=UzSVTfnGeF4QxtWxeHYTIcFMIY4s6ebauA3+cdnRC38=; b=Wlxq7uSDxJD1uUnWOkeB3ijvJGS7qTB5tNsmOv55TBxVF4mUaFoNf6ZL33sApfJyUx dpphNPCZVkeoOhV7JC8nBCA1vQ1IKDp5V1rtXuycNZmxhS1vQCekjqbsjltEAzAT73t4 ydG1sMRQSOElmdUjqgutF3bph5eYb4jazIIrg+9L/1EjITUp9cxw5/cxcsJOirYJxq+r Eh6/hBAvKj2o0RIhqf0YJGxR3opdLtCdZtYSrvo0vB0aNcgJMQhYItZwMJY9E1nD8/Y/ Wv4Yml0euzqrdozfVQfJ1vn8WBjpbdjb7omqrQ/ubZNTu70p87PJwnGpVUhIp2o3W3uL 4SuQ== X-Gm-Message-State: AOAM532pa7xuKDhxn7PDrlmXXxkaiA0G6bjMBu2v/85K4gH8IcEMXILa szcHT3gqcHWHENlkK/BjHvSz0XX3aHcpi4KR X-Received: by 2002:a1c:9d8b:: with SMTP id g133mr939751wme.189.1610525298154; Wed, 13 Jan 2021 00:08:18 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:17 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 18/30] drm/amd/display/dc/core/dc_link: Move some local data from the stack to the heap Date: Wed, 13 Jan 2021 08:07:40 +0000 Message-Id: <20210113080752.1003793-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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_link.c: In function ‘dc_link_construct’: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1588:1: warning: the frame size of 1176 bytes is larger than 1024 bytes [-Wframe-larger-than=] 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_link.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c index 8ccda8b9ac2eb..3366a49f11dc7 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -1364,13 +1364,17 @@ static bool dc_link_construct(struct dc_link *link, struct dc_context *dc_ctx = init_params->ctx; struct encoder_init_data enc_init_data = { 0 }; struct panel_cntl_init_data panel_cntl_init_data = { 0 }; - struct integrated_info info = {{{ 0 }}}; + struct integrated_info *info; struct dc_bios *bios = init_params->dc->ctx->dc_bios; const struct dc_vbios_funcs *bp_funcs = bios->funcs; struct bp_disp_connector_caps_info disp_connect_caps_info = { 0 }; DC_LOGGER_INIT(dc_ctx->logger); + info = kzalloc(sizeof(info), GFP_KERNEL); + if (!info) + goto create_fail; + link->irq_source_hpd = DC_IRQ_SOURCE_INVALID; link->irq_source_hpd_rx = DC_IRQ_SOURCE_INVALID; @@ -1532,12 +1536,12 @@ static bool dc_link_construct(struct dc_link *link, } if (bios->integrated_info) - info = *bios->integrated_info; + memcpy(info, bios->integrated_info, sizeof(*info)); /* Look for channel mapping corresponding to connector and device tag */ for (i = 0; i < MAX_NUMBER_OF_EXT_DISPLAY_PATH; i++) { struct external_display_path *path = - &info.ext_disp_conn_info.path[i]; + &info->ext_disp_conn_info.path[i]; if (path->device_connector_id.enum_id == link->link_id.enum_id && path->device_connector_id.id == link->link_id.id && @@ -1584,6 +1588,8 @@ static bool dc_link_construct(struct dc_link *link, link->hpd_gpio = NULL; } + kfree(info); + return false; } From patchwork Wed Jan 13 08:07:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362050 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296924jap; Wed, 13 Jan 2021 00:08:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJxRmB++Mb25jGH2y/ZEaZlIoPsET/C9Y2pD3M3no81ONGvks7bfEqgpsLsWAZMEm5wc0sfx X-Received: by 2002:a17:90a:14e2:: with SMTP id k89mr758995pja.168.1610525312240; Wed, 13 Jan 2021 00:08:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525312; cv=none; d=google.com; s=arc-20160816; b=wOzGfcg0jc6WkNHYNIxiaLH5MaTQarFeSz7IxZjd2KA8qbVqpUeZxDZW4y/Vw5fok2 k7gdOUa2WKr7hH3vBjvi6bHexfjIeNgmsTdSqNwPuCTNcnWQFwGVnysWxJGCe6ZiHSa3 +lSvcTCzMdl40HfB3+DpJoSmUn7MGUG019SKSAExn85/ta4156eXEShldMttIYa80uB0 AF+fuFZptTc8lrHSA7f666P1ExeZi/ez0anxeAqmaoWqFgf8ylvm5s3O0PQp8bukmeRD FrxoBXgUpqjSMC7nBYfXxsLEW4qi4G58P4FgW/VkKSbnuOb4fXI9wnQ9KyzwQO+6woUD UFYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=n5tjnU1I00v4K6nq8clWuZBzgs/nOD7l2E8N0fjNfC4=; b=ZefEu0AubWb6Ens8hWOlK+mXLcZ7ByLDVkoRuSM+NvNCOh72QJbx9jCgyJPUMRmQQe Zo5rqhXwla38z0qAMGaUf5XNPF6b4m00I+7FHSzvJs/HGKtXNnMvV3URoQkDk34rqlOx FwQin/ugnLV3fbHg12lp6zU4EIWrJHkO+gWRA7KLTpRysan7FygkT7J6MttmLjSz2QLb AHEe2X8bsrKvxB908HqkdTBebHNFSVYnsEqcrC71FzKr2+Mwy3OJUskIjG1KMe1VOoHc Lan6Ud8BevGU4Sh1l9joosK0VQ3zdBZBDCmosB5lVLOnjKg7VPdsBjmrtZGyznPlCqj8 jYCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ix8nCYPN; 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 s16si1499485plp.21.2021.01.13.00.08.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:32 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ix8nCYPN; 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 70B066E07F; Wed, 13 Jan 2021 08:08:23 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by gabe.freedesktop.org (Postfix) with ESMTPS id EDA0189FF9 for ; Wed, 13 Jan 2021 08:08:20 +0000 (UTC) Received: by mail-wr1-x432.google.com with SMTP id c5so1067030wrp.6 for ; Wed, 13 Jan 2021 00:08:20 -0800 (PST) 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=r8/kdy25+oZx/uNDbhJDkZDT1TyOhQzo6tdoqzLeeYY=; b=Ix8nCYPNU/XT2iKvtKsMgQ6u2nvUKoXhtnv93uPzBrkS2d2uGV9+bwSpITZtp9gTQs 0eqF5B+SFLW4DK9OrR2pzTeYuDKm+kIBaAYJpZjEJ4Y60fTOnEA/W7vsFFF3JmS9GRXz A9o9oFjFuWv/yFFb0kdM7jhQQi9YR4MaeugPWUKowTlo0ntyIEa8DV4a1wcRqNptjmHz 5e2If+kl8VfjN/gxc9yfWSeHE1qug+jcQpHuWcM8USdkbvsDlYIeCK3bKtJgW5/FhYeJ HSLlIG1NpoNr7yhYIIrqePDccEjCRRt6lWY86cwGYSf8HUsXUIUxfNsun6Wxtf2b9ShN 4iHg== 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=r8/kdy25+oZx/uNDbhJDkZDT1TyOhQzo6tdoqzLeeYY=; b=PTZPxC/MFNpezIF60h4G9cUE0cj0xX3ySO3InXZNi097p0wXM3+KTIhKno2IjVZaw0 RWoIsuBv52qTg9OzX9AwSD0vDBNjPN/+Gom7xNbcaZ0KKdi7tYptu6VSXvsdCz5UMFCh 2JhSfB6UpmpnxRQ5ypbKj6L8BixxpqxN6xf1eRp3Iytt7cptnAWozFANSDHvljqK8OO2 9wa0ymbAaK37irtHS4Spwjyxzm6piOrqY9PFKmiYDaI4ZMMaill7mTOzHFxkCc3EgKdZ HcCwmsL37M7WzxilsFPfxgR2nx9n0ugvGV+08Mr8Z0nk6uC2ykpsGGLn2hVil364JPOu 41rQ== X-Gm-Message-State: AOAM531tQrPv9Jdr20OlDfPIw/COrBDVjpGpvwsMDy1m3HoL+MM4tApf 7wrWT9ggvNfotLzInlgle1j/A092D8bRdRsD X-Received: by 2002:a5d:4905:: with SMTP id x5mr1178774wrq.75.1610525299664; Wed, 13 Jan 2021 00:08:19 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:18 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 19/30] drm/amd/display/dc/core/dc_link_dp: Mark 'result_write_min_hblank' as __maybe_unused Date: Wed, 13 Jan 2021 08:07:41 +0000 Message-Id: <20210113080752.1003793-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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" It looks like it could be used inside the DC_TRACE_LEVEL_MESSAGE() macro. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c: In function ‘dpcd_set_source_specific_data’: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:4403:18: warning: variable ‘result_write_min_hblank’ set but not used [-Wunused-but-set-variable] 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_link_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c index 3c33b8fe218e5..b9e5e0eee3d24 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c @@ -4400,7 +4400,7 @@ void dp_set_fec_enable(struct dc_link *link, bool enable) void dpcd_set_source_specific_data(struct dc_link *link) { if (!link->dc->vendor_signature.is_valid) { - enum dc_status result_write_min_hblank = DC_NOT_SUPPORTED; + enum dc_status __maybe_unused result_write_min_hblank = DC_NOT_SUPPORTED; struct dpcd_amd_signature amd_signature; amd_signature.AMD_IEEE_TxSignature_byte1 = 0x0; amd_signature.AMD_IEEE_TxSignature_byte2 = 0x0; From patchwork Wed Jan 13 08:07:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362053 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296978jap; Wed, 13 Jan 2021 00:08:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJxNYF7e2MlqxHizGQNe9PvsS28t+6IJEGDBAkZZb5egBtdU/McJEbpgA1AMgHX3vAc0axvd X-Received: by 2002:a17:90a:4606:: with SMTP id w6mr1043420pjg.172.1610525316498; Wed, 13 Jan 2021 00:08:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525316; cv=none; d=google.com; s=arc-20160816; b=yJiVIG0pRrWpeNTnmhrtpYslnvXrdMQSPrtQODe3Wc+XXdv4VkwXuYZht091yoWxgA g7KImwW/4RcCj0DrCnqdQ6icMTZIepoYB09MHA6j/S0Vz5Krtt4NVQFlmHjHyM7CTkjM MZV1HMX27p4X+4hjlBjEIMEk5cwt4ul6Oe1LXzXKFxLzznV462nMg1E9YLUDtm1K+T4Y iNtC4wjxFfnHXG5pQBk8BQYZoMPIYjv68g9JHjobM70B9emnaRkMXVPqcBrm/7uNxTLf rtiuY4wyLPfnJsYEEiHPTvEB2TXmYbASDZp4EbxWLozpRfTYACKNmFMZ/AEIdFswcq7L c7XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=u/6Bj3tG4M+dZ4E2HY4El1jUS6EgWAHCR7ui/0Qsz8M=; b=IJVjDWRatq5iaqaHgKezzEhQHP7vcp1EfgvacHSEnlUsJUqWXvvRoBizs7xo8ZwEWz W9g1ius3GkHElVBoY23rTaxlU3H9y5eUT2qPsiznHAdez5BS2b8xaU6+7WC4Urw5lfvH lGZXkLpCA28smM1rwOhLBa1vzKt4l/Dr0oqZNrw21IMXvLNjhZhyKUqy2cLy3/60o6Fh ZJaf7wpEk8TYQasLcTrIMK9WoIN0U2zmPauNQxq8V65O1Kmh6owGccMNTD5B75VW1iu7 PrHQpRA4+YLfLIXqMCPvKoX4VFlAWSoVHHQzlLD0hfauDuqgiieMqj0VUmTw5VY+kMaR illg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=lbwRgZbP; 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 z12si1670218pgu.300.2021.01.13.00.08.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:36 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=lbwRgZbP; 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 C2E806E096; Wed, 13 Jan 2021 08:08:23 +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 301376E072 for ; Wed, 13 Jan 2021 08:08:22 +0000 (UTC) Received: by mail-wm1-x332.google.com with SMTP id r4so708542wmh.5 for ; Wed, 13 Jan 2021 00:08:22 -0800 (PST) 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=VziGpla9CXHb4VzE3DuAR1EazcEsD8QPraycH5WIRSc=; b=lbwRgZbP9xaz0MoRQPGeYDTj8v589eA7dm1Uy37pKQvTgix70bV95WKhysILiuhLnr X/IoChmCmepg3Tbx6LBfkVnmlA/RIM3EDMVJg6T6ruPjY9yrvrXGCQoIcVZ79tfE/PWs 4mkUE3DUsymzBsrpRsCDU8Ktu/0DRUcZB9cV6wI8WNYkv3jWMtC+G82lGGz0vfMkCTXA SEPQWMlKrKAjiJE99bhtRYwTyXkG5ysCP9oab4bXxelwOBTv1Lkp+MZwXAQXp0OXGudT SubAZ8iP8LxkxI3TwbnIGfiW2Ph5h0UUDSWVr/Qdms1Ey8M2CHepKkGIWyaUTelpM+H3 GUDw== 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=VziGpla9CXHb4VzE3DuAR1EazcEsD8QPraycH5WIRSc=; b=nGvvnVX2tB+b5uEXJw0SOb7dROF4c7zqfJ3CqOskdlcrEqsZXkDQtG7GFXXHzGGOJc eaE8w8ghBLW40JFOLT4voN5T02dSGRrlb2ieTEMoAg5kU1urREsYEuJ3qVGTyUx/Q4X4 6hDCmB8jaLsaHS830eLnYHIENULqpM6FWwxgGfpNxXE/6gY/tYAwT1tLGEZ1Qgnl+yLJ ITPGY5oilG4+lXaaY4hDhi5J1RQxfm13Buyo83tmVWfdvgoN9KQY6ikkbNGUgiX/o+1S i+li4G5SU9Xp+WpMnNXAwn+CBo3KTzI+blTv334GuwY6JvZliDFTYvbjwskfNxGTZyZt 5gyQ== X-Gm-Message-State: AOAM531u8P/Ks264xHxxJR+dzQGNybv+HDRbjbxZsh3FEo6QpAW9QyQI Pq29za5Fw/YWwEM8Mm/4grhn/g== X-Received: by 2002:a1c:6402:: with SMTP id y2mr923252wmb.43.1610525300839; Wed, 13 Jan 2021 00:08:20 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:20 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 20/30] drm/amd/display/dc/core/dc: Fix a bunch of documentation misdemeanours Date: Wed, 13 Jan 2021 08:07:42 +0000 Message-Id: <20210113080752.1003793-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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:287: warning: Cannot understand ***************************************************************************** drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:366: warning: Function parameter or member 'crc_window' not described in 'dc_stream_configure_crc' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:430: warning: Function parameter or member 'r_cr' not described in 'dc_stream_get_crc' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:430: warning: Function parameter or member 'g_y' not described in 'dc_stream_get_crc' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:430: warning: Function parameter or member 'b_cb' not described in 'dc_stream_get_crc' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2026: warning: Function parameter or member 'dc' not described in 'dc_check_update_surfaces_for_stream' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2026: warning: Function parameter or member 'updates' not described in 'dc_check_update_surfaces_for_stream' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2026: warning: Function parameter or member 'surface_count' not described in 'dc_check_update_surfaces_for_stream' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2026: warning: Function parameter or member 'stream_update' not described in 'dc_check_update_surfaces_for_stream' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2026: warning: Function parameter or member 'stream_status' not described in 'dc_check_update_surfaces_for_stream' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2822: warning: Function parameter or member 'dc' not described in 'dc_interrupt_set' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2822: warning: Function parameter or member 'src' not described in 'dc_interrupt_set' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2822: warning: Function parameter or member 'enable' not described in 'dc_interrupt_set' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2962: warning: Function parameter or member 'link' not described in 'dc_link_add_remote_sink' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2962: warning: Function parameter or member 'edid' not described in 'dc_link_add_remote_sink' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2962: warning: Function parameter or member 'len' not described in 'dc_link_add_remote_sink' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2962: warning: Function parameter or member 'init_data' not described in 'dc_link_add_remote_sink' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3022: warning: Function parameter or member 'link' not described in 'dc_link_remove_remote_sink' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3022: warning: Function parameter or member 'sink' not described in 'dc_link_remove_remote_sink' 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 | 33 ++++++++++++------------ 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 0a07e608485ff..3ee3978fae977 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -284,20 +284,16 @@ static void dc_perf_trace_destroy(struct dc_perf_trace **perf_trace) } /** - ***************************************************************************** - * Function: dc_stream_adjust_vmin_vmax + * dc_stream_adjust_vmin_vmax: * - * @brief - * Looks up the pipe context of dc_stream_state and updates the - * vertical_total_min and vertical_total_max of the DRR, Dynamic Refresh - * Rate, which is a power-saving feature that targets reducing panel - * refresh rate while the screen is static + * Looks up the pipe context of dc_stream_state and updates the + * vertical_total_min and vertical_total_max of the DRR, Dynamic Refresh + * Rate, which is a power-saving feature that targets reducing panel + * refresh rate while the screen is static * - * @param [in] dc: dc reference - * @param [in] stream: Initial dc stream state - * @param [in] adjust: Updated parameters for vertical_total_min and - * vertical_total_max - ***************************************************************************** + * @dc: dc reference + * @stream: Initial dc stream state + * @adjust: Updated parameters for vertical_total_min and vertical_total_max */ bool dc_stream_adjust_vmin_vmax(struct dc *dc, struct dc_stream_state *stream, @@ -355,6 +351,7 @@ bool dc_stream_get_crtc_position(struct dc *dc, * @dc: DC Object * @stream: The stream to configure CRC on. * @enable: Enable CRC if true, disable otherwise. + * @crc_window: CRC window (x/y start/end) information * @continuous: Capture CRC on every frame if true. Otherwise, only capture * once. * @@ -420,7 +417,9 @@ bool dc_stream_configure_crc(struct dc *dc, struct dc_stream_state *stream, * dc_stream_get_crc() - Get CRC values for the given stream. * @dc: DC object * @stream: The DC stream state of the stream to get CRCs from. - * @r_cr, g_y, b_cb: CRC values for the three channels are stored here. + * @r_cr: CRC value for the first of the 3 channels stored here. + * @g_y: CRC value for the second of the 3 channels stored here. + * @b_cb: CRC value for the third of the 3 channels stored here. * * dc_stream_configure_crc needs to be called beforehand to enable CRCs. * Return false if stream is not found, or if CRCs are not enabled. @@ -2012,7 +2011,7 @@ static enum surface_update_type check_update_surfaces_for_stream( return overall_type; } -/** +/* * dc_check_update_surfaces_for_stream() - Determine update type (fast, med, or full) * * See :c:type:`enum surface_update_type ` for explanation of update types @@ -2815,7 +2814,7 @@ enum dc_irq_source dc_interrupt_to_irq_source( return dal_irq_service_to_irq_source(dc->res_pool->irqs, src_id, ext_id); } -/** +/* * dc_interrupt_set() - Enable/disable an AMD hw interrupt source */ bool dc_interrupt_set(struct dc *dc, enum dc_irq_source src, bool enable) @@ -2949,7 +2948,7 @@ static bool link_add_remote_sink_helper(struct dc_link *dc_link, struct dc_sink return true; } -/** +/* * dc_link_add_remote_sink() - Create a sink and attach it to an existing link * * EDID length is in bytes @@ -3012,7 +3011,7 @@ struct dc_sink *dc_link_add_remote_sink( return NULL; } -/** +/* * dc_link_remove_remote_sink() - Remove a remote sink from a dc_link * * Note that this just removes the struct dc_sink - it doesn't From patchwork Wed Jan 13 08:07:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362059 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp297074jap; Wed, 13 Jan 2021 00:08:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJyukEG8d5DCkundoMOGliT/etvp1RXioX/Vy2us6Qhx3SoLAKxS0mt6mylboknZD7oiVKkZ X-Received: by 2002:aa7:8159:0:b029:1a5:54e4:7cf2 with SMTP id d25-20020aa781590000b02901a554e47cf2mr929814pfn.69.1610525325428; Wed, 13 Jan 2021 00:08:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525325; cv=none; d=google.com; s=arc-20160816; b=j9M0bs2UxwWh4PkdO8E4PuBDyIJYDsPuc7Aoc6bmJddszeHPqOClaC5KgV5pRJLMca tc3a845ofK3Sf5MA3xrQyLLxue2fSqRKBe2ulghVdPdicAiJ6iGt6sB0xnWjoSq5TOa+ sa/iCD0Z1rVjRWl+UX2l6q6favi3OCKInlJC0fXFxr5Ggj11BWoOzRnhFo2gAmNDJyOM FGy1RrhVtRM87jVDLGoU2Ejh+ovdr9ikQ9a6svO1tfXJwOu6o8VLLTec9pNUe5nzGKU5 sd2ZNuquLjoEmoEDSGgWYXdpdjCNw7QbMkjc00ITNR7jEoJ4Ke9hf7T/5bwuHQy/hDdO 7IFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=j0glKEOIrW/ystIGPgiFlthvFi7gF1GAZjtCx+kUOPc=; b=Rn6f1ly+weLwg5MZyGHlx5elxfUm9IwHmRZzRT8ZH1uJxOmpXAmhCNEa4fhVVI9LYO Lii4q+ujHQL3bcGS3mt9kowPfjzUyEareWVb8Jxy2bJW6jJRvUC0hI+IY6vzUdtG+dS5 WwlWJ7LE2yc8bwNJqusLr3tkvwohir6tl+QoOD0EmxE/83o/7fk9bjpN7I+vN+DXpXix RKX8mPNc+l8I6YIQvW3GQaJKeqY8ZOGOFLMf9Jv2HBI3WH1DvQZD9dChxDifJq4IJGzV bWE2/psae/sCemGVkibKdzEkdtePUu/OL7INEuKYEAHHCzODhj0pT7CiSkhy8fJfKTSA luRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=bAWrASxC; 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 22si1432985pfc.244.2021.01.13.00.08.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:45 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=bAWrASxC; 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 0136E6E07D; Wed, 13 Jan 2021 08:08:35 +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 57D9E6E06D for ; Wed, 13 Jan 2021 08:08:23 +0000 (UTC) Received: by mail-wm1-x330.google.com with SMTP id 3so711447wmg.4 for ; Wed, 13 Jan 2021 00:08:23 -0800 (PST) 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=alsh2XeMyr5vVnQexuCbyQHtivN65vIRA5rbHXO573w=; b=bAWrASxCiSIxj1El5h8krkYAGtj0IJjK+lCYw0nH5o2RjfHSgk0ZHTDO0HIz8u/tqc Q/APpYWn63o0iJIf3VvsgVszi1UJDVp9kK+p4Bcn9IwiCgpyWVunbd6MWRzkutYwWb2j EcU241Y6oQ5yZNLZqU7V6b13PA4HA1e5MutVOp3LXmfPXW1aV4VrKR03ORye61hY7xcl usBFwyWj28mKQb8w1sENpWdtj3EFbWU0s2qEl5ny4VZ7Oihw5ARTXm048YH4vYG7NEm1 DVN6XvyP3lPeEIuw5M2Kcb5OAc0MkJIgsW4iS9ejHvm79tCm9F/vYlBU4Qogue5t2gMB JSkw== 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=alsh2XeMyr5vVnQexuCbyQHtivN65vIRA5rbHXO573w=; b=Kn60nS2mBguRfXC3zYPrKCIxzxAuNHKpuk3c04SIw9ITsI6HMZ8mmeXuloWql6O7MK ApZE97RLqQSnd0dWUprOCmXsh9WIWFQaasDr//BTZ8H3Jwa7WJtaFhe07mtQo8ETg+U4 MSkYwE9ACfJIxqOHljaqcjrN3/QkkPu9BVmSFUFmEOoI6paz7qBNyV97HKUElON5gjpw HXCfnqXApBTSWuZIoxr4EJWo3w9CfQVUOTeSNmYqVQg1JPW6iXsF6lauW/gniO6YV47j +S1sJT9axtLtzkVf7lK+x3gWnnpu23zzpFOdpuwGRYbz2FwU27+ngSbTW8/V9W1RbgCY Zz6Q== X-Gm-Message-State: AOAM530yvfo0JYAosQgOqbUWOkAIlX1CH0zRYULatKOn7S5UhYOIkQCH 9LJsnm0yua2XnBUZuy1bW6jXdg== X-Received: by 2002:a7b:c92b:: with SMTP id h11mr941802wml.99.1610525302047; Wed, 13 Jan 2021 00:08:22 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:21 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 21/30] drm/amd/display/dc/core/dc_resource: Demote some kernel-doc abuses Date: Wed, 13 Jan 2021 08:07:43 +0000 Message-Id: <20210113080752.1003793-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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_resource.c:1710: warning: Function parameter or member 'old_stream' not described in 'dc_is_stream_unchanged' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1710: warning: Function parameter or member 'stream' not described in 'dc_is_stream_unchanged' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1726: warning: Function parameter or member 'old_stream' not described in 'dc_is_stream_scaling_unchanged' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1726: warning: Function parameter or member 'stream' not described in 'dc_is_stream_scaling_unchanged' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1843: warning: Function parameter or member 'dc' not described in 'dc_add_stream_to_ctx' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1843: warning: Function parameter or member 'new_ctx' not described in 'dc_add_stream_to_ctx' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1843: warning: Function parameter or member 'stream' not described in 'dc_add_stream_to_ctx' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1870: warning: Function parameter or member 'dc' not described in 'dc_remove_stream_from_ctx' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1870: warning: Function parameter or member 'new_ctx' not described in 'dc_remove_stream_from_ctx' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1870: warning: Function parameter or member 'stream' not described in 'dc_remove_stream_from_ctx' 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_resource.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c index d423092c45dcd..185412d0c1429 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c @@ -1697,7 +1697,7 @@ static bool are_stream_backends_same( return true; } -/** +/* * dc_is_stream_unchanged() - Compare two stream states for equivalence. * * Checks if there a difference between the two states @@ -1718,7 +1718,7 @@ bool dc_is_stream_unchanged( return true; } -/** +/* * dc_is_stream_scaling_unchanged() - Compare scaling rectangles of two streams. */ bool dc_is_stream_scaling_unchanged( @@ -1833,7 +1833,7 @@ static struct audio *find_first_free_audio( return 0; } -/** +/* * dc_add_stream_to_ctx() - Add a new dc_stream_state to a dc_state. */ enum dc_status dc_add_stream_to_ctx( @@ -1860,7 +1860,7 @@ enum dc_status dc_add_stream_to_ctx( return res; } -/** +/* * dc_remove_stream_from_ctx() - Remove a stream from a dc_state. */ enum dc_status dc_remove_stream_from_ctx( From patchwork Wed Jan 13 08:07:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362055 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp297022jap; Wed, 13 Jan 2021 00:08:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxaQEQbYTfA8NXefsOoDxQZcQPJWKVBGEnTMzVVKHipBHlyIkvof7zg7cDOt/SgX6RWawMo X-Received: by 2002:a17:902:7d88:b029:db:7aa4:864c with SMTP id a8-20020a1709027d88b02900db7aa4864cmr1114594plm.34.1610525319991; Wed, 13 Jan 2021 00:08:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525319; cv=none; d=google.com; s=arc-20160816; b=K2rEPH9ncdRoL01QYLo7/TZFbirtZQ+SpXrflbShUBR2zxjGy+nrbA5CduArBcB0BM vWJ/p8zYP+JnfECRAipnOh3QCEiYQhtWDh5udCd4YYCFniJEd/KJMjptqc5/sXgSYNI2 wAdImqOuS64uJosXsNILsfqwN7r01eex2lYjwctGeh72ir9GW9dZ4DwMEQs1Gv9p4/Po BqejST8I1pACD1vC2BWyHGLOHMYOxKX79MllAoMXY/Od8wx/VZH/fUMU3kWWXru/fafa JbzZPV4FBhvkyyW3rhXTk8ykVX7j5+NT4pvdOa4OnV856x5P/WIif75KQ/1+aMWyBg7x 72kQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=N7lRMbKq6J5OhEMs2obKFuUk8hma1twulqVG5sxnVeQ=; b=t2ie307s+lPwB95oVWUGrPO+Lr2x9S+yy+nZWt4X896aBuebu42LlrDUDmgpbA4QMD yFWX7UJ0zsal7iUvP+Q/c/jvzJpOq2wbinGkGiGGu27QE7Q59nMN2VvjQXQ+TnTaewgv P9vYosxTqaTcnK8Oi5xfgKpDxdVJITcrjQ8EDNDou6a2WCPucmzEwFdYXyG1mCfUIEFg iVEQ1kZQWSH4ThjzRB66WFUNtMNczCZxlgBG69k7Whvt9mHwxmtmUofvl6BrN6ct93KO q6cCyUeh+1m5hxBdsMBdin9aEhDIeE8txWW9SO/FLH98Zu97TNNQTQpe+abxN18tssqM q78w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Bdvrn9Sa; 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 13si1360621pgn.517.2021.01.13.00.08.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:39 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Bdvrn9Sa; 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 C605E6E0A8; Wed, 13 Jan 2021 08:08:30 +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 9E54A6E09A for ; Wed, 13 Jan 2021 08:08:24 +0000 (UTC) Received: by mail-wm1-x32c.google.com with SMTP id r4so708626wmh.5 for ; Wed, 13 Jan 2021 00:08:24 -0800 (PST) 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=FpwY4GtbDJpEMrD8DXq2EUXYJZUv4cPwkIqKzqODNJA=; b=Bdvrn9SakRrtH0IarS95O03IgYmKiSBzTWBhd72Xl2oiD/WRlfu8A5bqe5l3YriNXF XPdsV1cYlQIaO3Wx2GAb3a9TuycM7uNa/YcQa+ftyADQMOesp+QtFSWrQi7A3FnUo+yk 2BbUt3WNtBG4rKew2hsF3bC+CS1z+ySpMsLAEi/g9cjsqVvKUGZmfsA5nzaC2ujZZvD9 hqs3+IdBQTTVH103vC8BgMirOrYD+IM0pQWapb+JF9X03WLYIEmyCphzJjJ5lBt6nn2X iQFmQee0qcQxQg/lLCZGHZjKQBBqb42J3W/TdT3LDF24z69aIWpFX2rBdwTZMAdYLAbn wyig== 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=FpwY4GtbDJpEMrD8DXq2EUXYJZUv4cPwkIqKzqODNJA=; b=a2dljNUPUlvTnNYlhQWBccYTWY+3vlsErszSvqVaH3SZIrB956L+zicPlf+hifJI7m VqfJYHlkXvQC8rBtjq/35OYyqg7G3Zycwn23rbYcb9OrZ01bA6q47NLw9WfTNv2UkZ3i RbxIMAroeRuHSrhCQ5QPYsRnZ0B1552HfkPB5zTzhAw22XWEeJSUX7XVIpYX5/4nJL72 PSRq2xijuZ8U+UB1n0QpzI5CPOA4dHl1UXMshOnbD3Q3j5qmCJ9H7U3VzpyShIooVGMp 2UUhE+FJjc1MvV9fU2t2gxCkj7zXdv9EzDlZ3KeQfwkO4OgKloCtTNS5wCGfGWLxNEU5 YHgg== X-Gm-Message-State: AOAM531WqGf7cKmoss7kzvjwu2BsShrt+6DI3oWjCib+vQ4O7yMHWGQr YvSumylP5L1l67T2k4XS/YjXXw== X-Received: by 2002:a1c:234d:: with SMTP id j74mr954180wmj.18.1610525303222; Wed, 13 Jan 2021 00:08:23 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:22 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 22/30] drm/amd/display/dc/core/dc_link: Fix a couple of function documentation issues Date: Wed, 13 Jan 2021 08:07:44 +0000 Message-Id: <20210113080752.1003793-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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_link.c:214: warning: Function parameter or member 'link' not described in 'dc_link_detect_sink' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:350: warning: Function parameter or member 'link' not described in 'dc_link_is_dp_sink_present' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:841: warning: Function parameter or member 'link' not described in 'dc_link_detect_helper' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:841: warning: Function parameter or member 'reason' not described in 'dc_link_detect_helper' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:3403: 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_link.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c index 3366a49f11dc7..271c4f66edb56 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -206,6 +206,7 @@ static bool program_hpd_filter(const struct dc_link *link) /** * dc_link_detect_sink() - Determine if there is a sink connected * + * @link: pointer to the dc link * @type: Returned connection type * Does not detect downstream devices, such as MST sinks * or display connected through active dongles @@ -342,7 +343,7 @@ static enum signal_type get_basic_signal_type(struct graphics_object_id encoder, return SIGNAL_TYPE_NONE; } -/** +/* * dc_link_is_dp_sink_present() - Check if there is a native DP * or passive DP-HDMI dongle connected */ @@ -828,7 +829,7 @@ static bool wait_for_entering_dp_alt_mode(struct dc_link *link) return false; } -/** +/* * dc_link_detect() - Detect if a sink is attached to a given link * * link->local_sink is created or destroyed as needed. @@ -3400,10 +3401,7 @@ void core_link_set_avmute(struct pipe_ctx *pipe_ctx, bool enable) } /** - ***************************************************************************** - * Function: dc_link_enable_hpd_filter - * - * @brief + * dc_link_enable_hpd_filter: * If enable is true, programs HPD filter on associated HPD line using * delay_on_disconnect/delay_on_connect values dependent on * link->connector_signal @@ -3411,9 +3409,8 @@ void core_link_set_avmute(struct pipe_ctx *pipe_ctx, bool enable) * If enable is false, programs HPD filter on associated HPD line with no * delays on connect or disconnect * - * @param [in] link: pointer to the dc link - * @param [in] enable: boolean specifying whether to enable hbd - ***************************************************************************** + * @link: pointer to the dc link + * @enable: boolean specifying whether to enable hbd */ void dc_link_enable_hpd_filter(struct dc_link *link, bool enable) { From patchwork Wed Jan 13 08:07:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362056 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp297035jap; Wed, 13 Jan 2021 00:08:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYmPYU9OVpqAYz6IgdXTw7xAvsB5xJROGpjj+sJGyo6s7aAnZIosaQRzKnfj7at4595EL+ X-Received: by 2002:aa7:904b:0:b029:19e:c8a5:5154 with SMTP id n11-20020aa7904b0000b029019ec8a55154mr986069pfo.41.1610525320873; Wed, 13 Jan 2021 00:08:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525320; cv=none; d=google.com; s=arc-20160816; b=p1A9TpjDZg4UHCf4feUcIPhaegG4Z+kFwwUGp2prLTafF6Q5JYd8TspwPCvyRP7zd1 5gi8BwzqKkXguSaycnyFeToS2BI0ysMKNGR9eQh2JkvDR0gJF/8pado8LOniinUDprvS 106yBWvjeMpryggOExU5BX1I5gzNsCxSzI0/P8PVqcajEFkOKcB9AApxMoRpv+pwY3A/ 8fKkAX7X53oR2exmUHud1wm3ZDdrl7lEgjwmehbD7qPcWVDdxUbKQgnn+CjwTEs0G0DR 8xu7QNeBjsJFbgMTcLRPl0KFQebU37mhfIf2D+taE1AA9uxglk9nRLR1bGfVZu6qPxb7 OAbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=slnjxvnzexNVP6K/8Vucqs1Cyu3/DV0VSKkipBEpVfA=; b=fCQV3zTRjjqBlJ41LJnjnKT9mN0BcbHO0GouYERTLXMVykiyulnsWpGpntCbTadgm2 woJdnwgBQ2ZRtlururuDkWYayRFjVdyC5Z00eKD5130aMW7o3/BN1o4YvsezpEza6+wB MGCpbn2fZW8VZxhG/fz7FLCLkfMN5lio2s+pcPN0v/88tP69ZUTtKu7fGAcipTx44oqN sPZJk5ebbYcVuQSClYr8S5tSwkSoWi3bpJgxI5nJWOkEvK9ThDFmJtF83HUdOEjUGRnn j6Yn9u1wT1GlnSJwsolnwoTax4zH1q2r92XV9zUPw0im6RBUsJtqHh7EtIzcUiIgwa+a qe0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=n4HHJXja; 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 q27si1496137pfn.298.2021.01.13.00.08.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:40 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=n4HHJXja; 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 B7F6A6E06D; Wed, 13 Jan 2021 08:08:30 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by gabe.freedesktop.org (Postfix) with ESMTPS id C59A96E07D for ; Wed, 13 Jan 2021 08:08:25 +0000 (UTC) Received: by mail-wm1-x333.google.com with SMTP id 190so697403wmz.0 for ; Wed, 13 Jan 2021 00:08:25 -0800 (PST) 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=jAO678R3RtkgY9IPzmyb5UFyGCUGLlAwXrenaR2xREY=; b=n4HHJXja9efTgsY6gSGtpsDgEfkqFcI3Zk2w8ic/TG6PTg+1W5grCJIbuifEleQBPZ +27CrufSyUIL17ZLNP/BTz7Z2J4H2ueddAgeLSJtVPh6AMWSPZ9wFaZSizslJYKksV6v d3uWqiyUM7xUzIhGoRencnMz142jUwpfu0hfcSL3UywLJ+vBZ0NYSSP2nHBQqJbcJS8o deHY7DmgUSQvCFk/Lt05jaAxGT843B4s6fy56BFPCmDYGy1FYj/cvJQ2/CHecvPP2e1Z Szjpy6et/cTX4d0k69ZzZZStXiNPmrmvTi/3+5BxjaEgk/iJTz9OpeMSPJnzluieZpQN gu/A== 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=jAO678R3RtkgY9IPzmyb5UFyGCUGLlAwXrenaR2xREY=; b=EvrHQI2GJ/Hz7U9armIFQWuI2HFKdvISYG9MYTQR5aelB9B4wWXV7ApdnyBSGsYE/P y3eTbHQzp87xzHNy9bIDGL6KIELJTxuJcN9Q1LjfTJJ6x7fnMN/Lt6ujUgQJtbrSof31 vTzNv3f+TJPs4QZ6tvuuf4TiWZxp+Ft2BIb3Dz7LC5C6CPK2+f5NYBTwbHO7HNt89rJ/ yVqQQppaqDVcsDKcGm1dBpTyNREGnHKsVOI7EP4dLUP7f0rBFq7siYLWh3zWM/GQPYVT 31k83Te4Fv9+RDG+vbWcf2gzsRHrlGb43yFFNRBaOVHhpTwH6wDILpBq62+3+cIv6t/E 3H+w== X-Gm-Message-State: AOAM532V1T6dc0cHQnnY7hdq2aCen/Xg+ZRJF2VfDeCyrjzyPb6vDhEU uD17YKBPWN1Du8+P8Cz+K0/+zQ== X-Received: by 2002:a1c:7716:: with SMTP id t22mr950377wmi.126.1610525304555; Wed, 13 Jan 2021 00:08:24 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:23 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 23/30] drm/nouveau/nvkm/engine/gr/gf100: Demote non-conformant kernel-doc header Date: Wed, 13 Jan 2021 08:07:45 +0000 Message-Id: <20210113080752.1003793-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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, 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/engine/gr/gf100.c:992: warning: Function parameter or member 'gr' not described in 'gf100_gr_wait_idle' Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c index 749f73fc45a84..33541b4c01114 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c @@ -982,7 +982,7 @@ gf100_gr_zbc_init(struct gf100_gr *gr) } } -/** +/* * Wait until GR goes idle. GR is considered idle if it is disabled by the * MC (0x200) register, or GR is not busy and a context switch is not in * progress. From patchwork Wed Jan 13 08:07:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362060 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp297090jap; Wed, 13 Jan 2021 00:08:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxSz1mMQazniWkd3gcCw21L3JETbW1MOs8ZDpeHuj6TdTVCe7ZBSqp1u5ngu/dZZ+uS4IB7 X-Received: by 2002:a17:90a:ec10:: with SMTP id l16mr1046797pjy.127.1610525326425; Wed, 13 Jan 2021 00:08:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525326; cv=none; d=google.com; s=arc-20160816; b=wN1azZDwyWzJEVJ3tDbRueDjRiKQsZwoABBdRM4bYKKpMpS93SPeal2aADskau3nsG +4ypS67Bjiwo+Vzg3eavWJp0N8CrVFl4YMbnmRUHKgjRO3PMa7ejk429NIyLPwqlICIv wOwQ6IkJVAGRmbkYkaL4ks7QXHuLha4lMY8uz2hvtU1VydLp9DXjc10t0lVnkuiB7nAg 6Pt1TfDyoFPDG1uy3hE2eFTAoZwA0COi2nNFmqYF9GEY/MqNKu6hH8sunWMrtK2hjDoQ 7b/glANPA2+ESD9eetOAT/XBPkFSQPwWCLrmU644+5/2sRll/nUcPvbMuRrjsj2SnBHP t0NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=pME//UQ0WQL0YDZ04SAd3No9hhO5TJyKeasrcNwaVBU=; b=BcGOnCjtwSzkbDLe2nY8MIejWxYHSPPfFGJccdW2SzBhDRk9caCnIEBi7Y8DMQmTEf fqOlzmy3p4m77hiTw+JH2JC5SK62ZjbnWlFel5CTEbScC/UYUMMmwUjqOUv/BvBskBoU 9VRkqhR6fU5SKbfJEudqK7gMFcefC7AEUY2XqYRpezKXsX5kAPxqKw+OtgVCAo/3k2hB cUNCB0cmHdRfigtD+JDvmPFsXQgy0sZ4iWoYR1tiBofX582bMvPNzeCH9lrgA/hbKzUF TodE6Zq3qDSIjsRTgQgjwGRdHDUgVZtz13LhOZZPkR6ab6n0973bmmqw5wPFWbhhn++j L55w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Pl0iBz8p; 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 l19si1453372pgh.584.2021.01.13.00.08.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:46 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Pl0iBz8p; 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 2869A6E08E; Wed, 13 Jan 2021 08:08:36 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0206C6E09F for ; Wed, 13 Jan 2021 08:08:26 +0000 (UTC) Received: by mail-wm1-x334.google.com with SMTP id k10so688951wmi.3 for ; Wed, 13 Jan 2021 00:08:26 -0800 (PST) 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=YPaIJ4NMJ9MMh9q35TQI1iqMYfx8RWuRYjdqoNV8b68=; b=Pl0iBz8pshuI89xlZdvYpcf992qQSZUVTOMqSflDk88q+C/knT37dU5H+g193L0RGy Jt8q6Jiuk9N/WlhQxOZAdr34cvKW5c8NMMSA8KKqWBl0S7ro+InhGcLHBprSRquy/Hx+ 0NYVvNBo7mbXI7R+Ts3jsTHi6PAaxDXC/duX6ejbIar1W9hQwSuppdBXXrPUafFk0KPZ 6KjW2hwHAB66OwA9qf/3eqDAwAAPV1Xg6NuvWWJSp4F673dhAw7mQrJ8vA2vFx6yAKGZ k3980aINhNQ3+wT5BwktClc0ojis8PUuJQ030NKbPhV2iAznrIKedpNjdzBJqUAhQ+Tj KAzA== 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=YPaIJ4NMJ9MMh9q35TQI1iqMYfx8RWuRYjdqoNV8b68=; b=HCqmyhHw6vGd3FGDF8mA+vmm0Nbv0cfGaXZfZ4jJ6XtvPb00XCVc6usZ99BusGdQX1 ugxYqcusbJV04gPOcohzJhWfSnAnh82fzmDRIITXEHYq07zXfx3H6CB6DLQNUfmK1l+y 9w0uP6qBkUbFhrwTIUCJ1IB71g9tngPjPIQGPfWUXW+Np6/81J8qbPFuBAWa/ncsnMA+ aL3AXCmnWcuJKwlm7I542xNmxfb8lOdxLPvNRYg/QIiCm9KpQpw3VIVIcM3nIHgw4zT1 S+EGpllwIgfPmJ3JTyJnO401uakVVvX5VLINXy9qD58f1SBMuCydUEZARNFXCOEs6oet /SeA== X-Gm-Message-State: AOAM533AidV7+AfQjNzjOPzhFvud4BFlHZirTCgRDWLMdnuFLdJ1yxSk nhPIYeSUISUkdUMgzCdAdn7W6A== X-Received: by 2002:a1c:e902:: with SMTP id q2mr924513wmc.143.1610525305691; Wed, 13 Jan 2021 00:08:25 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:25 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 24/30] drm/nouveau/nouveau_bo: Remove unused variables 'dev' Date: Wed, 13 Jan 2021 08:07:46 +0000 Message-Id: <20210113080752.1003793-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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: Jeremy Kolb , David Airlie , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, Ben Skeggs , =?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/nouveau/nouveau_bo.c: In function ‘nouveau_ttm_tt_populate’: drivers/gpu/drm/nouveau/nouveau_bo.c:1228:17: warning: variable ‘dev’ set but not used [-Wunused-but-set-variable] drivers/gpu/drm/nouveau/nouveau_bo.c: In function ‘nouveau_ttm_tt_unpopulate’: drivers/gpu/drm/nouveau/nouveau_bo.c:1252:17: warning: variable ‘dev’ set but not used [-Wunused-but-set-variable] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: "Christian König" Cc: Jeremy Kolb Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/nouveau_bo.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c index c85b1af06b7bf..1e8d5e1cb18f3 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bo.c +++ b/drivers/gpu/drm/nouveau/nouveau_bo.c @@ -1225,7 +1225,6 @@ nouveau_ttm_tt_populate(struct ttm_bo_device *bdev, { struct ttm_tt *ttm_dma = (void *)ttm; struct nouveau_drm *drm; - struct device *dev; bool slave = !!(ttm->page_flags & TTM_PAGE_FLAG_SG); if (ttm_tt_is_populated(ttm)) @@ -1239,7 +1238,6 @@ nouveau_ttm_tt_populate(struct ttm_bo_device *bdev, } drm = nouveau_bdev(bdev); - dev = drm->dev->dev; return ttm_pool_alloc(&drm->ttm.bdev.pool, ttm, ctx); } @@ -1249,14 +1247,12 @@ nouveau_ttm_tt_unpopulate(struct ttm_bo_device *bdev, struct ttm_tt *ttm) { struct nouveau_drm *drm; - struct device *dev; bool slave = !!(ttm->page_flags & TTM_PAGE_FLAG_SG); if (slave) return; drm = nouveau_bdev(bdev); - dev = drm->dev->dev; return ttm_pool_free(&drm->ttm.bdev.pool, ttm); } From patchwork Wed Jan 13 08:07:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362057 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp297048jap; Wed, 13 Jan 2021 00:08:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJzyW4m0aCaPiWEs55DwWc9S89Krn8C33jUBb+e9dp6m6RYxCixmXEUZtzp9WDY5ZrXOHAJD X-Received: by 2002:a17:90a:df12:: with SMTP id gp18mr1030326pjb.43.1610525322422; Wed, 13 Jan 2021 00:08:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525322; cv=none; d=google.com; s=arc-20160816; b=XZGtqf5JLxulnpD4Hcr7gGfWkkFLNTZ1NZHPTZiyWGHe/0vuPL8/dkPTuMLA7G47pQ D781iATjL7nqPjhw9VZuh0ZiDIwnXqeFvOiQ2bqaUZ9ebF1oyMAc3VJqFanHdmtvFvh9 Ohy0r1zzC+ZRnSllzaN7CUKsahthjv/0cMcuViAiiM8k0tIThuDvB/DgdM5uXxNWkw45 6Mc5PYaF1f5FmShG9i96FlwASLtlwUUzCNMDw8Y+bg/ugeLs1g9GHKyvToHzkeiig9qr wxzofJg3D6XGI2oF4OKk1b00BX+A3hUwkDcoPBJ+NPH6+YlKAGTr179DlwZt9VD0Kl6J Hefw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=jXmjGZLlLG+IxE40bT2t6PS3PF6djkiMGul/1nrAlRE=; b=FLo2bMPKBwscqBSCj0DvqWBUFlacPTtZDhMEgLf+9IwUTeMQhgmb/+Zfjzbn+gjXcA h/6D3nMPy/09ZLPmX1KrxJpTLWBvadeEWW+Ds0llu2iZPAaaOIu57Yi16d0jG80mMyUM f7ZVk1Q8cuVcRaqXDOPRNLUoKxcIRD9ldxiWvZez/HxxV0oy/KYePxt/xxVOyF/Ng+ai gz9Qk6w+xh3Fxz+1xGUlp42cInQfxJ8azV8En1lqtZ59m0ZCzT3EV0mUFzD/HjAsy3eC Z3Re0RY4q0IfnZMUvxsus+ygGisqHvxpfJjZzG4owav3HSoVb/055fX/rpOlvbDR58Iq Ejnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=tgoX12VN; 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 b4si1510494pgl.413.2021.01.13.00.08.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:42 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=tgoX12VN; 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 963F06E09F; Wed, 13 Jan 2021 08:08:30 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by gabe.freedesktop.org (Postfix) with ESMTPS id 148136E072 for ; Wed, 13 Jan 2021 08:08:28 +0000 (UTC) Received: by mail-wm1-x329.google.com with SMTP id h17so507561wmq.1 for ; Wed, 13 Jan 2021 00:08:27 -0800 (PST) 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=ePSRgs/Oht29QZLcRjU0xPTTc8gUIb5jIpmVTTqKzN0=; b=tgoX12VNW482sdZIyhl4ORWffsWRGDAF8WKOquXRllWLqJQJ78J3p7CT3/31OGzuoE LoI2e+hpCagmbWE7g9VZMY5FqXOO68yRFfHKZapDdAVFihCP92NcdYdcmXg8mnx7fzFP ArXKyu3k0AqXcnnif2fMoO+PBfwaWpllqLkI//UH1JpLZwzAtYmLYTOw+gfDcLaaGcBS fCRbKczPAoKW3pT+QpCDo3depBAbo6gTUMW07IbdTpiamAxRYaPZ31vaIOTZC8v4Alcb jM86MNad9CjDADKOq6ByP6Bbo8HioNGIbOn4ErP6CYSdC2bD9M+t9qlkOdo2XYMLU9IV OS/g== 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=ePSRgs/Oht29QZLcRjU0xPTTc8gUIb5jIpmVTTqKzN0=; b=Dl20pueNRBHEA0tkr0sT0P44Mu9txWEdT34VmrqxcExfnJSaoCNDmq1h0+Zi3C2HXG uQaibpgrQm8NZuurOJu36n+G0Rthi7hwmxT07KQPenaZkdfFSiEuLuouJ5nwmVbRcuKp 1HDNZQAxw3DPMzq6/q/ovHZuIjD7ifYAzHWNobeaYjgX7O9Nt++t2Qt4FuGqgDYshOJg +6oItrJ0rF7lAjKN1T9/f9p6GZ6/m2rN83SEQabymoNJt8LXQS2UclQ0RMFJv5htCDmj KZa0NgXrQ0b/1VcKxgw1sjjW5Yu6nsPN5+PiFdOocesUrsdWruU7J2jec+zXFLRm8beK XlWA== X-Gm-Message-State: AOAM530jh0SZUJKC7QRn9xfbrVJVuPMVaKoeNYy5Yw9TWK8gfIzjrHd8 cdyo68y2PWIPsb6YLenKoD0cQQ== X-Received: by 2002:a05:600c:230a:: with SMTP id 10mr929325wmo.172.1610525306810; Wed, 13 Jan 2021 00:08:26 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:26 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 25/30] drm/nouveau/nouveau_display: Remove set but unused variable 'width' Date: Wed, 13 Jan 2021 08:07:47 +0000 Message-Id: <20210113080752.1003793-26-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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, 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/nouveau_display.c: In function ‘nouveau_framebuffer_new’: drivers/gpu/drm/nouveau/nouveau_display.c:309:15: warning: variable ‘width’ set but not used [-Wunused-but-set-variable] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/nouveau_display.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index bceb48a2dfca6..b76bba4ca0856 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c @@ -306,7 +306,7 @@ nouveau_framebuffer_new(struct drm_device *dev, struct nouveau_bo *nvbo = nouveau_gem_object(gem); struct drm_framebuffer *fb; const struct drm_format_info *info; - unsigned int width, height, i; + unsigned int height, i; uint32_t tile_mode; uint8_t kind; int ret; @@ -346,9 +346,9 @@ nouveau_framebuffer_new(struct drm_device *dev, info = drm_get_format_info(dev, mode_cmd); for (i = 0; i < info->num_planes; i++) { - width = drm_format_info_plane_width(info, - mode_cmd->width, - i); + drm_format_info_plane_width(info, + mode_cmd->width, + i); height = drm_format_info_plane_height(info, mode_cmd->height, i); From patchwork Wed Jan 13 08:07:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362054 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296991jap; Wed, 13 Jan 2021 00:08:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTWHSAipkDvKPVqcoaJuWcDbE0E1A1O/PRn/L24QUAAbNy/rIWQoUYLG2qNh/zB6NsPG9Y X-Received: by 2002:a17:90b:3355:: with SMTP id lm21mr1003760pjb.115.1610525317958; Wed, 13 Jan 2021 00:08:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525317; cv=none; d=google.com; s=arc-20160816; b=Y6L7d/F4LO8cn47Fd+jIyckc8+bOjDjFRseJNBOC4pH+xMEQpRuhxKTmccJHKHpeFc 4FbjTFj2R/PEsbLZLjAK5o53ohFqNF3B6K/HGJiLz2aIgYuUspPBU9UVWABDMr5RfjUy aef0kCRYrtZXVxK7vRpyW/j+gcIIXA9E3LV/j9MRe4/g+O/nJhD9XfDx4KnYwl76YBMe Ki+kSIkVwoUdo6Kv9G5O34wYi9U7agk9/v66HCKxeJwFOwTfZEtYuNsK7iVxYxBryt3f lzlKvyOwPkWSw530CAukC1fItTPQXHzSYdH5bgKAQ9ig/8sdWEixr1fidm3Ivk/lTLSn 0qVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=C7tYGlTj5tTFvlgvGZ0ERoUe0zf5rSiRvaHJWcv2B70=; b=gCrGLGlVa86wTysGeSyR6s9cLNXD2xIpF0yGA3is/kGDjx8+U/bgiLqP+/wWfZDd06 XVtvYlnyUIEn6vcknFGZge/WyQTGvj5ZBJbfSGQkiqsznh36VZkdHlSnQv4dicYOOb3e 0kKjwIZBJ2sgCkXjE5OQoan+dGSpbWhJ5rFNs+uUlllYemJwH6ilp8DFY7xOUInXXCPy 7jTKtFnLCpw9TgNd+dQ5A3iuT3STCrgRYvNRMqByW4trZzpiR71W98DKqlsKS+JGjPSm enCVFTdMT34trQb+LRpUxvpY0ogPRJL9unQGDspNtQTbJthxh9AjZS9kNTtPHBe3cRol 8vDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fJmqSS0s; 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 f6si1717068pgd.139.2021.01.13.00.08.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:37 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fJmqSS0s; 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 84AD86E09C; Wed, 13 Jan 2021 08:08:30 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4B1306E072 for ; Wed, 13 Jan 2021 08:08:29 +0000 (UTC) Received: by mail-wm1-x329.google.com with SMTP id r4so708815wmh.5 for ; Wed, 13 Jan 2021 00:08:29 -0800 (PST) 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=JKXxaEbbFVJtyOGef7aTveS2Qs30U+5wi8mm0q9i1ys=; b=fJmqSS0s+ZCugqp77ZDbXeNmyUS4QE3cEElAx+aIv/Cd/Nr6WJYGC7miWkQh+j40FF VXsLUJnSZyP5anEZOJCrNI2IiNpoEQBlQQL73PfE86lwfsWpL6967bOlcsi5gShkskAX Ol+YdxVaRV+2wR/7kxHONQGmXUfLDIHx+qXsHVn+PZ+JKvvEOYMEhrcJ3nlmx+uPZ93k kL7FH18RKGzeI499n5RBDYrhbNxk6yvXSGFn+UWOu7PvBUogw3e2c3AN4PLy4Di6q8oT WMnsmGX/2N7ruDDReZJ5S/Oe6cPlLrMBE0WvNuAN0aK2SlVnHayrpCCrFlQSEhKwx/J3 PcnQ== 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=JKXxaEbbFVJtyOGef7aTveS2Qs30U+5wi8mm0q9i1ys=; b=W7ykJjBU/Ydej0aWsYLa0KOoHC2fNy/zvqdiJ/nzJFi/hiSD/OMddIA6YhIG/6FMf9 MSq29qq6iReL4MfPSM+J7aIyt1toVcdpjOS6Czd8t49pkqltRUz2kphRaX+55LZEhF+F +Rw2aOZ0eLxYl6s0dTV6EU9KB/47dXtYP48CNJe/ezB1uDRM2WjutCU5QummNJ3/Vnrz HDwu5ueIt4fZ+jwig0mgHhGPBW8054zMW+9O6cucYabtz8xPt6dQMF4+Iuhw7t5zVc1E 0I37SyE/49nv0p5198Fq2mZEvjL5vEm04nRcZO+OkJrasdwDAVW/OHSeqTjTH4j83oSG GJtA== X-Gm-Message-State: AOAM533lOLIZZaITeLJG3ZA+bbfeqer6s67fROQ8Wafc32Nne+UHR+mO bELFpQtULtSPsB7ej2ljIk0mkQ== X-Received: by 2002:a1c:a707:: with SMTP id q7mr695188wme.15.1610525308042; Wed, 13 Jan 2021 00:08:28 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:27 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 26/30] drm/nouveau/dispnv04/crtc: Demote non-conforming kernel-doc headers Date: Wed, 13 Jan 2021 08:07:48 +0000 Message-Id: <20210113080752.1003793-27-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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, 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/dispnv04/crtc.c:462: warning: Function parameter or member 'crtc' not described in 'nv_crtc_mode_set_regs' drivers/gpu/drm/nouveau/dispnv04/crtc.c:462: warning: Function parameter or member 'mode' not described in 'nv_crtc_mode_set_regs' drivers/gpu/drm/nouveau/dispnv04/crtc.c:640: warning: Function parameter or member 'crtc' not described in 'nv_crtc_mode_set' drivers/gpu/drm/nouveau/dispnv04/crtc.c:640: warning: Function parameter or member 'mode' not described in 'nv_crtc_mode_set' drivers/gpu/drm/nouveau/dispnv04/crtc.c:640: warning: Function parameter or member 'adjusted_mode' not described in 'nv_crtc_mode_set' drivers/gpu/drm/nouveau/dispnv04/crtc.c:640: warning: Function parameter or member 'x' not described in 'nv_crtc_mode_set' drivers/gpu/drm/nouveau/dispnv04/crtc.c:640: warning: Function parameter or member 'y' not described in 'nv_crtc_mode_set' drivers/gpu/drm/nouveau/dispnv04/crtc.c:640: warning: Function parameter or member 'old_fb' not described in 'nv_crtc_mode_set' Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/dispnv04/crtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/nouveau/dispnv04/crtc.c b/drivers/gpu/drm/nouveau/dispnv04/crtc.c index f9e962fd94d0d..f9a276ea5a9e0 100644 --- a/drivers/gpu/drm/nouveau/dispnv04/crtc.c +++ b/drivers/gpu/drm/nouveau/dispnv04/crtc.c @@ -449,7 +449,7 @@ nv_crtc_mode_set_vga(struct drm_crtc *crtc, struct drm_display_mode *mode) regp->Attribute[NV_CIO_AR_CSEL_INDEX] = 0x00; } -/** +/* * Sets up registers for the given mode/adjusted_mode pair. * * The clocks, CRTCs and outputs attached to this CRTC must be off. @@ -625,7 +625,7 @@ nv_crtc_swap_fbs(struct drm_crtc *crtc, struct drm_framebuffer *old_fb) return ret; } -/** +/* * Sets up registers for the given mode/adjusted_mode pair. * * The clocks, CRTCs and outputs attached to this CRTC must be off. From patchwork Wed Jan 13 08:07:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362062 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp297107jap; Wed, 13 Jan 2021 00:08:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJwuCkAnDdlDZ5mev9StiaQJ/xPoobLaj87LFKG5jUuZ4kvE9Ihpur7XTka11TfbdLwVrnpu X-Received: by 2002:a17:90a:348f:: with SMTP id p15mr1023618pjb.125.1610525328779; Wed, 13 Jan 2021 00:08:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525328; cv=none; d=google.com; s=arc-20160816; b=a+JAF+HLV0z6oWrszInCsaZsIcKbOns6kiMTTzOkxKvM7yRCATyeNL7ShgEwASKOTI OPzO2b5MUYB2KZI5HLENviaO2MiBwFyAjV2ASdUB/VYRguOx27dLwvgaAHkh7jKpuIwu FC8AawADi8wqkzbjAmBh1JqohjgO7/k4WSIQIIFDcKgsSmpSQI3/NaU8CF78pWmu6FjL W6Zg7KHOXdVv84X1QqqiFMkJyPMRxnb/77UVo1b7yZ7B+mE/J+SwkOgF/KGsur8yrlK9 7g7Nfh0Z7LLvjWSdPEfR7NVoDG/129txOFNpU6Ysa4eEUNCrrnoRpWd9WzOB6uGojqDm lR+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=HpjIy4UXILbEoYK4MHtHjwfjZxo3j5RkwpOOfNW6n64=; b=NcFb4bcyEuw4yP8ocu+Dk0kRfFSI3E7p80i3y+dL6Ge97gHtYF6Q2bh/h+WZAR8KXj uwGorak53Os/nxkujGUA5hGhkqOTFFIef7nIjqUF2DzlpX8UGPbt8leKX9y4w366Rqgd QrT464xe+vgXpo5M86LlH4i+g55W/DLZtbuw+5OzOTOAomW0DlD+vL6QjZZUOgJOeSaM 3VMyh01oB8xkYQLOSdL2Dtcg87PY8BXEYQmtscmGzeLcwHLYnybkbIXUtao3z0MRSGWJ opVF6yr6n6o+gCv4zDslcG4SD4O/8SJpzuuE9WuSm6kWXukmKhofag5pfuetV2sS3MS+ FVqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=inmJeTRl; 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 s10si1327725pfh.178.2021.01.13.00.08.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:48 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=inmJeTRl; 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 EEC596E0B7; Wed, 13 Jan 2021 08:08:38 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6EA046E07D for ; Wed, 13 Jan 2021 08:08:30 +0000 (UTC) Received: by mail-wm1-x333.google.com with SMTP id i63so688398wma.4 for ; Wed, 13 Jan 2021 00:08:30 -0800 (PST) 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=gN1pD37GpSZ83lBrPZbFyIukV/8d6W9Y5EyS4/7EyT0=; b=inmJeTRl4AVmWMtUkVPGB6U6xWuEnOy3Wwm4sKiHJLQr/ccYwrp4sJFIK+50RReh0+ hgSuriGNX6dbro0Ugw1yfhjeQI8Jc1zjDXvqu990sAW99mZRA4BfxoGZM5aJaSKiab5y LM9dCZizOE5P9N47EzRuqmR/jFzb1jcrdKk/Ys7WM2bgE5w2vr0hvA7v+ASZSQe/hmcT kiMYQYgFkZ3e33wu5V+eP3/j3W0nF8lyUJbAgcPaIoeY6Tn6F2ruDrQ7kuslLJSpkv3v 8idhUwfBq9kNYqLsoiSKrc+ehX2mq2F+mqgESYAiCJNENlcz+7yhexTyyiDG1XRiISBj 18yA== 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=gN1pD37GpSZ83lBrPZbFyIukV/8d6W9Y5EyS4/7EyT0=; b=jhREuEGRKl05/1U9W0dxEUI37Jl8q71NvKtN2BFfXTJcTk46Uf6x4aPuDzKOrhC9tj HsAEL1LSJRemMEbcUrVuNCEfYkK+f23EnYPOWsm5EJpnmecsvteEKzLqYa/H5tOCiWfb TtBLoG/DOc0V5uLusE9hNv6Qb+Y4iZMc529HUpNBN7/f/DJxPuc+sUpaOMMSNnaZG5A8 2wvNmQGQWlNJ231bcPqGqHarvoogxItsR0r7VZFBXfOqQK9uP/3wRJs2aKrRmg+W/+mU MhV7/onxDjShVGNjLAbmqCA7m1AeO9ArZICHeeOmtEfLWx5tbX/SJATSFWK8iMyrFzaP 2WYg== X-Gm-Message-State: AOAM532HmT/arBmnTEyEIGooinzHlDTjJ3gdKLwzLUj6tIhSPDJ932T6 6Mo1eP+zuvlnBFf2m+BpgmYf6A== X-Received: by 2002:a1c:5644:: with SMTP id k65mr955899wmb.62.1610525309184; Wed, 13 Jan 2021 00:08:29 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:28 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 27/30] drm/nouveau/dispnv50/disp: Remove unused variable 'ret' from function returning void Date: Wed, 13 Jan 2021 08:07:49 +0000 Message-Id: <20210113080752.1003793-28-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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, 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/dispnv50/disp.c: In function ‘nv50_mstm_cleanup’: drivers/gpu/drm/nouveau/dispnv50/disp.c:1357:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c b/drivers/gpu/drm/nouveau/dispnv50/disp.c index b615204c2cba6..809a9b20a6899 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/disp.c +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c @@ -1354,12 +1354,11 @@ nv50_mstm_cleanup(struct nv50_mstm *mstm) { struct nouveau_drm *drm = nouveau_drm(mstm->outp->base.base.dev); struct drm_encoder *encoder; - int ret; NV_ATOMIC(drm, "%s: mstm cleanup\n", mstm->outp->base.base.name); - ret = drm_dp_check_act_status(&mstm->mgr); + drm_dp_check_act_status(&mstm->mgr); - ret = drm_dp_update_payload_part2(&mstm->mgr); + drm_dp_update_payload_part2(&mstm->mgr); drm_for_each_encoder(encoder, mstm->outp->base.base.dev) { if (encoder->encoder_type == DRM_MODE_ENCODER_DPMST) { From patchwork Wed Jan 13 08:07:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362058 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp297063jap; Wed, 13 Jan 2021 00:08:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJxtbvZQCRNP55lbLL9+XSggoXcRV7o+xlspM60JzpjintdtSN4HNkgZxbLcxO3YMC1Fppmm X-Received: by 2002:a17:90a:e28c:: with SMTP id d12mr1022759pjz.236.1610525323954; Wed, 13 Jan 2021 00:08:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525323; cv=none; d=google.com; s=arc-20160816; b=ZecEwB2/o8RwF501zSfBBCmRSMBT31BjWVAqvkLwzuPZOQfg6OOvsb5gNGVRaxftMq hj74clK+YAfzULUsaJ72YErjwZ1NudJlEpa0KoGBN/S0I3Uw4waid7bqOyXObZqe2FQJ H2XXOCjDknyoGyZj8GBYO581LyRiMuYVmoPsTsorA98ieaTF6Mt2NiQqLxxF6IVVXCzu MO551SUD5TC3Tq2sDlyQow6Jrn6p0YkZWyc35TgoEP3D7o1gUVhba0kvZA7vxizCnkLS H1xtrZTCw0+Ia9Ku5ywjCYC+zz0qGXVQYYgPs/cTZ1aIEs1crEQQ4WAyE64/eZbYsIVX K0WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=JA+1sIMDosGh35g7NeiNhPmb+KbQkHB2J9AS6FrnyUc=; b=XcUu+z6Hmo0dKnbH3wTj76eokWpBb1s9KOt1C0VWZpwu/QQHjNz7rhC8qvDglwKI0z 8VlkGUaS7p8zoxpu32ZTuwbL+JAkC5S+ych3SS7Mu1pjmK2WMvnO4k2YCx2RiYcryzCL F61QLgOLjVgqNVNqAXZ2XhXu/SdLgBpPbSMcj2jKmQ0QmiQwd4fZEFOB0di70rYkRo9F 0TaJ1ieX+kS5N6XHeA2O07rW48dqOXi9ckbC2l97KW8IHIVCjmj/HKM/TI5zwTYT3Ox5 z6zCw4Ifbyz4EbXaD2xhIS7CE43r445jl1txc2KTeXrUcwNXbv+LwQ5+uok3lMHLVbtv iA5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=DOQNpJmT; 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 k9si1413611pfu.284.2021.01.13.00.08.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:43 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=DOQNpJmT; 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 CD32E6E072; Wed, 13 Jan 2021 08:08:35 +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 A36046E07D for ; Wed, 13 Jan 2021 08:08:31 +0000 (UTC) Received: by mail-wm1-x330.google.com with SMTP id 190so697650wmz.0 for ; Wed, 13 Jan 2021 00:08:31 -0800 (PST) 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=jIOPy71PcWZjJKz2Zi3owNXyP9wS0eEBz4BZZ+xLt88=; b=DOQNpJmTzQJ07PlrsA9wD5Pn2X09SQxxyN3kHtxeodcgzi8Ykmla2cqkI/wVS1JpPJ 3eE1eaH5MSBZsa461g25igPNwnGc6VazrF5jXh1q8WXRpRGRqVApAqCDCEReWQCZNnOW /BMD6FKe6mGOBpYtq0hz71X98yOqwlLCxHtovNy23y2O9VBEPBe1SY8/XF42dW9CGLS3 AaJdGdy5ZL0DvMRo+5C3zru9wtJ4dp5galDImBX/UuzBfBM8E/CECaPgPE6gEgSfAGkt zSrIKYGw90wZYpZhSGt37u/SP/k9g7q4xIcS+0CnDUN/TJZ+RWdVJSBQSQ7qcNV5+N8f fdZQ== 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=jIOPy71PcWZjJKz2Zi3owNXyP9wS0eEBz4BZZ+xLt88=; b=rXEQlC7IDlQtvFW0+0kj1xl+jaAzgao8sMlayxOhgdxulASveHeFxb9roQoLqa8f2H neriBkzy1+0FgpSmCGjogzAKT6hyZLbFuVRaPaFw78xRgoPnX8d6ojVSFsF2Niik1Syb 3RbKTw5EvlHVnCGW4ddk8M7crP81klNHGCSW3Cl/94KVqt0eJZhLZorcfzdoUNSq/6eS cu8a+LfG2ULjH98JKfaMtXq32N2IP30d5nnWEuv3DWGzuX7v8WSmFGDKX58kx7XcZSmo WyjwN/VzH2RFZjlh2neUHwsUX34XcDGA4JFnroSiDFQg9rpstvTgG73ljtpkoeIEO3R4 ixMQ== X-Gm-Message-State: AOAM53389+/QnYfqog6AMr9Z94NLyMfTh82ybzI+kfGY4WyfEeq6dKzR JKemmzCa2qYCSFXl5D0Heylx+A== X-Received: by 2002:a05:600c:4101:: with SMTP id j1mr936107wmi.55.1610525310368; Wed, 13 Jan 2021 00:08:30 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:29 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 28/30] drm/nouveau/dispnv50/headc57d: Make local function 'headc57d_olut' static Date: Wed, 13 Jan 2021 08:07:50 +0000 Message-Id: <20210113080752.1003793-29-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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, 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/dispnv50/headc57d.c:173:1: warning: no previous prototype for ‘headc57d_olut’ [-Wmissing-prototypes] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: Lyude Paul Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones Reviewed-by: Lyude Paul --- drivers/gpu/drm/nouveau/dispnv50/headc57d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c index fd51527b56b83..bdcfd240d61c8 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c +++ b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c @@ -169,7 +169,7 @@ headc57d_olut_load(struct drm_color_lut *in, int size, void __iomem *mem) writew(readw(mem - 4), mem + 4); } -bool +static bool headc57d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) { if (size != 0 && size != 256 && size != 1024) From patchwork Wed Jan 13 08:07:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362061 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp297097jap; Wed, 13 Jan 2021 00:08:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjwXjliT5bbTzP4+g1c0p17Gtro47dlYTkKtr6eDpSpQElrusfopG4Y5wfoRehJomRGeyl X-Received: by 2002:a17:902:bc41:b029:de:1ec2:dac1 with SMTP id t1-20020a170902bc41b02900de1ec2dac1mr982332plz.9.1610525327501; Wed, 13 Jan 2021 00:08:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525327; cv=none; d=google.com; s=arc-20160816; b=PBmjB1MzvqndmFbrxbof3/UXSZg6wnrEBbDLz7UaaTcQjszCAPfwgf493nn8cYeoq+ l5IyqpL6pq+AJybIQa4NSW4tPU1y0xhEOfdMv1zPPJvQH8BfRfuYBb9RGdMGUSpt862x 6nFZ7CQIhBzqowwQiF0NZrRTFESQ3dWguETyW3WZu4clhZLihzuMWXyWvlEyohM18g+V ObdMNtHzKyGuGuT+knjq40TgCqffh7QY+yaejbkYR1k744CTJSWfbupI1QY54c72c151 HXcXoy3KWjDUV20GieU2JCJnIU60zTDF9rPfZcVvqf3t+42Gp1jYQfmW3x3JLu9DkpV7 DQRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=ASGeeeOw8e3KzoNgZDiVvxr+Qg/dDEs+JPNRPvGEC64=; b=kCVvhNe+T4o9WYznoG8wQ85+D/CodO/53kAv7mB0yallUoCLVR1nXIvv3AN5MWQV3E +mymAru/89dEiXbH0WaZNh/s/egPqoUfyQiSnNIsRhcjMusYZJjMhmKiN9nZPqXv/Pgh XdE8yFPcsL2A+NeTyw+MJsyigW2QOcbtvU6I8QjzUbg8/Nos0vrHMqq4y2j5n4Zj8dQJ /2RitkubR8k2xV1WCEYWJqoPI2RBi0/e1ogMVXjfLP+6pRs5rMb9jkiqCOmLalnjRKpD VQQVFktmrw6tuKkenQeLRCboD3mUYeLy5vCKA+rGxxldBVjlUWMihbTOreFJBxkKBJBH rQ/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fK1nyW2A; 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 m17si1501552pjr.170.2021.01.13.00.08.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:47 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fK1nyW2A; 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 A13C86E0AF; Wed, 13 Jan 2021 08:08:36 +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 E16566E07D for ; Wed, 13 Jan 2021 08:08:32 +0000 (UTC) Received: by mail-wr1-x42e.google.com with SMTP id c5so1067619wrp.6 for ; Wed, 13 Jan 2021 00:08:32 -0800 (PST) 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=1qkAO/aGHo5CcrKre6xluwg8dEdIWKSiyZUvz4qO5fI=; b=fK1nyW2AuJAUc4P3U08Io3K5pslY3Qe+t7ZLNtrnVRB0J22NU2/CdxFP096XibmbmF TPgZ014z9pkUJeqBZgCb+LqDnEj1wZTKn1K9vsS8BP2fRvu8MqEADkgJC4iSAVRExKvH TFVcuQId+YR1/mySwfbskaUpIhXx5/dFTrDmiJpp7n2rpSnm+qhsWDAWEzZyiCmweMeU 9CU49nydxJsRPbqrX5Fma0dooI88HQ/C5U6sM6XS3myuJla2FvTJxSYFijuSF4lPBFeO sK747r7kYb2EQ6Cj1yhQK99qglrQNrSY/svRrKZuJPG4KgceTPFb/EO2bpA2wMtsOfTY lDuw== 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=1qkAO/aGHo5CcrKre6xluwg8dEdIWKSiyZUvz4qO5fI=; b=I1kgqEZ4JwY/42ENw1cpqslD4kcCdiG5OM1NEHJHkx5hJxa9p6IBOogFfnIBmSACo/ 1xcJd6MiIrIHsVzTnd7PUs8xHz//4mhV69hEy+aCaVtjWOUGOOnu9IPcWJ1lBLk8r4p+ I7zIyAZIKY1riuorD79HL+5rUhKwzRJ30Qm1MYj/C1encHNxTCqoATmYORwrM2Ed9w6n Hj4czRaDHF5h3eRBbTADAQBzeVN27p/s2T6jFKYU4dPi6mSjKCXMCNpD5jU0+Sf3qihV xFMe8Tw/J0cZz/qhEt43c+4rH+8v6NCXhTwq3f/tnzaRJogQVYS7EFlMd78IUd4ETpyS UWCg== X-Gm-Message-State: AOAM5325yPvOMGMyfPtP+R6Rh7rAQAeRFsG8foJ9RM1t6O7Nb/8Tnwf0 sJ9I/1IAlXwNwiJ+igqeLjhMog== X-Received: by 2002:a5d:4905:: with SMTP id x5mr1179688wrq.75.1610525311521; Wed, 13 Jan 2021 00:08:31 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:30 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 29/30] drm/nouveau/nv50_display: Remove superfluous prototype for local static functions Date: Wed, 13 Jan 2021 08:07:51 +0000 Message-Id: <20210113080752.1003793-30-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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, 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 build error: drivers/gpu/drm/nouveau/dispnv50/disp.c:2530:1: error: conflicting types for ‘nv50_display_fini’ In file included from drivers/gpu/drm/nouveau/dispnv50/disp.c:71: drivers/gpu/drm/nouveau/nv50_display.h:36:6: note: previous declaration of ‘nv50_display_fini’ was her In file included from drivers/gpu/drm/nouveau/dispnv50/disp.c:71: drivers/gpu/drm/nouveau/nv50_display.h:35:6: note: previous declaration of ‘nv50_display_init’ was here drivers/gpu/drm/nouveau/dispnv50/disp.c:2581:1: error: static declaration of ‘nv50_display_destroy’ follows non-static declaration In file included from drivers/gpu/drm/nouveau/dispnv50/disp.c:71: drivers/gpu/drm/nouveau/nv50_display.h:34:6: note: previous declaration of ‘nv50_display_destroy’ was here Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/nv50_display.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nv50_display.h b/drivers/gpu/drm/nouveau/nv50_display.h index fbd3b15583bc8..2421401d12636 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.h +++ b/drivers/gpu/drm/nouveau/nv50_display.h @@ -31,7 +31,4 @@ #include "nouveau_reg.h" int nv50_display_create(struct drm_device *); -void nv50_display_destroy(struct drm_device *); -int nv50_display_init(struct drm_device *); -void nv50_display_fini(struct drm_device *); #endif /* __NV50_DISPLAY_H__ */ From patchwork Wed Jan 13 08:07:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362063 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp297120jap; Wed, 13 Jan 2021 00:08:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxgmgP31IJfPCSWWwWovsJXyIRXXkQF96rUuLcOSvbaJc6goqISaqk4irR3GzOoUKKPiMYp X-Received: by 2002:a17:902:ba89:b029:dd:7fe3:ddf5 with SMTP id k9-20020a170902ba89b02900dd7fe3ddf5mr1157313pls.33.1610525329929; Wed, 13 Jan 2021 00:08:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525329; cv=none; d=google.com; s=arc-20160816; b=Gu1l+a1yguf1tgB+rXUaNad+QhVDEsK5qUSoskCsBnglO4RflLhxyCAKFbB9sGbC/A 03zElkqOhMY8uNc3XQ+cRVIq0hFoRmnhudUnIpk23EnEh876vRnRI7oWhUgtnZUMPlzP F4kGHuS5kpVVYcQmhqtGYLjjyEnBdqCLVMwWQfjx4cQ2VlU2qtnpwH69GfZFstRiwaEs ff7La3kNnfDp5wyVfSFyxXoFdiSZ8QcMhM89shYN3TgpeUOqBltBuhE+crYFYsufXjU9 d1TALEbXQmWN1gX9WILLipGfLSCJ3Cvz7ub6y1sT/PKfXBEPvRa23v8MstSIeZDMJi4U 9R9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=kGCurD2IhIbWs8oDgE4eOafpQZQFYgj3m95oe/00pCo=; b=R2TmSZLfxF0FyJwZkJMhzcV3uHp9yrFRJAYbidj+qfyrbHCQM5I/zkBGqnLZ6Fq5UY IyNgcj5hKr2qJqg5thYjqmzaj0BjJ1n4U+auqfLyCy3CBIwj5R/jYnK7Er2XDBTo87d+ 58gHtbxk8qN0Fm0tVeGpcM0NbTR+iEWhPm+KlAOi6XZWn4248SKU/00+wv/xGWO7+YXH hCryz8OBwYWGeZp6+AihdGXz25w6fN5e5dh7xFJ56bYpm3xLuz0pJxxozQlDMgBjj2sM utNnujQK+7D9HjwomxoCwsl7egq836P6Db9jQszQuR1peDbqIOa+hON4JQU0/4lKeCfP B05g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ITSzPdTH; 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 g23si1557931plj.385.2021.01.13.00.08.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:49 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ITSzPdTH; 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 94D7D6E0D2; Wed, 13 Jan 2021 08:08:42 +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 D9D566E0AF for ; Wed, 13 Jan 2021 08:08:33 +0000 (UTC) Received: by mail-wr1-x42d.google.com with SMTP id t30so1092989wrb.0 for ; Wed, 13 Jan 2021 00:08:33 -0800 (PST) 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=S4npnZBZUdB9VpRylBzLja8pV22PiHGoMVGeBjYnlKk=; b=ITSzPdTHABER1VheL/3HTMsa+peAOHNXWe9qQVNaliJwdCllNgkrjqNGUnnUoW1L8f TdK83gGX3FP7vDXmcFOgJx7vm9TGReb81hw6E4oTH2UM1IL3zW+q4gHPxvPDvd5AjKLm Gs+Fq4hVcFU/+NCK9s027XGyClxfE7KC/iXRoIU7sHz+fsTZAVPw6tV+wEsphAIL4kdI vHHXbjRGuiWVqmI3Q42dhbmNicEJpdsE38hcFJOwBPnn4jEboyFgMChQtAy+mNGDRQjX oTNmSqc/Gg8k9NpklmMiKL/QTj+29a6HQsHmlyC25nwS1XH3rQt7Qi7xdVTyOam0d9fo bzNw== 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=S4npnZBZUdB9VpRylBzLja8pV22PiHGoMVGeBjYnlKk=; b=bZNC8ijmwbaSyNB/peOG0Ky88XOPcNkjdfjF+FSnyw4uZZ9QjMYDLkaRS8W7KP9Hy3 W/VqQkwPRB+IBWNDFLCBTdiMoogGenACplf7IJk244+EEXm9bYMPUAaai2rY2ZLRGW7c F/60v5NOn7kPutrpuMq5PM1tNDYg+tkle8nJbv8UOQjGZjQKI6VAVzM5H0N38zWSzbFz ruDmh76OPgDXCpJNWYfaaP6cPhmmJLfuYU1H2NaW3SL9BdNoCTsgYHrKPAf8POEsWb8T Gdc2AhKjK1tikNykpqx9RrekuHWspUO4+0S6QTN/ZgR9c1eMbMRzXzJJ2WADBo+Nzhxh zUvA== X-Gm-Message-State: AOAM531iaacs2W9UWezZOtnEJbUa3wHUXMAPqk0muITUcXSR3xpOROBU WDStzzdjMMjZxhXasIS15BhbYQ== X-Received: by 2002:adf:f989:: with SMTP id f9mr1164742wrr.299.1610525312650; Wed, 13 Jan 2021 00:08:32 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:32 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 30/30] drm/nouveau/dispnv50/disp: Include header containing our prototypes Date: Wed, 13 Jan 2021 08:07:52 +0000 Message-Id: <20210113080752.1003793-31-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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, 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/dispnv50/disp.c:2599:1: warning: no previous prototype for ‘nv50_display_create’ [-Wmissing-prototypes] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c b/drivers/gpu/drm/nouveau/dispnv50/disp.c index 809a9b20a6899..d82965893b6bc 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/disp.c +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c @@ -68,6 +68,8 @@ #include +#include "nv50_display.h" + /****************************************************************************** * EVO channel *****************************************************************************/