From patchwork Fri Nov 13 13:48:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11903397 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C5D591668 for ; Fri, 13 Nov 2020 13:50:16 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8202722248 for ; Fri, 13 Nov 2020 13:50:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="af2xQMVF"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="pUV4xAYS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8202722248 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=7N990UM0yQgavx3bEH+LK0A1Kkv4IbtHs+kazTQyPSI=; b=af2xQMVFAPCYZLupj5qt4dC1fE w5Ljjlmj8AWuaEcL9WFxmzhd4uisJM3wOKIF7MiFh5u568NSMBZOd/SlGvbykWa3DItw7hoaLkbDm 8GeX3e7c6rgt1bhlzdfPBuB7G3DJ10TBU4HTuwmj4OFb5tC+QtqKSJVDwIZ35hoeGKcW/F2JqYr2D D3Or1PQcqSrx3x1nTyJP+nMjtqpJ5pKw8G111sskvRYpUbA3OKHM1+liZhYT9tKT8dj6LgeloEhkF HOMFHJpP+BqqJw5fDE1vLvc8FH0Mb3/QqOU7pKlNwbuA6NbZe04VROWxggQITjz+6eEZPpBO8jRKe rgirEeIQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdZSY-00071O-06; Fri, 13 Nov 2020 13:49:50 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdZSS-0006y7-BP for linux-amlogic@lists.infradead.org; Fri, 13 Nov 2020 13:49:46 +0000 Received: by mail-wr1-x436.google.com with SMTP id r17so10018603wrw.1 for ; Fri, 13 Nov 2020 05:49:43 -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=WyNuXCVQx1RiXbGVlsoSFjQskftsnSEq5QsbaFWLc8c=; b=pUV4xAYSW0aqWu4AgWE4Gu2ONVq/tvb+WU7dXYssWQBu4ISundyt8NUCtc3f8rsBFW Xzm7UqTQy9pLCI/Jxq8tXwTjvV9mAN0N/fYkswK2OI2Gd3vVh4RZq0Q7nx39lnCo67Cp pEYP24JGpSOFpO59d+XKbaCuVBYmcsuh6Ya7jp7hTFthga1+7G1qtIzymeh3egKNH5FQ RCyoD1ye0kCX5gf0nYlh2yzcpQYVHocfXme6+rV2peCwPODI6UKj/W9usL5uEjZfG+i7 72xj5tJLfB+E0cwDCs2xg0uE3/2741OYcjK9rE93doNXXcVCb1DVU1qo7MiVcBCdgwGc wpQw== 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=WyNuXCVQx1RiXbGVlsoSFjQskftsnSEq5QsbaFWLc8c=; b=kXGdwd0LI2psDWRfHRWtM9Yh0kbIVRMTkuFS9aWJFiyiZoahgyd+d2GrDiMal2Gr2P 62bTXpQK0Kc1+a4FSFJQJwVvtZtndqnqMj9KS1gcBV0HRTWIgRp8dfV107quVqdmQ0Pu p9WQqg4zNa1bRWncS5fcKa8MuJEzCo4PVIswUOwrvtpGvGY5riyWhqQYdE78dwBAXXB9 CvD0WTsyTFWT7nqCj0NUtIMhlkDLIptBYObsC+uWtDt+v88x729NXPFgdQViH1ob3aZk JxMoJklkPebzU7FC0XiN5ny7B0UuTF4PbRKP8tOUH8iRJ5EW6lC5Tv4FbshwV+wCn0g+ AmXw== X-Gm-Message-State: AOAM531a2zn1S82wOn9tD7/ZPn4GtJyT1YjdC+IOMZPEd2w3Sjrpo8pE k0J4RRXrKmOTLtKfgL96i8LVCg== X-Google-Smtp-Source: ABdhPJzuhrz0RkDiGvF0LEw8t6raG5YB/yTSg1tZvfa/F31g8zu8pmDVbzFZxyxSqiLSK4ZsfQOcgg== X-Received: by 2002:adf:f808:: with SMTP id s8mr3615050wrp.257.1605275382853; Fri, 13 Nov 2020 05:49:42 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:42 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 00/40] [Set 7] Rid W=1 warnings from GPU Date: Fri, 13 Nov 2020 13:48:58 +0000 Message-Id: <20201113134938.4004947-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201113_084944_476982_E30863A7 X-CRM114-Status: GOOD ( 14.54 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:436 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , David Airlie , Linus Walleij , dri-devel@lists.freedesktop.org, Eric Anholt , Thierry Reding , Sam Ravnborg , Sumit Semwal , Jerome Brunet , lima@lists.freedesktop.org, Kevin Hilman , amd-gfx@lists.freedesktop.org, Martin Blumenstingl , Luben Tuikov , Andres Rodriguez , YT SHEN , Harry Wentland , linux-media@vger.kernel.org, Chun-Kuang Hu , Philipp Zabel , Leo Li , linux-arm-msm@vger.kernel.org, Maarten Lankhorst , Maxime Ripard , linaro-mm-sig@lists.linaro.org, linux-mediatek@lists.infradead.org, Kalyan Thota , Matthias Brugger , linux-amlogic@lists.infradead.org, John Clements , linux-arm-kernel@lists.infradead.org, Sean Paul , Jie Qiu , Thomas Zimmermann , Felix Kuehling , linux-kernel@vger.kernel.org, Monk.liu@amd.com, Rob Clark , Qiang Yu , Daniel Vetter , Alex Deucher , freedreno@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , Hawking Zhang Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org 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. This brings the running total from 5000 (in v5.9) down to 1400! Hopefully not too much more to go now. Lee Jones (40): drm/amd/include/vega10_ip_offset: Mark _BASE structs as __maybe_unused drm/amd/display/dc/core/dc_link_dp: Move DP_VGA_LVDS_CONVERTER_ID_{2,3} to where they're used drm/amd/display/dc/core/dc_link_ddc: Move DP_DVI_CONVERTER_ID_{4,5} to where they're used drm/amd/amdgpu/amdgpu_drv: Move 'amdgpu_info_ioctl()'s prototype to shared header drm/amd/amdgpu/amdgpu_ring: Fix misnaming of param 'max_dw' drm/msm/adreno/a6xx_gpu: Staticise local function 'a6xx_idle' drm/mediatek/mtk_disp_rdma: Fix formatting and supply missing struct member description drm/amd/amdgpu/amdgpu_ib: Fix some incorrect/incomplete function documentation drm/mediatek/mtk_drm_crtc: Demote seriously out-of-date struct header drm/mediatek/mtk_drm_drv: Staticise local function invoked by reference drm/amd/amdgpu/amdgpu_pll: Fix kernel-doc formatting, missing and extra params drm/pl111/pl111_display: Make local function static drm/panel/panel-tpo-tpg110: Correct misnaming and supply missing param description drm/meson/meson_venc: Make local function 'meson_venc_hdmi_get_dmt_vmode' static drm/lima/lima_drv: Demote kernel-doc formatting abuse drm/amd/amdgpu/amdgpu_sync: Fix misnamed, missing and extra param descriptions drm/meson/meson_vclk: Make two local functions static drm/mediatek/mtk_dpi: Remove unused struct definition 'mtk_dpi_encoder_funcs' drm/amd/amdgpu/amdgpu_vram_mgr: Add missing descriptions for 'dev' and 'dir' drm/pl111/pl111_debugfs: Make local function 'pl111_debugfs_regs()' static drm/amd/amdgpu/amdgpu_virt: Make local function 'amdgpu_virt_update_vf2pf_work_item()' static drm/amd/amdgpu/amdgpu_sched: Consume our own header containing prototypes drm/lima/lima_sched: Remove unused and unnecessary variable 'ret' drm/amd/amdgpu/amdgpu_ids: Supply missing docs for 'id' and 'vmhub' drm/amd/amdgpu/amdgpu_debugfs: Demote obvious abuse of kernel-doc formatting drm/amd/amdgpu/amdgpu_gmc: Demote one and fix another function header drm/amd/amdgpu/amdgpu_ras: Remove unused function 'amdgpu_ras_error_cure' drm/amd/amdgpu/amdgpu_ras: Make local function 'amdgpu_ras_error_status_query' static drm/amd/amdgpu/amdgpu_csa: Remove set but unused variable 'r' drm/amd/amdgpu/amdgpu_vm_cpu: Fix 'amdgpu_vm_cpu_prepare()'s doc-rot drm/amd/amdgpu/amdgpu_vm_sdma: Fix 'amdgpu_vm_sdma_prepare()'s doc-rot drm/msm/disp/mdp5/mdp5_crtc: Make local function 'mdp5_crtc_setup_pipeline()' static drm/drm_dp_mst_topology: Remove set but never used variable 'len' drm/msm/disp/mdp5/mdp5_ctl: Demote non-conformant kernel-doc headers drm/msm/disp/mdp5/mdp5_kms: Make local functions 'mdp5_{en,dis}able()' static drm/amd/amdgpu/amdgpu_fw_attestation: Consume our own header containing prototypes drm/amd/amdgpu/smu_v11_0_i2c: Provide descriptions for 'control' and 'data' params drm/msm/disp/dpu1/dpu_core_perf: Remove set but unused variable 'dpu_cstate' drm/msm/disp/dpu1/dpu_encoder: Remove a bunch of unused variables drm/amd/amdgpu/gfx_v7_0: Remove unused struct definition drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 +- .../drm/amd/amdgpu/amdgpu_fw_attestation.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_kms.h | 31 ++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c | 10 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 11 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 2 + drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 9 --- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h | 1 - drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c | 3 + .../gpu/drm/amd/display/dc/core/dc_link_ddc.c | 4 + .../gpu/drm/amd/display/dc/core/dc_link_dp.c | 5 ++ .../amd/display/include/ddc_service_types.h | 8 -- .../gpu/drm/amd/include/vega10_ip_offset.h | 76 +++++++++---------- drivers/gpu/drm/drm_dp_mst_topology.c | 4 +- drivers/gpu/drm/lima/lima_drv.c | 2 +- drivers/gpu/drm/lima/lima_sched.c | 3 +- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 5 +- drivers/gpu/drm/mediatek/mtk_dpi.c | 9 --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 4 +- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 4 +- drivers/gpu/drm/meson/meson_vclk.c | 8 +- drivers/gpu/drm/meson/meson_venc.c | 4 +- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c | 3 - drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 12 +-- drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c | 6 +- drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c | 6 +- drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 4 +- drivers/gpu/drm/panel/panel-tpo-tpg110.c | 3 +- drivers/gpu/drm/pl111/pl111_debugfs.c | 2 +- drivers/gpu/drm/pl111/pl111_display.c | 2 +- 43 files changed, 147 insertions(+), 142 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.h Cc: Alex Deucher Cc: amd-gfx@lists.freedesktop.org Cc: Andres Rodriguez Cc: "Christian König" Cc: Chun-Kuang Hu Cc: Daniel Vetter Cc: David Airlie Cc: dri-devel@lists.freedesktop.org Cc: Eric Anholt Cc: Felix Kuehling Cc: freedreno@lists.freedesktop.org Cc: Harry Wentland Cc: Hawking Zhang Cc: Jerome Brunet Cc: Jie Qiu Cc: John Clements Cc: Kalyan Thota Cc: Kevin Hilman Cc: Leo Li Cc: lima@lists.freedesktop.org Cc: linaro-mm-sig@lists.linaro.org Cc: Linus Walleij Cc: linux-amlogic@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-arm-msm@vger.kernel.org Cc: linux-mediatek@lists.infradead.org Cc: linux-media@vger.kernel.org Cc: Luben Tuikov Cc: Maarten Lankhorst Cc: Martin Blumenstingl Cc: Matthias Brugger Cc: Maxime Ripard Cc: Monk.liu@amd.com Cc: Neil Armstrong Cc: Philipp Zabel Cc: Qiang Yu Cc: Rob Clark Cc: Sam Ravnborg Cc: Sean Paul Cc: Sumit Semwal Cc: Thierry Reding Cc: Thomas Zimmermann Cc: YT SHEN