[linux-next:master 9089/15964] drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1562:undefined reference to `qmp_put'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   9c2d379d63450ae464eeab45462e0cb573cd97d0
commit: b9986846189cea87a9d93052cfab462c9e74f447 [9089/15964] drm/msm/a6xx: Fix up QMP handling
config: arm-randconfig-r025-20230123 (https://download.01.org/0day-ci/archive/20231101/202311011054.QnycS93a-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231101/202311011054.QnycS93a-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/202311011054.QnycS93a-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   arm-linux-gnueabi-ld: drivers/gpu/drm/msm/adreno/a6xx_gmu.o: in function `a6xx_gmu_resume':
   drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1027:(.text+0x2356): undefined reference to `qmp_send'
   arm-linux-gnueabi-ld: drivers/gpu/drm/msm/adreno/a6xx_gmu.o: in function `a6xx_gmu_remove':
>> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1562:(.text+0x2808): undefined reference to `qmp_put'
   arm-linux-gnueabi-ld: drivers/gpu/drm/msm/adreno/a6xx_gmu.o: in function `a6xx_gmu_init':
   drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1790:(.text+0x2f1e): undefined reference to `qmp_get'


vim +1562 drivers/gpu/drm/msm/adreno/a6xx_gmu.c

  1531	
  1532	void a6xx_gmu_remove(struct a6xx_gpu *a6xx_gpu)
  1533	{
  1534		struct adreno_gpu *adreno_gpu = &a6xx_gpu->base;
  1535		struct a6xx_gmu *gmu = &a6xx_gpu->gmu;
  1536		struct platform_device *pdev = to_platform_device(gmu->dev);
  1537	
  1538		mutex_lock(&gmu->lock);
  1539		if (!gmu->initialized) {
  1540			mutex_unlock(&gmu->lock);
  1541			return;
  1542		}
  1543	
  1544		gmu->initialized = false;
  1545	
  1546		mutex_unlock(&gmu->lock);
  1547	
  1548		pm_runtime_force_suspend(gmu->dev);
  1549	
  1550		/*
  1551		 * Since cxpd is a virt device, the devlink with gmu-dev will be removed
  1552		 * automatically when we do detach
  1553		 */
  1554		dev_pm_domain_detach(gmu->cxpd, false);
  1555	
  1556		if (!IS_ERR_OR_NULL(gmu->gxpd)) {
  1557			pm_runtime_disable(gmu->gxpd);
  1558			dev_pm_domain_detach(gmu->gxpd, false);
  1559		}
  1560	
  1561		if (!IS_ERR_OR_NULL(gmu->qmp))
> 1562			qmp_put(gmu->qmp);
  1563	
  1564		iounmap(gmu->mmio);
  1565		if (platform_get_resource_byname(pdev, IORESOURCE_MEM, "rscc"))
  1566			iounmap(gmu->rscc);
  1567		gmu->mmio = NULL;
  1568		gmu->rscc = NULL;
  1569	
  1570		if (!adreno_has_gmu_wrapper(adreno_gpu)) {
  1571			a6xx_gmu_memory_free(gmu);
  1572	
  1573			free_irq(gmu->gmu_irq, gmu);
  1574			free_irq(gmu->hfi_irq, gmu);
  1575		}
  1576	
  1577		/* Drop reference taken in of_find_device_by_node */
  1578		put_device(gmu->dev);
  1579	}
  1580	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux