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: 330576 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907108ilh; Mon, 23 Nov 2020 03:19:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxfbxUlKazhWqJALdNF9ySSYUvK+rx4aiUnlhFefbeU13vjw03HBsk95QiYnrHOu8p4bQvt X-Received: by 2002:a17:90a:e2d4:: with SMTP id fr20mr23102819pjb.202.1606130368426; Mon, 23 Nov 2020 03:19:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130368; cv=none; d=google.com; s=arc-20160816; b=AcA6bR8eBvzm4gYA4NYmB/m9KQESCTMHUitfO3NrmZBYWXlrENGIHc7yLvMti2Sw1d dTJ60Qop9z6AMx7xijCpnv9Jrd6oUU7bha+ICPKlGXjbGTov1hLQ11PgA83NaOXqzBNK zddbxf04Ppkeus719rGmvJj9yjU5GQCPqi0VaQRfaY/LcK2QNwAbh7DTXb6WD2W9gT4Z WwYjVPfF/22hJ9ttELSnZP7EVKkqdP81T4oaq5r7DIWDvdTgnIWkW9toLyBob03ixQH5 JpYSSNEhzYObzIoKmWjWXSxzE/Uftf7tfM3zYR3BYx1dkyn/rJJh6NRCMveOAM5Hgh8b eyGQ== 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=dDIkymjfohWUOcg3Hi0kJge8QiQ+PyTNomNd2iYfW/4=; b=wgd/hfkt5pfVzU/z87tHm7z2eN4K/6mEmKaLTRnodQ/048/0LZJ7xecsj/Apx02bTU 58xgfZYhzKJml9eEzSYMda9W49XQXhy5EgoIyVls2VW3kKIQ7bw3S+dWBHw7cEK9gCQy q/aXWPxC8iktNnZpyOPdlyTQcHtDxMoRkFgMtdBRy3xoVwKytrgVcN6LiDkglDwf3jHt 9Ph3hFahjGk3eMRCF2D2lDusTzpyUFOf9oSA4VGzlnXuclfY9FQhfOloFs/Q/YPICmgs 4FEwYb9v9NHhKYuMwHne2HXjmNz+aaKsWpJf5lUROtv9b4UzXiCQni7qPRCW7wF0q+nV xNRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=AUHltyNV; 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 az5si10390750plb.325.2020.11.23.03.19.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:28 -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=AUHltyNV; 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 462056E092; Mon, 23 Nov 2020 11:19:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by gabe.freedesktop.org (Postfix) with ESMTPS id EA78C6E09C for ; Mon, 23 Nov 2020 11:19:24 +0000 (UTC) Received: by mail-wm1-x32f.google.com with SMTP id w24so16873987wmi.0 for ; Mon, 23 Nov 2020 03:19:24 -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=UBOaIxmlVqrT2V9pporviWsia3WFB6qZ/dtLbPJfLPZ+iS41jVdFmErkf+8Y/kyXrl PuohAwARDXdUMarUUX00/9YACkj+dToJzcbD/0vk11QxYPUTnHoChPlxp2GVCvPEOweE /1/hbf0oX+S8sZ2AyonfQ3DfUvqQvjKkssFOwnlaNV7XuWdGP2pu4CSkqQ2iTgS4PHLS q/MXBN+zW/6eJKoG4EihnoLSOYbBB0wu9o6HzLK1N5cjsBCz01ylLKZCaATS0Wrx0LKb XVGB0ISt2leo3HEk2Gc287HjjVZ1DNAGHyFpmR7X0LGWlwQtb9unJiumIcQNhakelFR1 Ii7g== X-Gm-Message-State: AOAM533aX7svsmrzuVdL1btqHyuCQ+dD8abQgxI1pNTrXoF8DRo+DuH1 UFL825Jz/16G07LOz7WQSmZq1g== 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 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 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, Tao Zhou , dri-devel@lists.freedesktop.org, Sonny Jiang , Huang Rui , Qinglang Miao , Likun Gao , Jonathan Marek , amd-gfx@lists.freedesktop.org, Luben Tuikov , Ben Skeggs , Jiansong Chen , linux-media@vger.kernel.org, Fritz Koenig , linux-arm-msm@vger.kernel.org, linaro-mm-sig@lists.linaro.org, Alex Deucher , Kalyan Thota , Sean Paul , linux-kernel@vger.kernel.org, Jerome Glisse , Drew Davenport , freedreno@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , Hawking Zhang 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. 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 Reviewed-by: Abhinav Kumar Reviewed-by: Abhinav Kumar