From patchwork Mon Nov 23 11:18:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330878 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28AC1C64E69 for ; Mon, 23 Nov 2020 11:22:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D6D7120674 for ; Mon, 23 Nov 2020 11:22:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AUHltyNV" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728792AbgKWLT2 (ORCPT ); Mon, 23 Nov 2020 06:19:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726529AbgKWLT1 (ORCPT ); Mon, 23 Nov 2020 06:19:27 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0739C061A4D for ; Mon, 23 Nov 2020 03:19:25 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id d142so17513008wmd.4 for ; Mon, 23 Nov 2020 03:19:25 -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=DMOy5tV5qipP1ST9dKnY+pJMH76F5GueobC2jcvW6AA=; b=AUHltyNVg901tX+NdG7OuZGySL3B7qt2cjw7qJFKKr5S5cktmd5g5QKUC5SJWUZXs2 9e84i+DyPkxXfKjfJGsXmD2L/fQarFkWrQzjFyzgg9az0tL62yFcToHlgGvVRFL+/v1P 7l66l5tckg6CyFhj2hykcNKnOIKWSsQDtkOdsSHyYn1fQqlbRiY4bO2cas/8+cC1sf6D 4gpxgPZbnQm+Yl1oxr0WFa8/ZP5KyF25HDUOJT/LwIOEULbo8AkePLkIImPogdXnsnZm fRNGETG5RRhspPPpdUU4lmtZg/yWvhgOJm2YJtI9Wc42gvuYmkwi+Yjb2r8s3XpLKwEk DX1A== 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=DMOy5tV5qipP1ST9dKnY+pJMH76F5GueobC2jcvW6AA=; b=ch7OwdoqAmS5dgfOKB8DJteNyy3GpKPr+ykZWHBMxphYe+BTf/71762wYIzuhGQ92J trMtj1x/+OcgXV+uz1LpYTerFNqfQgu1JcEpT9W5THaY+JIP73ZE3Gr5dUNytlFm+GoN XgC3bZ2H78ESVgVt5su1WcITdX6ypZ2WPXQzXuSqNLcgKdZ6GjOrwBuPNkdWScEg+jbc rZ7L2D6FiyYLk4LU/v6fj7MuawYldmWTcCJnnqbJrN8p/hl90mxGxCjBkeiHjg6prOqK Gug8zwwpm1lmkktlgyzgCy7ioVslEqBHv6uoeUTSe2NbF4QVkYOAh8QafHjhcddyTz3Q BA8w== X-Gm-Message-State: AOAM533gW2T0eZLjuO7oj5Xzy9VeOT0v6O0qybbHe4Z+R8CPMDUQp4q+ rj07Ho//FUGyATb9atJZvbLM+w== X-Google-Smtp-Source: ABdhPJytSB5+7RjVWW+JsuKdu0soHwJ2pUhXfMvSFpqLPabsAny4e8rqlLtnPxrq42WqZTrjRsYYPg== X-Received: by 2002:a05:600c:1497:: with SMTP id c23mr22970274wmh.86.1606130363476; Mon, 23 Nov 2020 03:19:23 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:22 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alex Deucher , amd-gfx@lists.freedesktop.org, Ben Skeggs , =?utf-8?q?Christian_K=C3=B6nig?= , Daniel Vetter , David Airlie , Drew Davenport , dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Fritz Koenig , Hawking Zhang , Huang Rui , Jerome Glisse , Jiansong Chen , Jonathan Marek , Kalyan Thota , Likun Gao , linaro-mm-sig@lists.linaro.org, linux-arm-msm@vger.kernel.org, linux-media@vger.kernel.org, Luben Tuikov , nouveau@lists.freedesktop.org, Qinglang Miao , Rob Clark , Sean Paul , Sonny Jiang , Sumit Semwal , Tao Zhou Subject: [PATCH 00/40] [Set 8] Rid W=1 warnings from GPU Date: Mon, 23 Nov 2020 11:18:39 +0000 Message-Id: <20201123111919.233376-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 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. Only 900 (from 5000) to go! Lee Jones (40): drm/radeon/radeon_device: Consume our own header where the prototypes are located drm/amd/amdgpu/amdgpu_ttm: Add description for 'page_flags' drm/amd/amdgpu/amdgpu_ib: Provide docs for 'amdgpu_ib_schedule()'s 'job' param drm/amd/amdgpu/amdgpu_virt: Correct possible copy/paste or doc-rot misnaming issue drm/amd/amdgpu/cik_ih: Supply description for 'ih' in 'cik_ih_{get,set}_wptr()' drm/amd/amdgpu/uvd_v4_2: Fix some kernel-doc misdemeanours drm/amd/amdgpu/dce_v8_0: Supply description for 'async' drm/amd/amdgpu/cik_sdma: Supply some missing function param descriptions drm/amd/amdgpu/gfx_v7_0: Clean-up a bunch of kernel-doc related issues drm/msm/disp/dpu1/dpu_core_perf: Fix kernel-doc formatting issues drm/msm/disp/dpu1/dpu_hw_blk: Add one missing and remove an extra param description drm/msm/disp/dpu1/dpu_formats: Demote non-conformant kernel-doc header drm/msm/disp/dpu1/dpu_hw_catalog: Remove duplicated initialisation of 'max_linewidth' drm/msm/disp/dpu1/dpu_hw_catalog: Move definitions to the only place they are used drm/nouveau/nvkm/subdev/bios/init: Demote obvious abuse of kernel-doc drm/amd/amdgpu/si_dma: Fix a bunch of function documentation issues drm/amd/amdgpu/gfx_v6_0: Supply description for 'gfx_v6_0_ring_test_ib()'s 'timeout' param drm/msm/disp/dpu1/dpu_encoder: Fix a few parameter/member formatting issues drm/msm/disp/dpu1/dpu_hw_lm: Fix misnaming of parameter 'ctx' drm/msm/disp/dpu1/dpu_hw_sspp: Fix kernel-doc formatting abuse drm/amd/amdgpu/uvd_v3_1: Fix-up some documentation issues drm/amd/amdgpu/dce_v6_0: Fix formatting and missing parameter description issues drm/amd/include/vega20_ip_offset: Mark top-level IP_BASE definition as __maybe_unused drm/amd/include/navi10_ip_offset: Mark top-level IP_BASE as __maybe_unused drm/amd/include/arct_ip_offset: Mark top-level IP_BASE definition as __maybe_unused drm/amd/include/navi14_ip_offset: Mark top-level IP_BASE as __maybe_unused drm/amd/include/navi12_ip_offset: Mark top-level IP_BASE as __maybe_unused drm/amd/include/sienna_cichlid_ip_offset: Mark top-level IP_BASE as __maybe_unused drm/amd/include/vangogh_ip_offset: Mark top-level IP_BASE as __maybe_unused drm/amd/include/dimgrey_cavefish_ip_offset: Mark top-level IP_BASE as __maybe_unused drm/msm/disp/dpu1/dpu_rm: Fix formatting issues and supply 'global_state' description drm/msm/disp/dpu1/dpu_vbif: Fix a couple of function param descriptions drm/amd/amdgpu/cik_sdma: Add one and remove another function param description drm/amd/amdgpu/uvd_v4_2: Add one and remove another function param description drm/msm/disp/dpu1/dpu_plane: Fix some spelling and missing function param descriptions drm/amd/amdgpu/gmc_v7_0: Add some missing kernel-doc descriptions drm/amd/amdgpu/gmc_v8_0: Fix more issues attributed to copy/paste drm/msm/msm_drv: Make '_msm_ioremap()' static drm/amd/amdgpu/gmc_v9_0: Remove unused table 'ecc_umc_mcumc_status_addrs' drm/amd/amdgpu/gmc_v9_0: Suppy some missing function doc descriptions drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 12 +- drivers/gpu/drm/amd/amdgpu/cik_ih.c | 2 + drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 18 ++- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 1 + drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 1 + drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 33 +++-- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 7 +- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 5 + drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 38 +---- drivers/gpu/drm/amd/amdgpu/si_dma.c | 14 +- drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c | 10 +- drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c | 10 +- drivers/gpu/drm/amd/include/arct_ip_offset.h | 4 +- .../amd/include/dimgrey_cavefish_ip_offset.h | 2 +- .../gpu/drm/amd/include/navi10_ip_offset.h | 2 +- .../gpu/drm/amd/include/navi12_ip_offset.h | 2 +- .../gpu/drm/amd/include/navi14_ip_offset.h | 2 +- .../amd/include/sienna_cichlid_ip_offset.h | 2 +- .../gpu/drm/amd/include/vangogh_ip_offset.h | 2 +- .../gpu/drm/amd/include/vega20_ip_offset.h | 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c | 17 +-- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 15 +- drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c | 2 +- .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 75 +++++++++- .../drm/msm/disp/dpu1/dpu_hw_catalog_format.h | 88 ------------ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c | 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c | 4 +- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 19 ++- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 5 +- drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c | 2 +- drivers/gpu/drm/msm/msm_drv.c | 4 +- .../gpu/drm/nouveau/nvkm/subdev/bios/init.c | 136 +++++++++--------- drivers/gpu/drm/radeon/radeon_device.c | 1 + 37 files changed, 277 insertions(+), 268 deletions(-) delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h Cc: Alex Deucher Cc: amd-gfx@lists.freedesktop.org Cc: Ben Skeggs Cc: "Christian König" Cc: Daniel Vetter Cc: David Airlie Cc: Drew Davenport Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Cc: Fritz Koenig Cc: Hawking Zhang Cc: Huang Rui Cc: Jerome Glisse Cc: Jiansong Chen Cc: Jonathan Marek Cc: Kalyan Thota Cc: Likun Gao Cc: linaro-mm-sig@lists.linaro.org Cc: linux-arm-msm@vger.kernel.org Cc: linux-media@vger.kernel.org Cc: Luben Tuikov Cc: nouveau@lists.freedesktop.org Cc: Qinglang Miao Cc: Rob Clark Cc: Sean Paul Cc: Sonny Jiang Cc: Sumit Semwal Cc: Tao Zhou