From patchwork Wed Jan 13 08:07:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362034 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296598jap; Wed, 13 Jan 2021 00:08:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJy82RiNlS71qgh9cmFhobPc73p04vJDA7YuvZPVUeVKKr3St+vtGvQpWfhLetkv9H+iL7T4 X-Received: by 2002:a63:e246:: with SMTP id y6mr1002733pgj.412.1610525280539; Wed, 13 Jan 2021 00:08:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525280; cv=none; d=google.com; s=arc-20160816; b=QYhsTg76nF1GsLShGg/UlZ+8HVU2mQMzmYhK7iralF7BkM9Sg33dNF/+fZF2f+i4cM YZ3uxL1rDv+tSWmfzAglwEifKH4d1RfQCmdNMOeX4SDnbuL4PP76Jh+UaoxqxHdvxUHr UUo+r9i+9dPgnOO9ABTJ7PNBKgZ+bYmGf9XxPWJ+8w6lgr6ZrubccRgfe4wH36Hz62lN cJ3AhvnieGu/Rniuk2tkzBP5m+GzRTRZtdlXGfltqOiXqcjn84hj2/DkGL6+hIAK4xhh 4nTOLfWOCjQovWCk0cqtjptyhi29ak3j2U1wDqsyunC3swXX0/DFjEsctQ5YJvFNYnfZ E3Rg== 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=gZQQlCtB3Vb9vTpRQaMwsZ2PyF281PvqOlFwqR87sLM=; b=jI6tjlAYDXJLf4uMn1fYU/g66JCkW28iUcOUTVWKZLElZDypB2SXMxj4CxLkUTSOBF Hg+eNTg+0m8qq1RbkgDNx/FXfg5SsraUg0fZnh8J5V0gOEIi21NuVRGq3ErVEagK+6WE NFGipj4OFsKwU+AjZx+7Sg5Fdnt52mGZySjnzLlYsO+VLE4ngV5NKvg+dfczW8fI36rp /6F2LtZ8BcKh1+gSsvZyY62k13wfONPO4Knjo1t+D7TF3iEWPc3KmVE5Fr7RGjWf3hk7 LIqpevIpuXhgdOGjkJINTXZN2o7kRpldiDe0cVEBmSWUWvDY88oiTfPs757wj32bKwir Ijpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=SE9oIA4E; 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 62si1585418pgh.380.2021.01.13.00.08.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:00 -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=SE9oIA4E; 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 A941C89E8C; Wed, 13 Jan 2021 08:07:57 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2EEDF89E8C for ; Wed, 13 Jan 2021 08:07:57 +0000 (UTC) Received: by mail-wm1-x32c.google.com with SMTP id h17so506152wmq.1 for ; Wed, 13 Jan 2021 00:07:57 -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=ASaF2Lz+3U8HXzJJ1UEEZRzsmlvRFeoI0GvMyEKNjiw=; b=SE9oIA4EYZVyH214vJW9lUNt8xt0mg4yfvs0k7+q6cUe2zaF1RzK8+/cJKD9SegsjA MfIeGsE5eWtpV+Ft1yOBx1ncLvytspASwKDa054+4ESezgHtKKlY33fjszxOtDV164E9 DD7vFBFer4UihawaIdx7gzqrKq0EJrYqVwNOvF9Ja1PKFOs0LTx4u4ndPxctBddVcTfq G/2+50UdNJtxgNWRt006OncsxJDBLr/u6Gw6vMeFTSB0lpJdhKDuaaOqT8L7kjMB7lQv q31KNYLF3rK6pvTpdvSAJDBEaZR4AjvWkNN668qA9uzuEDOwtjzEpkFES7qKt0jP1l7X Fh6Q== 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=ASaF2Lz+3U8HXzJJ1UEEZRzsmlvRFeoI0GvMyEKNjiw=; b=mkP9bu25RvTVWRPVD6bmjiIaZXfaifAfx17kaohy0jYMpHpHcCYRZjtennTGJBJ/8x lo4OlSJw7alIjAWhtHC1W8trz7iuYmvXyF6nKB+qf1WH1wrnd+hbvoVJdX00TXbMB7UU CXxXrK8hQwRDLd4zfMKggIQxmFz8luUVmcH1qp7A2Ve47vPZ88jdw6Mjt5vFJZaxait7 3EFHiQbOksBcs4mmbtJCkswKD+UgOTAGNuPNTm8X8q6jvZJJ5V9ILS2tXuFoD6HH9gAo mFQerm0hR/eHfq7EYic1N6DOeIv2fcXo3/H4sO3PeJVFeX3PyhwwN7DqAfgpMwpKp+EQ LTFw== X-Gm-Message-State: AOAM531t/uil0dhThGPj1w08pBnYl5viegbGTKmuvtJBypQP5sy6egiY UEP8IChjYOSqbTqBqyvnS0oM5w== X-Received: by 2002:a1c:1bcd:: with SMTP id b196mr957693wmb.70.1610525275740; Wed, 13 Jan 2021 00:07:55 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.07.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:07:54 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 00/30] [Set 13] Finally rid W=1 warnings from GPU Date: Wed, 13 Jan 2021 08:07:22 +0000 Message-Id: <20210113080752.1003793-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: nouveau@lists.freedesktop.org, Jeremy Kolb , Noah Abradjian , David Airlie , Anthony Koo , dri-devel@lists.freedesktop.org, Rodrigo Siqueira , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, Leo Li , Mauro Rossi , Ben Skeggs , Alex Deucher , Bhawanpreet Lakha , =?utf-8?q?Christian_K=C3=B6nig?= , linux-media@vger.kernel.org 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. 0 out of 5000 left! LAST SET! You're all clean. Can you believe it!? Lee Jones (30): drm/amd/display/dc/dc_helper: Include our own header, containing prototypes drm/amd/include/renoir_ip_offset: Mark top-level IP_BASE as __maybe_unused drm/amd/display/dmub/src/dmub_dcn30: Include our own header containing prototypes drm/amd/display/modules/power/power_helpers: Staticify local functions drm/amd/display/modules/info_packet/info_packet: Correct kernel-doc formatting drm/amd/display/dc/core/dc_resource: Staticify local functions drm/amd/display/dc/core/dc_link: Remove unused variable 'status' drm/amd/display/dc/core/dc_link_dp: Staticify local function 'linkRateInKHzToLinkRateMultiplier' drm/amd/display/dc/dce112/dce112_resource: Include our own header file containing prototypes drm/amd/display/dc/core/dc: Staticise local function 'apply_ctx_interdependent_lock' drm/amd/display/dc/dce100/Makefile: Ignore -Woverride-init warning drm/amd/display/dc/dce100/dce100_resource: Include our own header containing prototypes drm/amd/display/dc/dce60/Makefile: Ignore -Woverride-init warning drm/amd/display/dc/dce80/Makefile: Ignore -Woverride-init warning drm/amd/display/dc/dce80/dce80_resource: Include our own header containing prototypes fixup! drm/amd/display/dc/dce60/Makefile: Ignore -Woverride-init warning drm/amd/display/dc/dce60/dce60_resource: Include our own header containing prototypes drm/amd/display/dc/core/dc_link: Move some local data from the stack to the heap drm/amd/display/dc/core/dc_link_dp: Mark 'result_write_min_hblank' as __maybe_unused drm/amd/display/dc/core/dc: Fix a bunch of documentation misdemeanours drm/amd/display/dc/core/dc_resource: Demote some kernel-doc abuses drm/amd/display/dc/core/dc_link: Fix a couple of function documentation issues 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 drivers/gpu/drm/amd/display/dc/core/dc.c | 36 +++++++++---------- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 31 ++++++++-------- .../gpu/drm/amd/display/dc/core/dc_link_dp.c | 4 +-- .../gpu/drm/amd/display/dc/core/dc_resource.c | 14 ++++---- drivers/gpu/drm/amd/display/dc/dc_helper.c | 1 + .../gpu/drm/amd/display/dc/dce100/Makefile | 2 ++ .../amd/display/dc/dce100/dce100_resource.c | 2 ++ .../amd/display/dc/dce112/dce112_resource.c | 4 ++- drivers/gpu/drm/amd/display/dc/dce60/Makefile | 2 ++ .../drm/amd/display/dc/dce60/dce60_resource.c | 2 ++ drivers/gpu/drm/amd/display/dc/dce80/Makefile | 2 ++ .../drm/amd/display/dc/dce80/dce80_resource.c | 2 ++ .../gpu/drm/amd/display/dmub/src/dmub_dcn30.c | 1 + .../display/modules/info_packet/info_packet.c | 13 +++---- .../amd/display/modules/power/power_helpers.c | 6 ++-- .../gpu/drm/amd/include/renoir_ip_offset.h | 2 +- drivers/gpu/drm/nouveau/dispnv04/crtc.c | 4 +-- drivers/gpu/drm/nouveau/dispnv50/disp.c | 7 ++-- 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/nv50_display.h | 3 -- .../gpu/drm/nouveau/nvkm/engine/gr/gf100.c | 2 +- 23 files changed, 80 insertions(+), 74 deletions(-) Cc: Alex Deucher Cc: amd-gfx@lists.freedesktop.org Cc: Anthony Koo Cc: Ben Skeggs Cc: Bhawanpreet Lakha Cc: "Christian König" Cc: Daniel Vetter Cc: David Airlie Cc: dri-devel@lists.freedesktop.org Cc: Harry Wentland Cc: Jeremy Kolb Cc: Leo Li Cc: linaro-mm-sig@lists.linaro.org Cc: linux-media@vger.kernel.org Cc: Lyude Paul Cc: Mauro Rossi Cc: Noah Abradjian Cc: nouveau@lists.freedesktop.org Cc: Rodrigo Siqueira Cc: Sumit Semwal