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 43E04CF319D for ; Wed, 2 Oct 2024 08:11:12 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 61F9A440185; Wed, 2 Oct 2024 04:11:11 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5A822440175; Wed, 2 Oct 2024 04:11:11 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3FB4D440185; Wed, 2 Oct 2024 04:11:11 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 0E88C440175 for ; Wed, 2 Oct 2024 04:11:11 -0400 (EDT) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 9C5411C77CB for ; Wed, 2 Oct 2024 08:11:10 +0000 (UTC) X-FDA: 82627941900.29.88D660E Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by imf06.hostedemail.com (Postfix) with ESMTP id 6750018000A for ; Wed, 2 Oct 2024 08:11:07 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Teh2wZm8; spf=pass (imf06.hostedemail.com: domain of lkp@intel.com designates 192.198.163.8 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1727856539; 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:in-reply-to: references:dkim-signature; bh=aPM2Etve13dy5bY/+0oSkucKmkyDX/TaMxMv7uNzvoo=; b=0sy41JXIcoEi4gC7/oyJCvOw5ElRxW312KDCZ6ba3i6t6VCqFWxYSSV4JyXHd9UQyc9XNR XNUKC1/3tUeO0jxxtRC1flwYDZOWA6rOMfdqllehWmrtTrhDbZJGRgkdhlw+gDABnxvg1V pcCpF7TcOr77V0iDDnpcefDcNkTNs7I= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1727856539; a=rsa-sha256; cv=none; b=xZf5KKreVEuQHuAKLbr3r+ojSJqgptplcLd/dH+mELJ0ScPt7XDRfV4iMZluyGiqQdM+/V WXPn86NTTxcG/Q9qrb7oVSMqGtaXNGxcun/nlk353BkkCo8Y6nOWUtm5ddxcYeovsgz20L o8lV3ev176SfOkL0ZC3Phj6HP4ZitAM= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Teh2wZm8; spf=pass (imf06.hostedemail.com: domain of lkp@intel.com designates 192.198.163.8 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1727856667; x=1759392667; h=date:from:to:cc:subject:message-id:mime-version; bh=OLkt43BQ192xjPH65OnrhCJSm3pBaNq9zc6HDari+70=; b=Teh2wZm8LcRjv8pLLlYCPT3v4BqROqxKhK+fhqtrPR6M4GvvmzhoXVd7 hIlGpSD1A9fVElIMr6JLtChiH0q6PH8N1L18z64GYNn9SeH3KWtzYPQmo KSB6U+BuOrKSiRJBdTx/nzyug0SLAKN5ZgkNQx+ILDpQmb5sFfYVLZt3x Eces2mPJvzhH+dMg1wfwSchx2VOwVJPK2yezBUxEa9k7MlRKUV23qwrOf aCY9wMxhFFruZyleS07ABu+JzwyRnlBclNsX0zYHdxxMUcoys/6BxnP0n hL6SFBFgheMZgfB/PtcreTDozD/TUaWfLC5nXlX+P8/jBaOFUN6GrMx5F A==; X-CSE-ConnectionGUID: OtlLw67QSZuu6nKWOqYAfQ== X-CSE-MsgGUID: gTrVI+xDS66hbTyQO2EOmA== X-IronPort-AV: E=McAfee;i="6700,10204,11212"; a="44538214" X-IronPort-AV: E=Sophos;i="6.11,171,1725346800"; d="scan'208";a="44538214" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Oct 2024 01:11:06 -0700 X-CSE-ConnectionGUID: 69k9imINQ1u9K2FlUKug7A== X-CSE-MsgGUID: H/4lPJYjR82hRTua4jW5sg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,171,1725346800"; d="scan'208";a="104731272" Received: from lkp-server01.sh.intel.com (HELO 53e96f405c61) ([10.239.97.150]) by fmviesa001.fm.intel.com with ESMTP; 02 Oct 2024 01:11:04 -0700 Received: from kbuild by 53e96f405c61 with local (Exim 4.96) (envelope-from ) id 1svuRq-000Rn9-1N; Wed, 02 Oct 2024 08:11:02 +0000 Date: Wed, 2 Oct 2024 16:10:34 +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 1757/2025] 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' Message-ID: <202410021623.jPupzVoB-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 6750018000A X-Stat-Signature: tjbeikoda1z5j9eoubs3iraiih7wyh9q X-HE-Tag: 1727856667-922008 X-HE-Meta: U2FsdGVkX18ctZEWcibQWK7JV+GINjPWIAQr9qppG1MpBE6dz+DsNtrvN3ewGOBGTkCJX73Ys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co73AwhUzk8TLbD5GRiVLe+Z4VNqnzWrqwMFK2de32fInzfP2L/JuTRxoimUdvYyL38m3PdsUTG65stynPN9LmaI2yWVfixzz1cupBaKoo1cV1XLN3zXymXMKp/jM2axmWLSyO3c6ubPdg73x//xEj/8bqMPY4HTSNethBMvym+ayVuQXClGD2qiBVAFtdIw5hnYdrSmmIvhgmC9ZTgFDQoNcaqhu9wH1EcSX4= 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: 146b085eadd2ce405e67492a80d6e767748d5642 [1757/2025] drm/amdgpu: update the handle ptr in early_init config: riscv-buildonly-randconfig-r004-20230123 (https://download.01.org/0day-ci/archive/20241002/202410021623.jPupzVoB-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/202410021623.jPupzVoB-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/202410021623.jPupzVoB-lkp@intel.com/ All warnings (new ones prefixed by >>): >> 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_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_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_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_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_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_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_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/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_v5_0_0.c:96: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v5_0_0_early_init' >> drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c:96: warning: Excess function parameter 'handle' description in 'vcn_v5_0_0_early_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' .. vim +49 drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c 6ac27241106bc9 Leo Liu 2019-11-08 35 6ac27241106bc9 Leo Liu 2019-11-08 36 static void jpeg_v2_0_set_dec_ring_funcs(struct amdgpu_device *adev); 6ac27241106bc9 Leo Liu 2019-11-08 37 static void jpeg_v2_0_set_irq_funcs(struct amdgpu_device *adev); 6ac27241106bc9 Leo Liu 2019-11-08 38 static int jpeg_v2_0_set_powergating_state(void *handle, 6ac27241106bc9 Leo Liu 2019-11-08 39 enum amd_powergating_state state); 6ac27241106bc9 Leo Liu 2019-11-08 40 6ac27241106bc9 Leo Liu 2019-11-08 41 /** 6ac27241106bc9 Leo Liu 2019-11-08 42 * jpeg_v2_0_early_init - set function pointers 6ac27241106bc9 Leo Liu 2019-11-08 43 * 6ac27241106bc9 Leo Liu 2019-11-08 44 * @handle: amdgpu_device pointer 6ac27241106bc9 Leo Liu 2019-11-08 45 * 6ac27241106bc9 Leo Liu 2019-11-08 46 * Set ring and irq function pointers 6ac27241106bc9 Leo Liu 2019-11-08 47 */ 146b085eadd2ce Sunil Khatri 2024-09-25 48 static int jpeg_v2_0_early_init(struct amdgpu_ip_block *ip_block) 6ac27241106bc9 Leo Liu 2019-11-08 @49 { 146b085eadd2ce Sunil Khatri 2024-09-25 50 struct amdgpu_device *adev = ip_block->adev; 6ac27241106bc9 Leo Liu 2019-11-08 51 6ac27241106bc9 Leo Liu 2019-11-08 52 adev->jpeg.num_jpeg_inst = 1; 28bb7f13e70dcd James Zhu 2023-05-24 53 adev->jpeg.num_jpeg_rings = 1; 6ac27241106bc9 Leo Liu 2019-11-08 54 6ac27241106bc9 Leo Liu 2019-11-08 55 jpeg_v2_0_set_dec_ring_funcs(adev); 6ac27241106bc9 Leo Liu 2019-11-08 56 jpeg_v2_0_set_irq_funcs(adev); 6ac27241106bc9 Leo Liu 2019-11-08 57 6ac27241106bc9 Leo Liu 2019-11-08 58 return 0; 6ac27241106bc9 Leo Liu 2019-11-08 59 } 6ac27241106bc9 Leo Liu 2019-11-08 60 :::::: The code at line 49 was first introduced by commit :::::: 6ac27241106bc946bd50032f4cd96899c6a6fe69 drm/amdgpu: add JPEG v2.0 function supports :::::: TO: Leo Liu :::::: CC: Alex Deucher -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki