From patchwork Wed Mar 3 13:42:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 392062 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp5132662jap; Wed, 3 Mar 2021 05:43:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJztfljYvvETfUhMrRpc/1bUVrLv1gKgrCuSQxsGa6xItVxGoJyaHea4TaUtm0k3IP/bZyKP X-Received: by 2002:a17:90a:6383:: with SMTP id f3mr9342258pjj.14.1614779016400; Wed, 03 Mar 2021 05:43:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614779016; cv=none; d=google.com; s=arc-20160816; b=PGE030AkZsSLUB/KDwe5x+8sShJwz6dfxSbhowxZs1w9auJ5ow899JU9uB0ArCG5p1 1if9EnX9P3IfPsU73ZXq7VdHWVvasy19B9NAyZVFrBy384HvgSGSwI14bmzFTudTmXcs sOD+8bFm7Vkot4ozJcpHeteVq8o/zfgeCNd0ZrxNImLY23TmaR6flvwoORK7UH0PDZ6c 9C5kIHBK/i0fZCXOwI3UIJ8hAL+maidffqKSiMRSbB3M90sIoydT5L/ju0pB1UGSOnDf BSTVAsNo5oSz5ponZPaDYKqNlgi2csENXQVdQQ1Roq+V50Si4iLp5N9x9p4YoRME9owd Gmkg== 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=JyeTrFBN3ZTWNwNUD2QoN2Y3g35jhCVCB7eI8DBTDWM=; b=pNYe+9R7gg+uZH96XQb6qih9So9V4hFHSzX0nyJSHo/TlRe/EeKbKqNDgtZBUWFJSb zCCGEPHim87z/qqyQjN33/JCPCLAAaOOx6YH6s+fBeJ5CMAp9D68hUpEdOiNWPFdwFSG /zlfKeDs6f5jgmNtPvZgeWdMfMj7O7zAIK5uI+t/ZaJGjaJAKpJTQVwd5e/p1R39JmNI SEhCN7wDw62uCxHNX+Ql+L5HDjcxWMsUKRyIKpnNai/8k0XFMm+rwiPlNR05r5MWFXEe 5wML4EOWo13gdlVqQn0MykPhxw89ITt0MX2Z6vBt5avqF4JVxF7vl0CguX5uRUe8Opde fiVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=CobjywY2; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id g2si24003659pfi.202.2021.03.03.05.43.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 05:43:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=CobjywY2; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 547DB6E52C; Wed, 3 Mar 2021 13:43:32 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by gabe.freedesktop.org (Postfix) with ESMTPS id A33FA6E406 for ; Wed, 3 Mar 2021 13:43:30 +0000 (UTC) Received: by mail-wm1-x336.google.com with SMTP id k66so6401894wmf.1 for ; Wed, 03 Mar 2021 05:43:30 -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=QBm1TtnSOgkIdE+poP2XHRBabvEfYrHEJwcqomHGK4I=; b=CobjywY2f31xvahThtnf+1J/tPkCZZLUOzDN9k925p+K3ljoBNUuwGN6Z04oqnMIPI WS1MUrwyT0+HPr+bF9JgzQWmvgClLWJo5rzB40dMh9V5sv/Yq8nYX3E/F1e9qb0ufBpc 5R8UsMIhy7JVlgVo1/18XfYf+wP4uLAb+RWHY37577RbXX6pd5jXuE34eefan1RAvX/m GvImGq+2Q4Rmx4plYwdwDh6zhOaXjXOA9Dhsa/U9Qym0hc8ELB2Y8W5EzXNViMZFdKHL jm+T25PBHcD0TK81K8m8O8oDvH2G4UqZTtjl3pd1izvptFsGjlScPG2R+aJxykccdEAg zjyA== 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=QBm1TtnSOgkIdE+poP2XHRBabvEfYrHEJwcqomHGK4I=; b=DQmTAE07e5GvmtKoKTu4jNuC/0OtkSBqcG8GSuerSECWCPHqKUpbsd9ceBKtY2oQEb oAQoQgwWrPL3KEoInQ9Pj92KUbuFXMyXPfkt6A+J2LOck/oNaukG6ZlNOct47k0y58vG ibSulOLKp/JuKCr+DcUQi7jCc6v9Yt1bgbOMqQyob/T+p98w8raw7Tg3VrM8INWMq0+u 486rsZMcr3y7RVegaXJ1rwhGYWd2hFzv6Utq+OcNff6AtArdcNU34OONMnc57pUHoFu6 grUJc0cXJh8aYP24KKY+4Wl/1uQH8fvt2+Hjm4aR6xqp20m3orq2LaLv8Q/gKQeaDl9D NBtg== X-Gm-Message-State: AOAM531RMeUczso9yx9wk/Q6KE2TyIB4gUZCTqqKpzZhzl6C+zElDq7d xlB+aZBojNpdgid/rkwz+z5pVQ== X-Received: by 2002:a1c:a98a:: with SMTP id s132mr9567391wme.12.1614779009161; Wed, 03 Mar 2021 05:43:29 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id w18sm6109524wrr.7.2021.03.03.05.43.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 05:43:28 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [RESEND 00/53] Rid GPU from W=1 warnings Date: Wed, 3 Mar 2021 13:42:26 +0000 Message-Id: <20210303134319.3160762-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 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: David Airlie , nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Qinglang Miao , Anthony Koo , Jeremy Kolb , amd-gfx@lists.freedesktop.org, Rob Clark , Roland Scheidegger , VMware Graphics , Ben Skeggs , Dave Airlie , linux-media@vger.kernel.org, Thomas Zimmermann , Leo Li , linux-arm-msm@vger.kernel.org, linaro-mm-sig@lists.linaro.org, Sean Paul , Kuogee Hsieh , linux-kernel@vger.kernel.org, Alex Deucher , Colin Ian King , freedreno@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This is a resend. All of these patches have been sent before. The vmwgfx ones were even applied, but were dropped for some reason. Lee Jones (53): drm/nouveau/nvkm/subdev/bios/init: Demote obvious abuse of kernel-doc drm/nouveau/dispnv50/disp: Remove unused variable 'ret' drm/msm/dp/dp_display: Remove unused variable 'hpd' drm/amd/display/dc/bios/command_table: Remove unused variable include: drm: drm_atomic: Make use of 'new_plane_state' drm/nouveau/nvkm/subdev/volt/gk20a: Demote non-conformant kernel-doc headers drm/amd/display/dc/bios/command_table: Remove unused variable and associated comment drm/amd/display/dc/calcs/dce_calcs: Move some large variables from the stack to the heap drm/amd/display/dc/calcs/dce_calcs: Remove some large variables from the stack drm/amd/display/dc/dce/dce_aux: Remove duplicate line causing 'field overwritten' issue drm/amd/display/dc/dce80/dce80_resource: Make local functions static drm/nouveau/nvkm/engine/gr/gf100: Demote non-conformant kernel-doc header drm/nouveau/nouveau_bo: Remove unused variables 'dev' drm/nouveau/nouveau_display: Remove set but unused variable 'width' drm/nouveau/dispnv04/crtc: Demote non-conforming kernel-doc headers drm/nouveau/dispnv50/disp: Remove unused variable 'ret' from function returning void drm/nouveau/dispnv50/headc57d: Make local function 'headc57d_olut' static drm/nouveau/nv50_display: Remove superfluous prototype for local static functions drm/nouveau/dispnv50/disp: Include header containing our prototypes drm/nouveau/nouveau_ioc32: File headers are not good candidates for kernel-doc drm/nouveau/nouveau_svm: Remove unused variable 'ret' from void function drm/nouveau/nouveau_ioc32: Demote kernel-doc abuse to standard comment block 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/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/vmwgfx/vmwgfx_kms: Update worthy function headers and demote others drm/vmwgfx/vmwgfx_overlay: Demote kernel-doc abuses to standard comment blocks 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/vmwgfx/vmwgfx_surface: Fix some kernel-doc related issues 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/vmwgfx/vmwgfx_cmdbuf_res: Remove unused variable 'ret' drm/vmwgfx/vmwgfx_stdu: Add some missing param/member descriptions drm/vmwgfx/vmwgfx_cmdbuf: Fix misnaming of 'headers' should be plural drm/vmwgfx/vmwgfx_cotable: Fix a couple of simple documentation problems drm/vmwgfx/vmwgfx_so: Add description for 'vmw_view's 'rcu' member drm/vmwgfx/vmwgfx_binding: Provide some missing param descriptions and remove others drm/vmwgfx/vmwgfx_msg: Fix misspelling of 'msg' drm/vmwgfx/vmwgfx_blit: Add description for 'vmw_bo_cpu_blit's 'diff' param drm/vmwgfx/vmwgfx_validation: Add some missing struct member/function param descriptions drm/vmwgfx/ttm_object: Demote half-assed headers and fix-up another drm/vmwgfx/vmwgfx_thp: Add description for 'vmw_thp_manager's member 'manager' drm/vmwgfx/ttm_object: Reorder header to immediately precede its struct .../drm/amd/display/dc/bios/command_table.c | 16 +- .../gpu/drm/amd/display/dc/calcs/dce_calcs.c | 1151 +++++++++-------- drivers/gpu/drm/amd/display/dc/dce/dce_aux.h | 1 - .../drm/amd/display/dc/dce80/dce80_resource.c | 16 +- drivers/gpu/drm/msm/dp/dp_display.c | 3 - drivers/gpu/drm/nouveau/dispnv04/crtc.c | 4 +- drivers/gpu/drm/nouveau/dispnv50/disp.c | 10 +- drivers/gpu/drm/nouveau/dispnv50/headc57d.c | 2 +- drivers/gpu/drm/nouveau/nouveau_bo.c | 4 - drivers/gpu/drm/nouveau/nouveau_display.c | 8 +- drivers/gpu/drm/nouveau/nouveau_ioc32.c | 4 +- drivers/gpu/drm/nouveau/nouveau_svm.c | 5 +- drivers/gpu/drm/nouveau/nv50_display.h | 3 - .../gpu/drm/nouveau/nvkm/engine/gr/gf100.c | 2 +- .../gpu/drm/nouveau/nvkm/subdev/bios/init.c | 204 +-- .../gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c | 4 +- drivers/gpu/drm/vmwgfx/ttm_object.c | 25 +- drivers/gpu/drm/vmwgfx/vmwgfx_binding.c | 9 +- drivers/gpu/drm/vmwgfx/vmwgfx_blit.c | 1 + drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 14 +- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c | 8 +- drivers/gpu/drm/vmwgfx/vmwgfx_context.c | 6 +- drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c | 3 +- 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_msg.c | 2 +- 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_so.c | 1 + drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 9 +- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 17 +- drivers/gpu/drm/vmwgfx/vmwgfx_thp.c | 1 + drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c | 2 + drivers/gpu/drm/vmwgfx/vmwgfx_validation.c | 5 +- include/drm/drm_atomic.h | 3 +- 44 files changed, 818 insertions(+), 847 deletions(-) Cc: Alex Deucher Cc: amd-gfx@lists.freedesktop.org Cc: Anthony Koo Cc: Ben Skeggs Cc: "Christian König" Cc: Colin Ian King Cc: Daniel Vetter Cc: Dave Airlie Cc: David Airlie Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Cc: Harry Wentland Cc: Jeremy Kolb Cc: Kuogee Hsieh Cc: Lee Jones Cc: Leo Li Cc: linaro-mm-sig@lists.linaro.org Cc: linux-arm-msm@vger.kernel.org Cc: linux-media@vger.kernel.org Cc: Lyude Paul Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: nouveau@lists.freedesktop.org Cc: Qinglang Miao Cc: Rob Clark Cc: Rob Clark Cc: Roland Scheidegger Cc: Sean Paul Cc: Sumit Semwal Cc: Thomas Zimmermann Cc: VMware Graphics Cc: Zack Rusin