From patchwork Fri Jan 15 18:12:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363661 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp88555jap; Fri, 15 Jan 2021 10:13:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJzX5kSfz/MXR317LD0scuxCAms8PvkOPYTi/9RyRXewOH7OrXB/F62AriE7cIkm9rf3gJrm X-Received: by 2002:aa7:8209:0:b029:19f:3002:513 with SMTP id k9-20020aa782090000b029019f30020513mr13733207pfi.49.1610734404854; Fri, 15 Jan 2021 10:13:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734404; cv=none; d=google.com; s=arc-20160816; b=Y1bEzNJKXxqnysX2Laxb+0b7NY7OjG+bCXY0+YE9/o2QYqdBvuKJ+7pHFXCNutN1LY XgKzKnX0/PMo1SxJ+zZTtdn3q6qcFSEN1LuXWJ+c+RHTcuyPac65bfWdZ9Zqpn+17G+w PIO/Ef9UzhnVSYrgqph+BsnQPZgJRQ6AYggHeHHhHRaQdgFCjrRartdVQ4ZXwMUSZTPG tiCdRR34O42Yn44OsaXcOgrLMI5StMJ4TOjmCqLHhZT9EXrbmAcjuZMGWi5q+L918Fq9 sNu42P5moAQcIQRJ5uVw6KvPoevgaPZJq6ZNTGixtsjtd5aviXVfAOvRdXi2o4aYiY/E AQeA== 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=igR1Ykq0jHr/3+yE3jU98BoI72M9tEXKNXQDsJIUdVw=; b=y2oh6W8hGMA8CVuvh5yZjTe9ZxuR/qB6OYPhlce+5AQxVgNj2D7GkyeVBE7YQa9I7B f0B8ksxXspZ4+qALyLp5C2hrCtXBOZ4Mtbr3A/XXCO97hMJ5VLV3T2jtySrpGw+FVykN 08wi/aTZOaGuFHFmZDD/sf/p3p2PSM6hOhBcotBhmhoaeauK3J/dJCx5Qj18vYVWUTDy uPaYO1lLrJCBFu7bs7lA3HGZoS40mJBr0IB1NPBMVGdp0ihQXjLkKoyJxd1DVdyFC7LP 6BVVHnDN6iJakMKLQyuzp3SfaEj7QdfUtLpPq3zPsCnyxI+/1/W19NywuKewERh2D2uC qmyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=N7iHRt5S; 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 y18si9729131plg.360.2021.01.15.10.13.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:24 -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=N7iHRt5S; 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 4B10F6E0B8; Fri, 15 Jan 2021 18:13:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1D1456E0B8 for ; Fri, 15 Jan 2021 18:13:18 +0000 (UTC) Received: by mail-wr1-x435.google.com with SMTP id v15so6540882wrx.4 for ; Fri, 15 Jan 2021 10:13:18 -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=310sSHEao7tJsu2UmDOFWrsrWQfu1990Uj0j4Ybye0s=; b=N7iHRt5SkUdVMxq65xZRkaCdEEtZwkmVojjDcfia9WNo0dnreS7PNmI+Ko/66J/gIi ADII32ML+RE+7uPDFVtFvvXjJqtZA46PfoaZTbmRYK83ibmQMjgZFyGXl+flumpU8vmx dmoPyA5B22YyetLHZfrg9E/rze/vsnOFXh93eNGItG2dBNsTWcwnKjZPdm5RNo33eAks VaIZYPc7EVNbWwJ/tX0hrvBzeYMT2H7/TpHGScnUNh8Fd3VraTwFo1K86gn7GTsHsD+v 8puqWa5qrqQFxkybONpTUkA9ODG3qytMka8gB26ZeBUztFg5qwOYMbV7RsaRFVqZPmCD 8wLA== 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=310sSHEao7tJsu2UmDOFWrsrWQfu1990Uj0j4Ybye0s=; b=idoh8YoEobZfXxoWsGL5BF/adHgZrPlQrvmwmg4CwBqfgZPVCGVZMj9yQ+ZG2uu1FQ OvBQfLQ2lyV0gsYzf8h3Zf0VJSjzrO37odN0jOn3O1q2dWcjG2LABy1mQzs2qUTJRJxr Gh/qPHa7QkaxbSrkV0F7UWz8G8N4Oelpnj81EgoBmNjfrwO4DqsTQYx5GNbiw0ayPCYQ Fw1h7MqoH/YoJ12HP1+xVs/l62ZTefKHIQz2JXk7gjJb9Yujx/caJ3nFUiKzAhDHF6uA 0FYdBU43m59auBeGt6aDLCuJjEuU67Pd5mE18U5zyEHI5FXU5fsjYEYKul3Pc9vMThLG xZRw== X-Gm-Message-State: AOAM533JkWHvM4uegpkmM6rHd0sa/YCQeekYGtvNGdZroXoj4q6gQMvT HSmDRkmEymHsLn2t3EUhAZP+Cw== X-Received: by 2002:adf:e941:: with SMTP id m1mr9194603wrn.240.1610734396902; Fri, 15 Jan 2021 10:13:16 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:16 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 00/40] [Set 14] Rid W=1 warnings from GPU Date: Fri, 15 Jan 2021 18:12:33 +0000 Message-Id: <20210115181313.3431493-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: Rajesh Poornachandran , David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, Benjamin Defnet , linaro-mm-sig@lists.linaro.org, Jesse Barnes , dri-devel@lists.freedesktop.org, VMware Graphics , linux-media@vger.kernel.org, =?utf-8?q?Christian_K=C3=B6nig?= , Alan Cox 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. Penultimate set, promise. :) Lee Jones (40): drm/r128/r128_ioc32: Document headers do not make good kernel-doc candidates drm/mga/mga_ioc32: Document headers do not make good kernel-doc candidates drm/vmwgfx/vmwgfx_execbuf: Fix some kernel-doc related issues drm/vmwgfx/vmwgfx_kms: Remove unused variable 'ret' from 'vmw_du_primary_plane_atomic_check()' drm/r128/r128_ioc32: Fix formatting issues in 'r128_compat_ioctl()'s header drm/mga/mga_ioc32: Fix some formatting issues in 'mga_compat_ioctl's header drm/vmwgfx/vmwgfx_kms: Mark vmw_{cursor,primary}_plane_formats as __maybe_unused drm/vmwgfx/vmwgfx_drv: Fix some kernel-doc misdemeanours drm/vmwgfx/vmwgfx_ioctl: Provide missing '@' sign required by kernel-doc drm/vmwgfx/vmwgfx_resource: Fix worthy function headers demote some others drm/vmwgfx/vmwgfx_ttm_buffer: Supply some missing parameter descriptions drm/vmwgfx/vmwgfx_fifo: Demote non-conformant kernel-doc header drm/vmwgfx/vmwgfx_ldu: Supply descriptions for 'state' function parameter drm/gma500/framebuffer: Fix some possible doc-rot issues drm/gma500/gem: Add and rename some function parameter descriptions drm/gma500/intel_bios: Demote non-conformant kernel-doc header drm/gma500/intel_i2c: Remove superflouous parameter description and rename another drm/gma500/mmu: Make local function 'psb_mmu_pt_alloc_map_lock()' static drm/gma500/power: Fix a bunch of *dev documentation issues drm/vmwgfx/vmwgfx_kms: Update worthy function headers and demote others drm/gma500/gma_display: Demote kernel-doc abuses to standard comment blocks drm/gma500/gma_device: Include our own header containing prototypes drm/vmwgfx/vmwgfx_overlay: Demote kernel-doc abuses to standard comment blocks drm/gma500/psb_intel_display: Demote kernel-doc formatting abuse drm/gma500/psb_intel_lvds: Supply description for 'mode_dev' drm/vmwgfx/vmwgfx_fence: Add, remove and demote various documentation params/headers drm/vmwgfx/vmwgfx_bo: Remove superfluous param description and supply another drm/vmwgfx/vmwgfx_context: Demote kernel-doc abuses drm/vmwgfx/vmwgfx_scrn: Demote unworthy kernel-doc headers and update others drm/gma500/psb_intel_modes: Provide missing descriptions for function param 'adapter' drm/gma500/gem: Do not rely on consumers to include drm/drm_device.h before gem.h drm/gma500/gem: Include our own header containing prototypes drm/vmwgfx/vmwgfx_surface: Fix some kernel-doc related issues drm/gma500/mmu: Remove unused function 'psb_get_default_pd_addr' drm/vmwgfx/vmwgfx_cmdbuf_res: Rename param description and remove another drm/vmwgfx/vmwgfx_shader: Demote kernel-doc abuses and fix-up worthy headers drm/vmwgfx/vmwgfx_cmdbuf: Fix a bunch of missing or incorrectly formatted/named params drm/gma500/power: Remove excess param description 'state' drm/vmwgfx/vmwgfx_cmdbuf_res: Remove unused variable 'ret' drm/vmwgfx/vmwgfx_stdu: Add some missing param/member descriptions drivers/gpu/drm/gma500/framebuffer.c | 6 +++--- drivers/gpu/drm/gma500/gem.c | 6 ++++-- drivers/gpu/drm/gma500/gem.h | 2 ++ drivers/gpu/drm/gma500/gma_device.c | 1 + drivers/gpu/drm/gma500/gma_display.c | 8 ++++---- drivers/gpu/drm/gma500/intel_bios.c | 2 +- drivers/gpu/drm/gma500/intel_i2c.c | 3 +-- drivers/gpu/drm/gma500/mmu.c | 13 ++----------- drivers/gpu/drm/gma500/power.c | 8 ++++---- drivers/gpu/drm/gma500/psb_intel_display.c | 2 +- drivers/gpu/drm/gma500/psb_intel_lvds.c | 1 + drivers/gpu/drm/gma500/psb_intel_modes.c | 3 ++- drivers/gpu/drm/mga/mga_ioc32.c | 14 +++++++------- drivers/gpu/drm/r128/r128_ioc32.c | 14 +++++++------- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 12 ++++++++---- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c | 8 ++------ drivers/gpu/drm/vmwgfx/vmwgfx_context.c | 6 +++--- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 8 ++++---- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 20 ++++++++++++-------- drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 18 ++++++++++-------- drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 16 ++++++++-------- drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | 4 ++-- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 4 +++- drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c | 16 ++++++++-------- drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 10 ++++------ drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 10 ++++++---- drivers/gpu/drm/vmwgfx/vmwgfx_shader.c | 10 +++++----- drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 9 +++++++-- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 17 ++++++++++------- drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c | 2 ++ 33 files changed, 137 insertions(+), 122 deletions(-) Cc: Alan Cox Cc: Benjamin Defnet Cc: "Christian König" Cc: Daniel Vetter Cc: David Airlie Cc: dri-devel@lists.freedesktop.org Cc: Eric Anholt Cc: Jesse Barnes Cc: Lee Jones Cc: linaro-mm-sig@lists.linaro.org Cc: linux-media@vger.kernel.org Cc: Patrik Jakobsson Cc: Rajesh Poornachandran Cc: Roland Scheidegger Cc: Sumit Semwal Cc: VMware Graphics Cc: Zack Rusin Reviewed-by: Zack Rusin