From patchwork Thu Nov 12 19:00:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11901071 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 50119697 for ; Thu, 12 Nov 2020 19:01:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1A9AA2223F for ; Thu, 12 Nov 2020 19:00:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mDMN9CSv" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726605AbgKLTAs (ORCPT ); Thu, 12 Nov 2020 14:00:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726594AbgKLTAr (ORCPT ); Thu, 12 Nov 2020 14:00:47 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B1B3C0613D1 for ; Thu, 12 Nov 2020 11:00:45 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id b6so7165060wrt.4 for ; Thu, 12 Nov 2020 11:00:45 -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=2EhywyPLrzVauOxW6hoSN8BeHIP9/SoKOh3x4hIA4nE=; b=mDMN9CSv2W4PIXw03bPQQ8E6n/F1hxOhd7U5xYg0CKNVoFSNx4vt6N6nJEUd+d0NVf 2f6ET1hpvzbE9dTYE3+AEzEL+oXMm+dQYcFG7X5DeJlH39RK3B36bhjv0Kmfgd6IjRu7 DK6YHE4NxqI4RcOgx4vmMjk9l0jBxi6xWPEUOmu/6CIwnL3vxLJFaFpRKcG8r7qv3xgD dyjxn3R0n7C+dorPtETtr3Ojp3vP39NWvjuLVdBQignca7AielkWQC3zPNd4ftwjEApD tELbFwItnMMYVNZnKGN9qFLn5xqZXBJqd3P05jK3vJI0wJT80G2YuD83Borh2wfI9qov uFUQ== 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=2EhywyPLrzVauOxW6hoSN8BeHIP9/SoKOh3x4hIA4nE=; b=S+cAGTCGnzjnEoPscb8v7yEhNE6pcdb7LqjaomwMi0zit7Ufvf1pj5gkf957JcPnWv jfx40C+X15/I19m4gnav2ylD0RN5ZNgVw3uVz5OWZtrz43+o1cuCEx84LCvp5tiRPslN C8jypwbMOWlhrHqOGI/UYImZS/buShugNR6xBsIyItrWstFq27Wedh86fDTngYy7sqp2 0GCLkqII7h3CC6jCID9E1gakTlgkwVcehpxRsOtz6SwLyqF8+y5qsZCyJ7CKmT240D/M hm95hU9jprN1lDGRHMzv19cGIG5/qQzx/0X6G1YAcric7BsHbw7evWptBSyFnzf+w8SU tsSw== X-Gm-Message-State: AOAM530QBbqV5hr4tKHraD9F2amvzRLiLLJZKeFZ9mec6lgkmaOWZnmo F3KKbLWAm67vtQjjymIa81N6Hg== X-Google-Smtp-Source: ABdhPJyKUIdqT6yOWd6udawSWHTScPhDrEAlvpxAeKCcoYi8gRAZSrSI6RVWTEAP7uNql9pNr7za4A== X-Received: by 2002:adf:fc01:: with SMTP id i1mr1129122wrr.250.1605207644013; Thu, 12 Nov 2020 11:00:44 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.00.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:00:43 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Ajay Kumar , Akshu Agarwal , Alexandre Belloni , Alex Deucher , amd-gfx@lists.freedesktop.org, Benjamin Gaignard , Ben Skeggs , Boris Brezillon , =?utf-8?q?Christian_K=C3=B6nig?= , Chris Zhong , Chun-Kuang Hu , Daniel Vetter , David Airlie , dri-devel@lists.freedesktop.org, Eric Anholt , Eunchul Kim , =?utf-8?q?Heiko_St=C3=BCbner?= , Inki Dae , Jean-Jacques Hiblot , Jerome Glisse , Jinyoung Jeon , Joonyoung Shim , Krzysztof Kozlowski , Kyungmin Park , linaro-mm-sig@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Luben Tuikov , Ludovic Desroches , Maarten Lankhorst , Mark Yao , Matthias Brugger , Maxime Ripard , Nickey Yang , Nicolas Ferre , nouveau@lists.freedesktop.org, Philipp Zabel , report to , Rob Clark , Russell King , Sam Ravnborg , Sandy Huang , Sangmin Lee , Seung-Woo Kim , Sumit Semwal , Thomas Zimmermann , Vincent Abriou Subject: [PATCH 00/30] [Set 6] Rid W=1 warnings from GPU Date: Thu, 12 Nov 2020 19:00:09 +0000 Message-Id: <20201112190039.2785914-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.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. NB: Hopefully the other sets turn up in -next soon, so they can be rebased and any stragglers re-submitted. Lee Jones (30): drm/savage/savage_bci: Remove set but never used 'aper_rsrc' and 'fb_rsrc' include: drm: drm_atomic: Artificially use 'crtc' to avoid 'not used' warning drm/v3d/v3d_gem: Provide descriptions for 'v3d_lookup_bos's params drm/via/via_dma: Remove set but unused variable 'agp_base' drm/v3d/v3d_sched: Demote non-conformant kernel-doc header drm/amd/amdgpu/amdgpu_kms: Fix misnaming of parameter 'dev' drm/amd/amdgpu/amdgpu_fence: Fix some issues pertaining to function documentation drm/exynos/exynos7_drm_decon: Supply missing description for param 'ctx' drm/exynos/exynos_drm_fimd: Add missing description for param 'ctx' drm/vc4/vc4_hdmi_regs: Mark some data sets as __maybe_unused drm/vc4/vc4_hdmi: Remove set but unused variable 'ret' drm/amd/amdgpu/amdgpu_ttm: Demote non-conformant kernel-doc headers, fix slightly lacking ones drm/atmel-hlcdc/atmel_hlcdc_crtc: Apply correct formatting to struct docs drm/amd/amdgpu/amdgpu_ring: Fix a bunch of function misdocumentation drm/amd/amdgpu/amdgpu_display: Remove pointless header drm/atmel-hlcdc/atmel_hlcdc_plane: Staticise local function 'atmel_hlcdc_plane_setup_scaler()' drm/atmel-hlcdc/atmel_hlcdc_plane: Fix documentation formatting and add missing description drm/vc4/vc4_v3d: Demote non-conformant kernel-doc headers drm/amd/amdgpu/amdgpu_cs: Add a couple of missing function param descriptions drm/armada/armada_overlay: Staticify local function 'armada_overlay_duplicate_state' drm/vc4/vc4_debugfs: Demote non-conformant kernel-doc headers drm/rockchip/dw-mipi-dsi-rockchip: Demote non-conformant kernel-doc headers drm/rockchip/rockchip_rgb: Consume our own header drm/nouveau/nvkm/core/firmware: Fix formatting, provide missing param description drm/rockchip/rockchip_lvds: Fix struct document formatting drm/exynos/exynos_drm_gsc: Supply missing description for 'num_limits' drm/sti/sti_hdmi: Move 'colorspace_mode_names' array to where its used drm/mediatek/mtk_disp_color: Fix formatting and provide missing member description drm/amd/amdgpu/atombios_encoders: Remove set but unused variable 'backlight_level' drm/mediatek/mtk_disp_ovl: Fix formatting and provide missing member description drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 4 -- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 11 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 12 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 60 ++++++++++--------- .../gpu/drm/amd/amdgpu/atombios_encoders.c | 3 +- drivers/gpu/drm/armada/armada_overlay.c | 2 +- .../gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 6 +- .../gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 7 ++- 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/nouveau/nvkm/core/firmware.c | 9 +-- .../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 + drivers/gpu/drm/savage/savage_bci.c | 11 ---- drivers/gpu/drm/sti/sti_hdmi.c | 6 ++ drivers/gpu/drm/sti/sti_hdmi.h | 6 -- 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/drm/via/via_dma.c | 2 - include/drm/drm_atomic.h | 1 + 30 files changed, 91 insertions(+), 94 deletions(-) Cc: Ajay Kumar Cc: Akshu Agarwal Cc: Alexandre Belloni Cc: Alex Deucher Cc: amd-gfx@lists.freedesktop.org Cc: Benjamin Gaignard Cc: Ben Skeggs Cc: Boris Brezillon Cc: "Christian König" Cc: Chris Zhong Cc: Chun-Kuang Hu Cc: Daniel Vetter Cc: David Airlie Cc: dri-devel@lists.freedesktop.org Cc: Eric Anholt Cc: Eunchul Kim Cc: "Heiko Stübner" Cc: Inki Dae Cc: Jean-Jacques Hiblot Cc: Jerome Glisse Cc: Jinyoung Jeon Cc: Joonyoung Shim Cc: Krzysztof Kozlowski Cc: Kyungmin Park Cc: linaro-mm-sig@lists.linaro.org Cc: linux-arm-kernel@lists.infradead.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: Ludovic Desroches Cc: Maarten Lankhorst Cc: Mark Yao Cc: Matthias Brugger Cc: Maxime Ripard Cc: Nickey Yang Cc: Nicolas Ferre Cc: nouveau@lists.freedesktop.org Cc: Philipp Zabel Cc: report to Cc: Rob Clark Cc: Russell King Cc: Sam Ravnborg Cc: Sandy Huang Cc: Sangmin Lee Cc: Seung-Woo Kim Cc: Sumit Semwal Cc: Thomas Zimmermann Cc: Vincent Abriou