From patchwork Mon Nov 16 17:40:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11910007 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 331EE14C0 for ; Mon, 16 Nov 2020 17:41:52 +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 E5E21222E8 for ; Mon, 16 Nov 2020 17:41:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="q3kA+n2r"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bSNQfgvG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E5E21222E8 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=5X6c83pmqffbiaDjmtN1IlN1W72sSNciKC8OuicRpBg=; b=q3kA+n2rgMG2JC3ih5WFMFZdH5 GVJ7VlgG9krqGFBihQuXZqc76z3BWWpQ3A/8AwwvQNcFAa+EtOIMIbY5yCDPJSCWhPJFWe81Rysz9 6xqBPJOS4JObPilwqJfl5UI1xMG17F4hdi3d5fkJLhuXCznJ3rB2U2oz06Kw+Ks0TTmFtfAtVo3b8 vx87mPKSl5bcNVlOXACEGj3W997k2Eh8F/JqhMj05SUcsbyELw1qN8ynHrTD8rgSnPE9VMXsFdCm2 XIsPclFY6lYxSHy1mq1vpn/Wy/a1dzWdrEAy7S50i6jy3LxpbvFAO3CviB1qVhshehgE1kcQFEM8e Zvk6RzCA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1keiVO-0003zW-2z; Mon, 16 Nov 2020 17:41:30 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1keiVE-0003t9-Tw for linux-amlogic@lists.infradead.org; Mon, 16 Nov 2020 17:41:23 +0000 Received: by mail-wr1-x435.google.com with SMTP id p8so19670541wrx.5 for ; Mon, 16 Nov 2020 09:41: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:mime-version :content-transfer-encoding; bh=/LTrKOUrLFuEcCD+0qSyoyROqjXWEQVgXyT4kGkUYyc=; b=bSNQfgvG0kx2bJ3swdtQ7xdZw/M07CVrB5auNpw5N9xDQefGM7DuWMHQx5RREQJCLo lOZf8TeYpGpjkv9yP4evqDMYMPjqcWSAPVGExp8J3ps0dwMpt/2gp0KBOA+efQ1sUJrO T8jGjkC4Hu0fok/vy4qLbnPYMivzd5YeYExvVosrFA8zFVOFK1wKKLsW/Tw1U+U5jcC+ QJ1SpegD6UObPK1wAX6Fam4adxSixAcmKc3mC7P5doHt6IHhLzoMi3RbISFgkkdM4zIM WpU2fWQV85ZDZi7wmLzgzCbUyclK7n4r7+BwL7HrJENBNMyKVmRyyK9WQAR5PoLoRaYJ yX6Q== 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=/LTrKOUrLFuEcCD+0qSyoyROqjXWEQVgXyT4kGkUYyc=; b=pVun/mUMt7yU+HWouh8Emw9sMy5ne9mXN19ZWNTYGDziyDHNredpmOH6SThdmrC7+i 9ayDrezQ8mH1a91Ni4EPXjrg8M/1nbY/sWgnhCUbVRzAWa+ovP4/sUx3F8UnHS7dXvbe Q8O6o9mVHxdA1o0DZosWewQmUsCLvUl692m+aB/x7ElAe6RuXJT6MzSqfpyciRT0cCo/ 832ozumZ6WdkJc196zXdh9m3rPG9Y3D8TJvsIKTs5ViT/NA8b5N2I8Ku7eYXDWdfwRey q3sL561Yv5luc7TA8V31TOO26MyJB74+rUOseVlYJsxe150PkE+aYwk8btualyOxH4Ut TWhQ== X-Gm-Message-State: AOAM5323iieH2wAWN+ZbXEknKKDpPSPC2d7baGBc0Ih212DmT/BkV/eF nB+iG+SGxYfVPqvedzX53zDy6Q== X-Google-Smtp-Source: ABdhPJyDFVFMQrl7eVTFnZgbd/avuNh+k8fjT7OAUOT9aPaRfJnSoLW2zT7JeIfuvKSpByqNZUhxZQ== X-Received: by 2002:a5d:6411:: with SMTP id z17mr21001758wru.112.1605548479277; Mon, 16 Nov 2020 09:41:19 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id n10sm24667224wrx.9.2020.11.16.09.41.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:18 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v2 00/42] Rid W=1 warnings from GPU (non-Radeon) Date: Mon, 16 Nov 2020 17:40:30 +0000 Message-Id: <20201116174112.1833368-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-20201116_124121_118852_D6B9F47C X-CRM114-Status: GOOD ( 16.46 ) 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 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:435 listed in] [list.dnswl.org] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -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: =?utf-8?q?Heiko_St=C3=BCbner?= , Neil Armstrong , David Airlie , nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Russell King , Eric Anholt , Huang Rui , Rob Clark , Krzysztof Kozlowski , Chris Zhong , Shawn Guo , Fabio Estevam , Ajay Kumar , Jerome Brunet , linux-samsung-soc@vger.kernel.org, Eunchul Kim , Joonyoung Shim , Jie Qiu , linux-rockchip@lists.infradead.org, Kevin Hilman , David Francis , NXP Linux Team , amd-gfx@lists.freedesktop.org, Sumit Semwal , Jinyoung Jeon , Nickey Yang , Luben Tuikov , Ben Skeggs , YT SHEN , Philipp Zabel , Nirmoy Das , linux-media@vger.kernel.org, Chun-Kuang Hu , Lyude Paul , Pengutronix Kernel Team , Martin Blumenstingl , linux-arm-msm@vger.kernel.org, Sascha Hauer , Maarten Lankhorst , Maxime Ripard , Inki Dae , Akshu Agarwal , Kalyan Thota , Matthias Brugger , linux-amlogic@lists.infradead.org, Sean Paul , Sangmin Lee , linux-arm-kernel@lists.infradead.org, Mark Yao , linaro-mm-sig@lists.linaro.org, Thomas Zimmermann , Sandy Huang , Seung-Woo Kim , linux-kernel@vger.kernel.org, Kyungmin Park , Daniel Vetter , Alex Deucher , linux-mediatek@lists.infradead.org, freedreno@lists.freedesktop.org, Christian Koenig Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org [sending again, as `git send-email` crashed!] This set contains fixes for some "wouldn't it be nice if" issues, however most of the patches seen here have been on the MLs, but were left unreviewed. Lee Jones (42): drm/amd/amdgpu/atombios_encoders: Remove set but unused variable 'backlight_level' drm/armada/armada_overlay: Staticify local function 'armada_overlay_duplicate_state' drm/drm_dp_mst_topology: Remove set but never used variable 'len' drm/exynos/exynos7_drm_decon: Supply missing description for param 'ctx' drm/exynos/exynos_drm_fimd: Add missing description for param 'ctx' drm/exynos/exynos_drm_gsc: Supply missing description for 'num_limits' drm/mediatek/mtk_dpi: Remove unused struct definition 'mtk_dpi_encoder_funcs' drm/mediatek/mtk_disp_color: Fix formatting and provide missing member description drm/mediatek/mtk_disp_ovl: Fix formatting and provide missing member description drm/mediatek/mtk_disp_rdma: Fix formatting and supply missing struct member description drm/mediatek/mtk_drm_crtc: Demote seriously out-of-date struct header drm/mediatek/mtk_drm_drv: Staticise local function invoked by reference drm/meson/meson_venc: Make local function 'meson_venc_hdmi_get_dmt_vmode' static drm/meson/meson_vclk: Make two local functions static drm/msm/adreno/a6xx_gpu: Staticise local function 'a6xx_idle' drm/msm/disp/mdp5/mdp5_crtc: Make local function 'mdp5_crtc_setup_pipeline()' static 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/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/nouveau/nvkm/core/firmware: Fix formatting, provide missing param description drm/pl111/pl111_display: Make local function static drm/pl111/pl111_debugfs: Make local function 'pl111_debugfs_regs()' static drm/rockchip/dw-mipi-dsi-rockchip: Demote non-conformant kernel-doc headers drm/rockchip/rockchip_rgb: Consume our own header drm/rockchip/rockchip_lvds: Fix struct document formatting drm/selftests/test-drm_mm: Mark 'hole_end' as always_unused drm/selftests/test-drm_framebuffer: Remove set but unused variable 'fb' drm/selftests/test-drm_dp_mst_helper: Place 'struct drm_dp_sideband_msg_req_body' onto the heap drm/selftests/test-drm_dp_mst_helper: Move 'sideband_msg_req_encode_decode' onto the heap drm/ttm/ttm_bo: Fix one function header - demote lots of kernel-doc abuses drm/ttm/ttm_tt: Demote kernel-doc header format abuses drm/ttm/ttm_range_manager: Demote non-conformant kernel-doc header drm/v3d/v3d_drv: Remove unused static variable 'v3d_v3d_pm_ops' drm/v3d/v3d_gem: Provide descriptions for 'v3d_lookup_bos's params drm/v3d/v3d_sched: Demote non-conformant kernel-doc header drm/vc4/vc4_hdmi_regs: Mark some data sets as __maybe_unused drm/vc4/vc4_hdmi: Remove set but unused variable 'ret' drm/vc4/vc4_v3d: Demote non-conformant kernel-doc headers drm/vc4/vc4_debugfs: Demote non-conformant kernel-doc headers gpu/ipu-v3/ipu-di: Strip out 2 unused 'di_sync_config' entries include/drm/drm_atomic: Make use of 'new_crtc_state' .../gpu/drm/amd/amdgpu/atombios_encoders.c | 3 -- drivers/gpu/drm/armada/armada_overlay.c | 2 +- drivers/gpu/drm/drm_dp_mst_topology.c | 4 +- drivers/gpu/drm/exynos/exynos7_drm_decon.c | 1 + drivers/gpu/drm/exynos/exynos_drm_fimd.c | 1 + drivers/gpu/drm/exynos/exynos_drm_gsc.c | 1 + drivers/gpu/drm/mediatek/mtk_disp_color.c | 5 ++- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 5 ++- 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/nouveau/nvkm/core/firmware.c | 9 +++-- drivers/gpu/drm/pl111/pl111_debugfs.c | 2 +- drivers/gpu/drm/pl111/pl111_display.c | 2 +- .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 4 +- drivers/gpu/drm/rockchip/rockchip_lvds.c | 2 +- drivers/gpu/drm/rockchip/rockchip_rgb.c | 1 + .../drm/selftests/test-drm_dp_mst_helper.c | 40 +++++++++++++------ .../gpu/drm/selftests/test-drm_framebuffer.c | 3 +- drivers/gpu/drm/selftests/test-drm_mm.c | 2 +- drivers/gpu/drm/ttm/ttm_bo.c | 23 ++++++----- drivers/gpu/drm/ttm/ttm_range_manager.c | 2 +- drivers/gpu/drm/ttm/ttm_tt.c | 4 +- drivers/gpu/drm/v3d/v3d_drv.c | 36 ----------------- drivers/gpu/drm/v3d/v3d_gem.c | 2 + drivers/gpu/drm/v3d/v3d_sched.c | 2 +- drivers/gpu/drm/vc4/vc4_debugfs.c | 4 +- drivers/gpu/drm/vc4/vc4_hdmi.c | 3 +- drivers/gpu/drm/vc4/vc4_hdmi_regs.h | 6 +-- drivers/gpu/drm/vc4/vc4_v3d.c | 4 +- drivers/gpu/ipu-v3/ipu-di.c | 4 -- include/drm/drm_atomic.h | 3 +- 41 files changed, 105 insertions(+), 142 deletions(-) Cc: Ajay Kumar Cc: Akshu Agarwal Cc: Alex Deucher Cc: amd-gfx@lists.freedesktop.org Cc: Ben Skeggs Cc: Christian Koenig Cc: "Christian König" Cc: Chris Zhong Cc: Chun-Kuang Hu Cc: Daniel Vetter Cc: David Airlie Cc: David Francis Cc: dri-devel@lists.freedesktop.org Cc: Eric Anholt Cc: Eunchul Kim Cc: Fabio Estevam Cc: freedreno@lists.freedesktop.org Cc: "Heiko Stübner" Cc: Huang Rui Cc: Inki Dae Cc: Jerome Brunet Cc: Jie Qiu Cc: Jinyoung Jeon Cc: Joonyoung Shim Cc: Kalyan Thota Cc: Kevin Hilman Cc: Krzysztof Kozlowski Cc: Kyungmin Park Cc: linaro-mm-sig@lists.linaro.org 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: linux-rockchip@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Cc: Luben Tuikov Cc: Lyude Paul Cc: Maarten Lankhorst Cc: Mark Yao Cc: Martin Blumenstingl Cc: Matthias Brugger Cc: Maxime Ripard Cc: Neil Armstrong Cc: Nickey Yang Cc: Nirmoy Das Cc: nouveau@lists.freedesktop.org Cc: NXP Linux Team Cc: Pengutronix Kernel Team Cc: Philipp Zabel Cc: Rob Clark Cc: Russell King Cc: Sandy Huang Cc: Sangmin Lee Cc: Sascha Hauer Cc: Sean Paul Cc: Seung-Woo Kim Cc: Shawn Guo Cc: Sumit Semwal Cc: Thomas Zimmermann Cc: YT SHEN