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: 324219 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp588659ils; Thu, 12 Nov 2020 11:00:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQZzBc/kV5a43dVdGzl32d6u6MmmIbndapkaperVaMfmV34EUr8f9ICbVIeb5/BcqkTlrP X-Received: by 2002:a17:90a:f0f:: with SMTP id 15mr610839pjy.127.1605207650254; Thu, 12 Nov 2020 11:00:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207650; cv=none; d=google.com; s=arc-20160816; b=BkdeAw8U9hSUdbbsld8nPE7e5lZv0hVpwUKjp19y+FBeCQF+b3KbE+3Avqa9E2wXws 4sEVxGuQv+yi2WaXjrtQz//YnedPEBCzDWoxbjfMuBglSyvG2weZHR1yytXKpgoFsW4W WVo/SOYFWUon8t/J8rDuwCgkCDZ0bjUuY7NstgJ2n01RBkfbAi0ipfIqcUmQxiIBZ9pr d08X+MCjpnooMa2YYSH1nffbprsuXgJcjKw5L0zBgu0khHzlXmYgFYB3EE31pT2hoVbK YNzAA9cngM+HWSSk3CrpFZAN9TSK0SD3QHL2vo1bdIcdTM+Y6h4JILABxcA1EkFvmnOb +x8g== 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=NofTb1didvqSzP6ZfnUCdHFIOgMlVjozoPU8DwPP3a8=; b=yiVmcgp1yhIgmgUOFDhDiNlwtZaST71DA16aiLHxhBgVfSkxDk/1xholDWLhQDe+se HnuMBYx+SC0bW9OuwzK0gO2IzQHy2j+9ha0sVKCwQPK/Jb6q3HdkwDChLxXQjiNRWQ7w yyjrdA/Oeqhfha/LdOsQjViFnpC/AzYV25If/CVC0T8WHYkKEyjMT6zFpstZ2AKSBq3V oAAoZ7aE/UY/J40jBL/fJmQ0I+Pu2Eq0GTo1aqKeP6MpxJdbLDQgTwDLiv2C9k6Ah1oO yb7oOX/Vgx3Z4xd06Htlh7vdEyA/hni6iGlPB0EOJVOmfBxUlNfzpm75ziAhSfcXwzu9 Ypnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=mDMN9CSv; 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 b2si5259428pgt.141.2020.11.12.11.00.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:00:50 -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=mDMN9CSv; 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 310266E17C; Thu, 12 Nov 2020 19:00:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by gabe.freedesktop.org (Postfix) with ESMTPS id 924F76E323 for ; Thu, 12 Nov 2020 19:00:45 +0000 (UTC) Received: by mail-wr1-x431.google.com with SMTP id r17so7190841wrw.1 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=mPq/+2cmcUwZmeVUejjCxmMxD/r7dI0amPw1dOENwKm3uzOuwWplgnce+4FL4bUkM8 +ZdkHMSnVGa/jyrceeisGoeWT3UHv5Hu67zsNWqL26Dm2Q0xcEiM41Mej9sTw3d5E68Z gOPdhl9l4wzcRVlDbY0FYaZzjEdQPcfqYdxhqL7KvXvHgRypwnWZkY5IpiKG2vIKUQOz nPxZ2U26XEb76MO0fCDd7J3EV/pBWicn1WT7wf+OhBObzYPaWqyGDvcNCe3+MUSyM60l ZohTMkHH/6KeTSCTKw9z1GLz3a01vcnUkiypplN1qlxo96xgiFpnOm2UREhfbegsY4gm t21w== X-Gm-Message-State: AOAM533ZGhOKxO5royn0XUX19onmU0FzvTJj8tbewxGr4wCK/XsEA0Vl VCzgQUJYAyZy2m9h5QFV7Z3Lww== 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 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 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: Alexandre Belloni , David Airlie , nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Nicolas Ferre , Krzysztof Kozlowski , Chris Zhong , Russell King , report to , Ajay Kumar , linux-samsung-soc@vger.kernel.org, Eunchul Kim , Joonyoung Shim , linux-rockchip@lists.infradead.org, Sam Ravnborg , Nickey Yang , amd-gfx@lists.freedesktop.org, Jinyoung Jeon , Ludovic Desroches , Luben Tuikov , Ben Skeggs , linux-media@vger.kernel.org, Chun-Kuang Hu , Akshu Agarwal , Matthias Brugger , Jean-Jacques Hiblot , Vincent Abriou , Sangmin Lee , linux-arm-kernel@lists.infradead.org, Mark Yao , linaro-mm-sig@lists.linaro.org, Thomas Zimmermann , Boris Brezillon , Sandy Huang , Seung-Woo Kim , linux-kernel@vger.kernel.org, Jerome Glisse , Kyungmin Park , Alex Deucher , linux-mediatek@lists.infradead.org, =?utf-8?q?Christian_K=C3=B6nig?= 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. 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