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: 70709 Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1kzbD4-00CsPV-L6; Wed, 13 Jan 2021 08:08:56 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725865AbhAMIIh (ORCPT + 1 other); Wed, 13 Jan 2021 03:08:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725770AbhAMIIh (ORCPT ); Wed, 13 Jan 2021 03:08:37 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED139C061575 for ; Wed, 13 Jan 2021 00:07:56 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id c124so681196wma.5 for ; Wed, 13 Jan 2021 00:07:56 -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=fCidHA2Ca2pTw/gLHJY1no9RVRmbjUM8tGw823eJ23gPKghB457wmj9KSkulzS3kSw f0nd6CYwfAZLhscIBElCZUzpqPjX+FqS8D1pGXMLIzDK9pdywN2xWIWxk6lMczGdkmNk 8hU2x2ugwTLNrecEjthRcgcwlDSIaIAG+htcBntA3EXoPZuS6G0axvtmYMQQbakuZK9M 5jJY9QAr/LmYxaqE2cGSFFF2yP6Yr6AYMF127S128jyqIL3N8JG7lKinFVWWNoZKMRdf ZXwKTlKwXGVTTwt3HMOyeA+Nh9qdchIzBiUdIS3nvQfBa7G4jWhh2QDHuJasB52preuM 23Sw== X-Gm-Message-State: AOAM531DyBzauwc7bGOVKqSCOwZxtMsipbws1T9iLb4S/k3Gm7RQP44u P/sW9P/5K1r0+yAX6tWnkQTjdQ== X-Google-Smtp-Source: ABdhPJzpqWtD7JRoUTlxKG1Kexi900ZqPelwmJzR4MtEuvPIuECn9kkk6/wDHIjeVMBl+hAkknSDFQ== 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 Cc: linux-kernel@vger.kernel.org, Alex Deucher , amd-gfx@lists.freedesktop.org, Anthony Koo , Ben Skeggs , Bhawanpreet Lakha , =?utf-8?q?Christian_K=C3=B6n?= =?utf-8?q?ig?= , Daniel Vetter , David Airlie , dri-devel@lists.freedesktop.org, Harry Wentland , Jeremy Kolb , Leo Li , linaro-mm-sig@lists.linaro.org, linux-media@vger.kernel.org, Lyude Paul , Mauro Rossi , Noah Abradjian , nouveau@lists.freedesktop.org, Rodrigo Siqueira , Sumit Semwal 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 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -2.5 (--) X-LSpam-Report: No, score=-2.5 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no 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