linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Rob Clark <robdclark@chromium.org>
Subject: [linux-next:master 9089/15964] drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1562:undefined reference to `qmp_put'
Date: Wed, 1 Nov 2023 10:12:17 +0800	[thread overview]
Message-ID: <202311011054.QnycS93a-lkp@intel.com> (raw)

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@intel.com/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@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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311011054.QnycS93a-lkp@intel.com/

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


                 reply	other threads:[~2023-11-01  2:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202311011054.QnycS93a-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=konrad.dybcio@linaro.org \
    --cc=linux-mm@kvack.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=robdclark@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox