From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B4B3CF31A9 for ; Wed, 2 Oct 2024 10:04:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 787F8440175; Wed, 2 Oct 2024 06:04:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 739DF44018A; Wed, 2 Oct 2024 06:04:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5635B440175; Wed, 2 Oct 2024 06:04:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 2CFFE6B0199 for ; Wed, 2 Oct 2024 06:04:26 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 78DD01C791D for ; Wed, 2 Oct 2024 10:04:25 +0000 (UTC) X-FDA: 82628227290.22.0D63001 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by imf27.hostedemail.com (Postfix) with ESMTP id 1D9F04000E for ; Wed, 2 Oct 2024 10:04:21 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Si3DoPgd; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf27.hostedemail.com: domain of lkp@intel.com designates 192.198.163.13 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1727863423; a=rsa-sha256; cv=none; b=aKueE953ShQTmAaTm5DEo5rnUBZYkjY6ApQC9IfJyIyuf7jLqQ86JtikE266/ZtEo18H+g QBQKAWhsljygz7OyQ8rXsYkpeLL+uQyqld4iSRZjnnNF3ls2UFJTZy99MuHo6a1RTzFEQJ fx7Dl31CKfWAkjQ49QYdl34LJwCiXIA= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Si3DoPgd; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf27.hostedemail.com: domain of lkp@intel.com designates 192.198.163.13 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1727863423; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=72/avC+pT4cEN3gQ/379TAU4l7xJgI6c35wYbXW2CGk=; b=8jOSwUhCUxNEDUEZZOIaKMdxaW+XjeGWLQWO29p0x6w8Byyo/YH6AafiOmw/hzMkhuWbaN P/dGa4RaaGereSVmW2dGAx1X5YGbyoHdqCke1cgg8Ppg9b+P4orXph4OI+x9zmAL9Z2+zi qAeeOVOSgTpgRljcAY7NnaviXef3CDE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1727863462; x=1759399462; h=date:from:to:cc:subject:message-id:mime-version: content-transfer-encoding; bh=5lxrxIvoBUMik1KRYjcoEQDL7XhotazrgH0VYwDdwW4=; b=Si3DoPgdtrSd7HELEunbwEYjfg25/htGgVqSRVn0WUSaYacirsUXHZK7 /ZU3TbZel/IX0PUc6y42hTyTz7tpy5lMbmM6lAhYiP8i7zl6W90UnlgC1 7d8kHkOZmDHBzFM7O+3+Yl9CLroUu06l3wZip9M1TiIC2JvNdH2UnRhPZ fn8QZQ0E0VUPG/IK+JyK1HL7kcz26LWVmWxhQghtAtn92naIrkWv8ZeSS enWKapb/OeDUpvaUyRVLQf4dsADLVBYaeyjYvPIJt3j+8P93+ObUzp6Y1 Bzo/Xv8GokogC+P4XZAqGxPy2IizGSuFPwwxTaUjDuKuuuLp1DKf8f3EV Q==; X-CSE-ConnectionGUID: LvfspW38TgKelIH65OxZkQ== X-CSE-MsgGUID: 728xA/PdTeiJ8jhEL1833Q== X-IronPort-AV: E=McAfee;i="6700,10204,11212"; a="29897348" X-IronPort-AV: E=Sophos;i="6.11,171,1725346800"; d="scan'208";a="29897348" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Oct 2024 03:04:13 -0700 X-CSE-ConnectionGUID: ko9ScsCyRhOWqI7kGCyv6A== X-CSE-MsgGUID: NUh4wwhIQCWX8ogwstuFIw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,171,1725346800"; d="scan'208";a="74383559" Received: from lkp-server01.sh.intel.com (HELO 53e96f405c61) ([10.239.97.150]) by orviesa007.jf.intel.com with ESMTP; 02 Oct 2024 03:04:11 -0700 Received: from kbuild by 53e96f405c61 with local (Exim 4.96) (envelope-from ) id 1svwDI-000Rtn-29; Wed, 02 Oct 2024 10:04:08 +0000 Date: Wed, 2 Oct 2024 18:03:30 +0800 From: kernel test robot To: Sunil Khatri Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= Subject: [linux-next:master 1759/2025] drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c:485: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v1_0_sw_init' Message-ID: <202410021805.ih3ycw6J-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Queue-Id: 1D9F04000E X-Rspamd-Server: rspam01 X-Stat-Signature: 3w9iwzefrasi6xtabfhj7nser9cszxbi X-HE-Tag: 1727863461-820831 X-HE-Meta: U2FsdGVkX18MgH2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C+Nny4aJiHc7JeU+r5ciGMqdUkMrq07no4aIhqF+lbR7kBYUjik7tdwkBm2jNpV+zs9QxDZMEfh2HA5HrdZPACfAr5QmdrIESxqZOAS+pT8sBTUibwPAA1zSp3qPYfQQoU1vkTpwcjy+jDkQ4mGN6T41HjYqLKsi15DkK6Ww6N1ZZ7dX6qHSm/O3CSYZnPBCgfsyZsNvNo0nvLxX7Fd4QGw/nBZj0hheVAapUAOdPZzS9VY3N+36SGakz0phenjPJhq4F2DTxRhAewet0eJcKNAtkaKXhtSHWP6yrBfCU8scJ+S1u+FrknQq13xpkmgILmU= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Hi Sunil, FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant. tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: fe21733536749bb1b31c9c84e0b8d2ab8d82ce13 commit: d5347e8d2711bb01c79698408ec189a7b7cfe45e [1759/2025] drm/amdgpu: update the handle ptr in sw_init config: riscv-buildonly-randconfig-r004-20230123 (https://download.01.org/0day-ci/archive/20241002/202410021805.ih3ycw6J-lkp@intel.com/config) compiler: riscv64-linux-gcc (GCC) 13.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241002/202410021805.ih3ycw6J-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202410021805.ih3ycw6J-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c:466: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v1_0_early_init' drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c:466: warning: Excess function parameter 'handle' description in 'jpeg_v1_0_early_init' >> drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c:485: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v1_0_sw_init' >> drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c:485: warning: Excess function parameter 'handle' description in 'jpeg_v1_0_sw_init' -- drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c:49: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v2_0_early_init' drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c:49: warning: Excess function parameter 'handle' description in 'jpeg_v2_0_early_init' >> drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c:69: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v2_0_sw_init' >> drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c:69: warning: Excess function parameter 'handle' description in 'jpeg_v2_0_sw_init' -- drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:58: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v2_5_early_init' drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:58: warning: Excess function parameter 'handle' description in 'jpeg_v2_5_early_init' >> drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:89: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v2_5_sw_init' >> drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:89: warning: Excess function parameter 'handle' description in 'jpeg_v2_5_sw_init' -- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:104: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v1_0_early_init' drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:104: warning: Excess function parameter 'handle' description in 'vcn_v1_0_early_init' >> drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:126: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v1_0_sw_init' >> drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:126: warning: Excess function parameter 'handle' description in 'vcn_v1_0_sw_init' -- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c:56: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v4_0_early_init' drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c:56: warning: Excess function parameter 'handle' description in 'jpeg_v4_0_early_init' >> drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c:78: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v4_0_sw_init' >> drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c:78: warning: Excess function parameter 'handle' description in 'jpeg_v4_0_sw_init' -- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c:69: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v4_0_5_early_init' drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c:69: warning: Excess function parameter 'handle' description in 'jpeg_v4_0_5_early_init' >> drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c:102: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v4_0_5_sw_init' >> drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c:102: warning: Excess function parameter 'handle' description in 'jpeg_v4_0_5_sw_init' -- drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c:50: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v5_0_0_early_init' drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c:50: warning: Excess function parameter 'handle' description in 'jpeg_v5_0_0_early_init' >> drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c:70: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v5_0_0_sw_init' >> drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c:70: warning: Excess function parameter 'handle' description in 'jpeg_v5_0_0_sw_init' -- drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c:50: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v3_0_early_init' drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c:50: warning: Excess function parameter 'handle' description in 'jpeg_v3_0_early_init' >> drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c:83: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v3_0_sw_init' >> drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c:83: warning: Excess function parameter 'handle' description in 'jpeg_v3_0_sw_init' -- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c:76: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v4_0_3_early_init' drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c:76: warning: Excess function parameter 'handle' description in 'jpeg_v4_0_3_early_init' >> drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c:96: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v4_0_3_sw_init' >> drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c:96: warning: Excess function parameter 'handle' description in 'jpeg_v4_0_3_sw_init' -- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c:113: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v4_0_5_early_init' drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c:113: warning: Excess function parameter 'handle' description in 'vcn_v4_0_5_early_init' >> drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c:132: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v4_0_5_sw_init' >> drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c:132: warning: Excess function parameter 'handle' description in 'vcn_v4_0_5_sw_init' -- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c:119: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v2_5_early_init' drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c:119: warning: Excess function parameter 'handle' description in 'vcn_v2_5_early_init' >> drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c:159: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v2_5_sw_init' >> drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c:159: warning: Excess function parameter 'handle' description in 'vcn_v2_5_sw_init' .. vim +485 drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c bb0db70f3f75e0 Leo Liu 2019-11-08 477 bb0db70f3f75e0 Leo Liu 2019-11-08 478 /** bb0db70f3f75e0 Leo Liu 2019-11-08 479 * jpeg_v1_0_sw_init - sw init for JPEG block bb0db70f3f75e0 Leo Liu 2019-11-08 480 * bb0db70f3f75e0 Leo Liu 2019-11-08 481 * @handle: amdgpu_device pointer bb0db70f3f75e0 Leo Liu 2019-11-08 482 * bb0db70f3f75e0 Leo Liu 2019-11-08 483 */ d5347e8d2711bb Sunil Khatri 2024-09-26 484 int jpeg_v1_0_sw_init(struct amdgpu_ip_block *ip_block) bb0db70f3f75e0 Leo Liu 2019-11-08 @485 { d5347e8d2711bb Sunil Khatri 2024-09-26 486 struct amdgpu_device *adev = ip_block->adev; bb0db70f3f75e0 Leo Liu 2019-11-08 487 struct amdgpu_ring *ring; bb0db70f3f75e0 Leo Liu 2019-11-08 488 int r; bb0db70f3f75e0 Leo Liu 2019-11-08 489 bb0db70f3f75e0 Leo Liu 2019-11-08 490 /* JPEG TRAP */ bb0db70f3f75e0 Leo Liu 2019-11-08 491 r = amdgpu_irq_add_id(adev, SOC15_IH_CLIENTID_VCN, 126, &adev->jpeg.inst->irq); bb0db70f3f75e0 Leo Liu 2019-11-08 492 if (r) bb0db70f3f75e0 Leo Liu 2019-11-08 493 return r; bb0db70f3f75e0 Leo Liu 2019-11-08 494 bc224553843e52 James Zhu 2022-05-24 495 ring = adev->jpeg.inst->ring_dec; f4caf5842652f0 Hawking Zhang 2022-09-14 496 ring->vm_hub = AMDGPU_MMHUB0(0); bb0db70f3f75e0 Leo Liu 2019-11-08 497 sprintf(ring->name, "jpeg_dec"); 1c6d567bdf73a2 Nirmoy Das 2020-04-01 498 r = amdgpu_ring_init(adev, ring, 512, &adev->jpeg.inst->irq, c107171b8d3241 Christian König 2021-02-02 499 0, AMDGPU_RING_PRIO_DEFAULT, NULL); bb0db70f3f75e0 Leo Liu 2019-11-08 500 if (r) bb0db70f3f75e0 Leo Liu 2019-11-08 501 return r; bb0db70f3f75e0 Leo Liu 2019-11-08 502 bc224553843e52 James Zhu 2022-05-24 503 adev->jpeg.internal.jpeg_pitch[0] = adev->jpeg.inst->external.jpeg_pitch[0] = bb0db70f3f75e0 Leo Liu 2019-11-08 504 SOC15_REG_OFFSET(JPEG, 0, mmUVD_JPEG_PITCH); bb0db70f3f75e0 Leo Liu 2019-11-08 505 bb0db70f3f75e0 Leo Liu 2019-11-08 506 return 0; bb0db70f3f75e0 Leo Liu 2019-11-08 507 } bb0db70f3f75e0 Leo Liu 2019-11-08 508 :::::: The code at line 485 was first introduced by commit :::::: bb0db70f3f75e0d994a627f22c3ff2d8ec6191c4 drm/amdgpu: separate JPEG1.0 code out from VCN1.0 :::::: TO: Leo Liu :::::: CC: Alex Deucher -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki