From patchwork Fri Jan 8 20:14:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 359026 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp855376jai; Fri, 8 Jan 2021 12:15:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKQzVw0uhGCWnogSJnIs0jUT2GpQF/BnRv/PCQ7eg5Pv9uZ3rdNtldKypmpa+vMNhADvJ2 X-Received: by 2002:a63:6241:: with SMTP id w62mr8717792pgb.67.1610136909629; Fri, 08 Jan 2021 12:15:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610136909; cv=none; d=google.com; s=arc-20160816; b=qBpy6MkQ93GRw3MegKY1c9wcPZF86JXKUm84ld1V5/dGvsyVajfZxHJdoiA2j3kjCU bofOzUK7gTkle6EB3DcFPNLfvJMugi/Nf4Fmi2wTcxQx7lorR9umH9BSuIXBojZP0Khx D1VOIO5tGXRE/XoKucvnezWcvete1blJ0UkkfWK/ygHRA6Nds9mrQVlWwxzZpStpNV3s Y+gpysj47KXjpmmPHh4CbsmPLAriyjZVFShCDXdIvSR6JM5NS+Y0qR912vrCNN9/GMxN 6YHnHZiPApEfqfXyiZGdGW0B671c3inObfIm+wTZpn8HMcW0tgUlOXL9qAAtWJq9UiES Z4Hg== 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:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=MW9/CbAjJL+uANmSrV0MA3a+9AogVFUx9sEseGuveYM=; b=L+dgHZhDTtEv4WQ63YllfB33TxCkJUwSrsEfmyC85/pKwDMcjEguP41VTgt1dgueeB 6xgfIboGtT23r5jpMcnoCKnCn3xdXBeqC8htS7tR/02PWPtYVfCrobfkjI9/3P9+d6uG iNq05UiR9LCQP7IgeWwj0uCykt8DbKoq02uP4fwC4Hz+VPpnjASlyEWqO4iNsFS/GQw3 JuYltdJHd9yrwLFGQect4plVuW/FvzzdqJfuPl/tD3mohCPvLBy253AwNYCZH6Lj5Rgq g7aIy9KhyWH2sec1U3b29LKS/9jrx7sR+7a9Ep3J4tACyW1iBAcFsubNCSVty/9HJOO6 1qaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EpUldkEu; 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 h9si10156767pll.439.2021.01.08.12.15.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:09 -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=EpUldkEu; 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 CF6D76E8C2; Fri, 8 Jan 2021 20:15:05 +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 397CE6E8C3 for ; Fri, 8 Jan 2021 20:15:04 +0000 (UTC) Received: by mail-wm1-x32b.google.com with SMTP id c133so8744649wme.4 for ; Fri, 08 Jan 2021 12:15: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:mime-version :content-transfer-encoding; bh=QeXXbkShC0KTgz4n+dtT2axDbKBu7SEofVtSgTaHdlA=; b=EpUldkEu63PuzXZYe8Jr/P+khJQOipAojDEohRiyHCTrwR0wQhBpn8uRQqxNWXdbFI L+dS4H5R6ZR6Nq1EnbNFG4xu1Ac1uz9nb8rmmiRJbO1/yFtULhfWjvOc+2S1rkJnnPpu 8Cwz3Ikl8cVre8c+OOmS2DtGaPSKre5SgJiCEFW9g5mO9CXo9AnmUwcr8T0m/4djIU/b ePHEJmMElk7oomdFJSXWhoidk98MWCrwHKc57ySEpTtXRKe6wXQwusjsoBXeE9/zJaH8 VeS5jFRmNpp+hqFVRac36sBQtcWD0EQMs+ioyWScgxcBIkYyXe3EQSenusSG1dL1dbhZ 0ZEQ== 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:mime-version :content-transfer-encoding; bh=QeXXbkShC0KTgz4n+dtT2axDbKBu7SEofVtSgTaHdlA=; b=fphBptRIUYRHNkjG61CrikO0u18iG3qNLnwK3BdTTTLq2HnMkwvtN5CZi1JSItOz8A Fm/r+Hy53mUdQZ+jV9VkT63ravKo9zopxrpSHaP4hN/atOBYUKrIYoXOaNtW+hZI3LuO Xh1Lz22g/v2N3C2rCin8U8Sakgpl2QWVaoGIO8LVkSUOfRQslSBmT0iTuFgBh2k2Vn6f tcLWzf+lbxqnoIhOwa1IQdaeiOGHrijddYZdnta0F0TTQslzgbrowWrciSqTsMtgH4gw w8BXLcamAvZItY4/fUYVIUtCbF4rvh7skNe5wALu7lAwZKIl1GDn81pm4SSAzUQaLl6U pEJw== X-Gm-Message-State: AOAM530sxNRvZBRorqsbjRbX7O8tDfqPV10afqEZdOtAOWTU6BC7KYMs xTCbDA5SLL7+CM9sGBw/gemSnQ== X-Received: by 2002:a1c:c308:: with SMTP id t8mr4593743wmf.22.1610136902655; Fri, 08 Jan 2021 12:15:02 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.14.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:01 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 00/40] [Set 11] Rid W=1 warnings from GPU Date: Fri, 8 Jan 2021 20:14:17 +0000 Message-Id: <20210108201457.3078600-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 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: Lewis Huang , David Airlie , Feifei Xu , Mauro Rossi , dri-devel@lists.freedesktop.org, Qinglang Miao , Wyatt Wood , Anthony Koo , Charlene Liu , Krunoslav Kovac , Sean Paul , Mikita Lipski , amd-gfx@lists.freedesktop.org, Eric Bernstein , Ben Skeggs , George Shen , Thomas Zimmermann , Leo Li , linux-arm-msm@vger.kernel.org, Kuogee Hsieh , nouveau@lists.freedesktop.org, Evan Quan , Bhawanpreet Lakha , Eryk Brol , Felix Kuehling , linux-kernel@vger.kernel.org, Igor Kravchenko , Alex Deucher , freedreno@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , Hawking Zhang Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. 300 out of 5000 left! Lee Jones (40): drm/nouveau/nvkm/subdev/bios/init: Demote obvious abuse of kernel-doc drm/nouveau/dispnv50/disp: Remove unused variable 'ret' drm/msm/dp/dp_display: Remove unused variable 'hpd' drm/amd/amdgpu/amdgpu_ih: Update 'amdgpu_ih_decode_iv_helper()'s function header drm/amd/amdgpu/vega20_ih: Add missing descriptions for 'ih' and fix spelling error drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0: Provide description of 'call_back_func' drm/amd/pm/powerplay/hwmgr/ppatomctrl: Fix documentation for 'mpll_param' drm/amd/pm/powerplay/hwmgr/vega12_hwmgr: Fix legacy function header formatting drm/amd/pm/powerplay/hwmgr/vega20_hwmgr: Fix legacy function header formatting drm/amd/pm/powerplay/hwmgr/smu7_hwmgr: Fix formatting and spelling issues drm/amd/pm/powerplay/hwmgr/hwmgr: Move prototype into shared header drm/amd/pm/powerplay/hwmgr/vega10_hwmgr: Fix a bunch of kernel-doc formatting issues drm/amd/display/dc/basics/conversion: Demote obvious kernel-doc abuse drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs: Demote non-kernel-doc comment blocks drm/amd/display/dc/bios/command_table_helper: Fix kernel-doc formatting drm/amd/display/dc/bios/command_table_helper2: Fix legacy formatting problems drm/amd/display/dc/bios/bios_parser: Make local functions static drm/amd/display/dc/bios/bios_parser: Fix a whole bunch of legacy doc formatting drm/amd/display/dc/bios/command_table: Remove unused variable include: drm: drm_atomic: Make use of 'new_plane_state' drm/amd/display/dc/calcs/dce_calcs: Remove unused variables 'v_filter_init_mode' and 'sclk_lvl' drm/amd/display/dc/bios/bios_parser2: Fix some formatting issues and missing parameter docs drm/amd/display/dc/dce/dce_audio: Make function invoked by reference static drm/amd/display/dc/dce/dce_stream_encoder: Remove unused variable 'regval' drm/amd/display/dc/dce/dce_link_encoder: Make functions invoked by reference static drm/amd/display/dc/dce/dce_clock_source: Fix formatting/spelling of worthy function headers drm/amd/pm/powerplay/hwmgr/vega10_hwmgr: Fix worthy function headers, demote barely documented one drm/amd/display/dc/dce/dce_transform: Remove 3 unused/legacy variables drm/amd/display/dc/dce/dce_dmcu: Staticify local function call 'dce_dmcu_load_iram' drm/amd/display/dc/dce/dce_dmcu: Move 'abm_gain_stepsize' to only source file it's used in drm/amd/display/dc/dce/dce_opp: Make local functions and ones invoked by reference static drm/amd/display/dc/dce/dce_aux: Remove unused function 'get_engine_type' drm/nouveau/nvkm/subdev/volt/gk20a: Demote non-conformant kernel-doc headers drm/amd/display/dc/bios/bios_parser: Fix misspelling of function parameter drm/amd/display/dc/bios/command_table: Remove unused variable and associated comment drm/amd/display/dc/dce/dce_i2c_hw: Make functions called by reference static drm/amd/display/dc/dce/dce_i2c_sw: Make a bunch of local functions static drm/amd/display/dc/dce/dce_panel_cntl: Remove unused variables 'bl_pwm_cntl' and 'pwm_period_cntl' drm/amd/display/dc/dce/dmub_psr: Demote non-conformant kernel-doc headers drm/amd/display/dc/gpio/hw_factory: Delete unused function 'dal_hw_factory_destroy' drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | 2 + drivers/gpu/drm/amd/amdgpu/vega20_ih.c | 5 +- .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 4 +- .../drm/amd/display/dc/basics/conversion.c | 9 +- .../gpu/drm/amd/display/dc/bios/bios_parser.c | 119 +++++----- .../drm/amd/display/dc/bios/bios_parser2.c | 29 ++- .../drm/amd/display/dc/bios/command_table.c | 16 +- .../display/dc/bios/command_table_helper.c | 20 +- .../display/dc/bios/command_table_helper2.c | 20 +- .../gpu/drm/amd/display/dc/calcs/dce_calcs.c | 8 +- .../gpu/drm/amd/display/dc/dce/dce_audio.c | 2 +- drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 6 - .../drm/amd/display/dc/dce/dce_clock_source.c | 57 +++-- drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c | 6 +- drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h | 2 - .../gpu/drm/amd/display/dc/dce/dce_i2c_hw.c | 4 +- .../gpu/drm/amd/display/dc/dce/dce_i2c_sw.c | 9 +- .../drm/amd/display/dc/dce/dce_link_encoder.c | 6 +- drivers/gpu/drm/amd/display/dc/dce/dce_opp.c | 8 +- .../drm/amd/display/dc/dce/dce_panel_cntl.c | 8 +- .../amd/display/dc/dce/dce_stream_encoder.c | 3 +- .../drm/amd/display/dc/dce/dce_transform.c | 13 -- drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c | 22 +- .../gpu/drm/amd/display/dc/gpio/hw_factory.c | 14 -- .../gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c | 2 +- .../drm/amd/pm/powerplay/hwmgr/ppatomctrl.c | 4 +- .../powerplay/hwmgr/process_pptables_v1_0.c | 1 + .../drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 4 +- .../drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c | 137 ++++++------ .../drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.h | 1 + .../drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c | 11 +- .../drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c | 11 +- drivers/gpu/drm/msm/dp/dp_display.c | 3 - drivers/gpu/drm/nouveau/dispnv50/disp.c | 3 +- .../gpu/drm/nouveau/nvkm/subdev/bios/init.c | 204 ++++++------------ .../gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c | 4 +- include/drm/drm_atomic.h | 3 +- 37 files changed, 325 insertions(+), 455 deletions(-) Cc: Alex Deucher Cc: amd-gfx@lists.freedesktop.org Cc: Anthony Koo Cc: Ben Skeggs Cc: Bhawanpreet Lakha Cc: Charlene Liu Cc: "Christian König" Cc: Daniel Vetter Cc: David Airlie Cc: dri-devel@lists.freedesktop.org Cc: Eric Bernstein Cc: Eryk Brol Cc: Evan Quan Cc: Feifei Xu Cc: Felix Kuehling Cc: freedreno@lists.freedesktop.org Cc: George Shen Cc: Harry Wentland Cc: Hawking Zhang Cc: Igor Kravchenko Cc: Krunoslav Kovac Cc: Kuogee Hsieh Cc: Lee Jones Cc: Leo Li Cc: Lewis Huang Cc: linux-arm-msm@vger.kernel.org Cc: Maarten Lankhorst Cc: Mauro Rossi Cc: Maxime Ripard Cc: Mikita Lipski Cc: nouveau@lists.freedesktop.org Cc: Qinglang Miao Cc: Rob Clark Cc: Sean Paul Cc: Thomas Zimmermann Cc: Wyatt Wood