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: 36aa9ab9c0c4a41fe334ab39951773f21709f89d [1760/2025] drm/amdgpu: update the handle ptr in sw_fini config: riscv-buildonly-randconfig-r004-20230123 (https://download.01.org/0day-ci/archive/20241002/202410021904.YyGjlpk9-lkp@xxxxxxxxx/config) compiler: riscv64-linux-gcc (GCC) 13.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241002/202410021904.YyGjlpk9-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202410021904.YyGjlpk9-lkp@xxxxxxxxx/ 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_v1_0.c:517: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v1_0_sw_fini' >> drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c:517: warning: Excess function parameter 'handle' description in 'jpeg_v1_0_sw_fini' -- 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.c:138: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v4_0_sw_fini' >> drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c:138: warning: Excess function parameter 'handle' description in 'jpeg_v4_0_sw_fini' -- 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_0.c:112: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v2_0_sw_fini' >> drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c:112: warning: Excess function parameter 'handle' description in 'jpeg_v2_0_sw_fini' -- 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_v5_0_0.c:114: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v5_0_0_sw_fini' >> drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c:114: warning: Excess function parameter 'handle' description in 'jpeg_v5_0_0_sw_fini' -- 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/jpeg_v4_0_3.c:173: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v4_0_3_sw_fini' >> drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c:173: warning: Excess function parameter 'handle' description in 'jpeg_v4_0_3_sw_fini' -- 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_v3_0.c:126: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v3_0_sw_fini' >> drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c:126: warning: Excess function parameter 'handle' description in 'jpeg_v3_0_sw_fini' -- 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/vcn_v1_0.c:221: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v1_0_sw_fini' >> drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c:221: warning: Excess function parameter 'handle' description in 'vcn_v1_0_sw_fini' -- 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_v4_0_5.c:167: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v4_0_5_sw_fini' >> drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c:167: warning: Excess function parameter 'handle' description in 'jpeg_v4_0_5_sw_fini' -- 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/jpeg_v2_5.c:161: warning: Function parameter or struct member 'ip_block' not described in 'jpeg_v2_5_sw_fini' >> drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c:161: warning: Excess function parameter 'handle' description in 'jpeg_v2_5_sw_fini' -- 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_v5_0_0.c:116: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v5_0_0_sw_init' drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c:116: warning: Excess function parameter 'handle' description in 'vcn_v5_0_0_sw_init' >> drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c:195: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v5_0_0_sw_fini' >> drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c:195: warning: Excess function parameter 'handle' description in 'vcn_v5_0_0_sw_fini' -- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c:109: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v2_0_early_init' drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c:109: warning: Excess function parameter 'handle' description in 'vcn_v2_0_early_init' drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c:132: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v2_0_sw_init' drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c:132: warning: Excess function parameter 'handle' description in 'vcn_v2_0_sw_init' >> drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c:245: warning: Function parameter or struct member 'ip_block' not described in 'vcn_v2_0_sw_fini' >> drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c:245: warning: Excess function parameter 'handle' description in 'vcn_v2_0_sw_fini' .. vim +517 drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c bb0db70f3f75e0 Leo Liu 2019-11-08 508 bb0db70f3f75e0 Leo Liu 2019-11-08 509 /** bb0db70f3f75e0 Leo Liu 2019-11-08 510 * jpeg_v1_0_sw_fini - sw fini for JPEG block bb0db70f3f75e0 Leo Liu 2019-11-08 511 * bb0db70f3f75e0 Leo Liu 2019-11-08 512 * @handle: amdgpu_device pointer bb0db70f3f75e0 Leo Liu 2019-11-08 513 * bb0db70f3f75e0 Leo Liu 2019-11-08 514 * JPEG free up sw allocation bb0db70f3f75e0 Leo Liu 2019-11-08 515 */ 36aa9ab9c0c4a4 Sunil Khatri 2024-09-26 516 void jpeg_v1_0_sw_fini(struct amdgpu_ip_block *ip_block) bb0db70f3f75e0 Leo Liu 2019-11-08 @517 { 36aa9ab9c0c4a4 Sunil Khatri 2024-09-26 518 struct amdgpu_device *adev = ip_block->adev; bb0db70f3f75e0 Leo Liu 2019-11-08 519 bc224553843e52 James Zhu 2022-05-24 520 amdgpu_ring_fini(adev->jpeg.inst->ring_dec); bb0db70f3f75e0 Leo Liu 2019-11-08 521 } bb0db70f3f75e0 Leo Liu 2019-11-08 522 :::::: The code at line 517 was first introduced by commit :::::: bb0db70f3f75e0d994a627f22c3ff2d8ec6191c4 drm/amdgpu: separate JPEG1.0 code out from VCN1.0 :::::: TO: Leo Liu <leo.liu@xxxxxxx> :::::: CC: Alex Deucher <alexander.deucher@xxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki