From patchwork Tue Nov 24 19:37:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 331406 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp795274ilb; Tue, 24 Nov 2020 11:44:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJyatys28qkAQbNRLLnhbGuGzUO3fgB4mm3inJVxHVi+oUCPdX80r7h1zSW+HHEf9vZQRsc4 X-Received: by 2002:a17:90a:a08f:: with SMTP id r15mr207550pjp.118.1606247043987; Tue, 24 Nov 2020 11:44:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606247043; cv=none; d=google.com; s=arc-20160816; b=RnBE6LWLgq9Y1cHyYR+p9tGFI8soNPjKrRzZ/97rFRwcvpJQzEMYD1E+kQMCkUcKv2 uR38MP2s6c9gqpcCF9iQyQ8ZA64U1JZ2aVpHIRwbDqRjnxYw7lwr9vGp9va0e49XqYDF 22rnSf+UvACCzYIqpS/omlhAzCXcnRbL4mYiQim0cf/Aew34VIpY3hUV0MaMMiHV1/U7 q1JhT5bAG9zE2co42Z9or0S7FmAvUXJq3DXWpsn9HQAEkBpXbsaVLoLzDhTztnlsPkSR sNKWgntayto0rbf28acw3M4+wZzCMo7XZ8hx+JduCzCXrlpTDHfpBQgkaMPIScRmjZnI MDrw== 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=CSoPHTQCELbQDdqI8n3Obwc9+VCIDi53cfzn0lPFr0g=; b=LGg4hPjVggqjsJ5PhBEoxmpZdw7QYcxNQPhtjPUmTS3Lc2zxeokx8+63cQtV7CBQw8 yhpkBmEd/6a7PTikJHMFf/tMVZcAi4JGGl2fsiHxE9byxU5iXKTGOOUQSzEUzrxg17np q9zsZqPcLnsgCvZojqexBRBcxzVdbO4+JIFIprXCcvcSsJzBCVqOkIExGKyDzg90VJpU RrPlVqvfXzszYhklkl+aoKoIBKpqsQFO86T1ersP+ETrpo3Ie73X/nRXRSnxv6aVQ+hJ bmLt0Mw5IuPx/ujRV6WykxFr7dY1Bw0ssr5QSFTLF/IrYpdnm4JIvG9KJuvWjUj9OBVP hUZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=B9SSFTWY; 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 g17si60150plo.55.2020.11.24.11.44.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:44:03 -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=B9SSFTWY; 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 7B1ED6E52C; Tue, 24 Nov 2020 19:44:02 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0F4B26E52C for ; Tue, 24 Nov 2020 19:44:00 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id i2so4500976wrs.4 for ; Tue, 24 Nov 2020 11:44:00 -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=+qzn/zwustkhPmm6CPPvaOjBdBZotgdBHz7Gg1/2/58=; b=B9SSFTWYkJpiwdzRTlbdHtktygIWmK53ASYuVZxUzuQ/n1vdExE4t/Iq2OQHpgTdWM YlKwnbJKP5QefHzbj/myTyinENyhQsB7HoOOfzDWAp9aUzPFBBw0yI80nn/3vqXq5DVJ ZobyMQYvz80ZlKbkAjM6KAwcpej9zSG6WeFQ0mKpsNjL0MZ7A+ScztanbQvNq36BAcFw xIyC43sKRK8Vu7yEZdARdFcS7JjbTz8FDyCyw7Y1z02y7eDNahEd7L3cyWfRusNmXTI6 OQY8lpGqKcIfvMyPrWMx0AMt3UOBnf7ZmQBWnETACGzEEucHC04NgO66a6oIEu6A5zIY ql4g== 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=+qzn/zwustkhPmm6CPPvaOjBdBZotgdBHz7Gg1/2/58=; b=ioMCDjPG+6unxjQLJ302PFLlGUJekRwwdg36YzyR2op2yuJRia+ocpBPIJ1uZ2RH/B 9vYHVPlHvQEQhHSSp+iCAd3OOJgLpQixnwVmuANI4VfHJQSJ6wgfh4nQG5e8MKd2iB40 oN6Q+QlfqVwFYqmES1fmvPowAHXaJ1SpghSsKnYa5+t9D3XNlpCLG3gkJDLoHeNm/P5n uIXfH3lroy2iUr/IcY50cI+mzj1jOOk6hHytb5aY9t6OIWYbRnushlW1QtX32vXpeXh+ k36UXnWKYb1XF2IwV6sbzbanTne8YWvR5wLDb51oc11U9AKPbJ4XdPypy6pdLcKHbxcu nEbQ== X-Gm-Message-State: AOAM5321Z3jDm7gpKUxdL5e2t1WN7nNdFepnHsRhSxl8xb/jdQEKuwX9 gmJgTjwVlsxu2qb5Kkjw0k9q4w== X-Received: by 2002:a5d:51c2:: with SMTP id n2mr92041wrv.326.1606247039596; Tue, 24 Nov 2020 11:43:59 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id d134sm200511wmd.8.2020.11.24.11.43.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:43:58 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 00/40] [Set 9] Rid W=1 warnings from GPU Date: Tue, 24 Nov 2020 19:37:44 +0000 Message-Id: <20201124193824.1118741-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: Alex Sierra , Zhigang Luo , David Airlie , dri-devel@lists.freedesktop.org, Nirmoy Das , Chandan Uddaraju , amd-gfx@lists.freedesktop.org, Luben Tuikov , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, Veerabadhran G , linaro-mm-sig@lists.linaro.org, Evan Quan , Sean Paul , Kuogee Hsieh , Xiaojian Du , linux-kernel@vger.kernel.org, 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. 730 out of 5000 left. Lee Jones (40): drm/msm/msm_gem_shrinker: Fix descriptions for 'drm_device' drm/amd/amdgpu/gmc_v10_0: Suppy some missing function doc descriptions drm/msm/adreno/a6xx_gpu_state: Make some local functions static drm/amd/amdgpu/iceland_ih: Add missing function param descriptions for 'ih' and 'entry' drm/amd/amdgpu/tonga_ih: Provide some missing descriptions for 'ih' and 'entry' drm/amd/amdgpu/cz_ih: Add missing function param descriptions for 'ih' and 'entry' drm/amd/amdgpu/amdgpu_psp: Make local function 'parse_ta_bin_descriptor' static drm/msm/dp/dp_ctrl: Move 'tu' from the stack to the heap drm/amd/amdgpu/vega10_ih: Add descriptions for 'ih' and 'entry' drm/amd/amdgpu/navi10_ih: Add descriptions for 'ih' and 'entry' drm/amd/amdgpu/psp_v11_0: Make local function 'psp_v11_0_wait_for_bootloader()' static drm/amd/amdgpu/dce_v10_0: Supply description for function param 'async' drm/amd/amdgpu/dce_v11_0: Supply description for function param 'async' drm/amd/amdgpu/gfx_v9_0: Make called-by-reference only function static drm/amd/amdgpu/gfx_v8_0: Functions must follow directly after their headers drm/amd/amdgpu/gfx_v10_0: Remove a bunch of set but unused variables drm/amd/amdgpu/sdma_v2_4: Fix a bunch of kernel-doc function documentation issues drm/amd/amdgpu/sdma_v3_0: Fix a bunch of kernel-doc function documentation issues drm/amd/amdgpu/sdma_v3_0: Fix incorrect param doc-rot issue drm/amd/amdgpu/uvd_v5_0: Fix a bunch of kernel-doc function documentation issues drm/amd/amdgpu/sdma_v4_0: Repair a bunch of kernel-doc problems drm/amd/amdgpu/amdgpu_uvd: Fix some function documentation headers drm/amd/amdgpu/sdma_v5_0: Provide some missing and repair other function params drm/amd/amdgpu/sdma_v5_2: Provide some missing and repair other function params drm/amd/amdgpu/amdgpu_vce: Provide some missing and repair other function params drm/amd/amdgpu/uvd_v6_0: Fix a bunch of kernel-doc function documentation issues drm/amd/amdgpu/uvd_v7_0: Fix a bunch of kernel-doc function documentation issues drm/amd/amdgpu/gfx_v10_0: Make local function 'gfx_v10_0_rlc_stop()' static drm/amd/amdgpu/vcn_v1_0: Fix a few kernel-doc misdemeanours drm/amd/amdgpu/jpeg_v1_0: Add some missing function param descriptions drm/amd/amdgpu/jpeg_v2_0: Add some missing kernel-doc descriptions drm/amd/amdgpu/vcn_v2_0: Fix a few kernel-doc misdemeanours drm/amd/amdgpu/vcn_v3_0: Remove unused variable 'direct_poll' from 'vcn_v3_0_start_sriov()' drm/amd/amdgpu/amdgpu_acp: Fix doc-rot issues pertaining to a couple of 'handle' params drm/amd/pm/swsmu/smu11/vangogh_ppt: Make local function 'vangogh_set_default_dpm_tables()' static drm/amd/pm/inc/smu_v11_0: Mark 'smu11_thermal_policy' as __maybe_unused drm/amd/pm/swsmu/smu12/renoir_ppt: Demote kernel-doc formatting abuse drm/amd/pm/swsmu/smu11/navi10_ppt: Remove unused 'struct i2c_algorithm navi10_i2c_algo' drm/amd/pm/powerplay/smumgr/fiji_smumgr: Remove unused variable 'result' drm/amd/amdgpu/amdgpu_uvd: Add description for amdgpu_uvd_cs_msg_decode()'s 'buf_sizes' param drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 19 +- drivers/gpu/drm/amd/amdgpu/cz_ih.c | 4 + drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 1 + drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 1 + drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 11 +- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 4 + drivers/gpu/drm/amd/amdgpu/iceland_ih.c | 4 + drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c | 7 +- drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/navi10_ih.c | 5 + drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 16 +- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 16 +- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 22 +- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 19 +- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 19 +- drivers/gpu/drm/amd/amdgpu/tonga_ih.c | 4 + drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c | 10 +- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 21 +- drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 21 +- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 14 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 15 +- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 4 - drivers/gpu/drm/amd/amdgpu/vega10_ih.c | 5 + drivers/gpu/drm/amd/pm/inc/smu_v11_0.h | 3 +- .../drm/amd/pm/powerplay/smumgr/fiji_smumgr.c | 13 +- .../gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c | 204 ----------- .../gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 9 +- .../gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 4 +- drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 6 +- drivers/gpu/drm/msm/dp/dp_ctrl.c | 338 +++++++++--------- drivers/gpu/drm/msm/msm_gem_shrinker.c | 4 +- 37 files changed, 378 insertions(+), 474 deletions(-) Cc: Alex Deucher Cc: Alex Sierra Cc: amd-gfx@lists.freedesktop.org Cc: Chandan Uddaraju Cc: "Christian König" Cc: Daniel Vetter Cc: David Airlie Cc: dri-devel@lists.freedesktop.org Cc: Evan Quan Cc: freedreno@lists.freedesktop.org Cc: Hawking Zhang Cc: Kuogee Hsieh Cc: linaro-mm-sig@lists.linaro.org Cc: linux-arm-msm@vger.kernel.org Cc: linux-media@vger.kernel.org Cc: Luben Tuikov Cc: Nirmoy Das Cc: Rob Clark Cc: Sean Paul Cc: Sumit Semwal Cc: Veerabadhran G Cc: Xiaojian Du Cc: Zhigang Luo