All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/gpu/drm/imagination/pvr_power.c:341:undefined reference to `pwrseq_power_off'
@ 2025-11-01  9:53 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-11-01  9:53 UTC (permalink / raw)
  To: Michal Wilczynski; +Cc: oe-kbuild-all, linux-kernel, Matt Coster, Ulf Hansson

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ba36dd5ee6fd4643ebbf6ee6eefcecf0b07e35c7
commit: e38e8391f30b41c5a24bb46dc6ef4161921e782d drm/imagination: Use pwrseq for TH1520 GPU power management
date:   9 weeks ago
config: arm64-randconfig-r121-20251101 (https://download.01.org/0day-ci/archive/20251101/202511011739.SONHjSfR-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251101/202511011739.SONHjSfR-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/202511011739.SONHjSfR-lkp@intel.com/

All errors (new ones prefixed by >>):

   aarch64-linux-ld: Unexpected GOT/PLT entries detected!
   aarch64-linux-ld: Unexpected run-time procedure linkages detected!
   aarch64-linux-ld: drivers/gpu/drm/imagination/pvr_power.o: in function `pvr_power_off_sequence_pwrseq':
>> drivers/gpu/drm/imagination/pvr_power.c:341:(.text+0x150): undefined reference to `pwrseq_power_off'
   aarch64-linux-ld: drivers/gpu/drm/imagination/pvr_power.o: in function `pvr_power_on_sequence_pwrseq':
>> drivers/gpu/drm/imagination/pvr_power.c:336:(.text+0x188): undefined reference to `pwrseq_power_on'
   aarch64-linux-ld: drivers/gpu/drm/imagination/pvr_power.o: in function `pvr_power_init_pwrseq':
>> drivers/gpu/drm/imagination/pvr_power.c:320:(.text+0x1cc): undefined reference to `devm_pwrseq_get'


vim +341 drivers/gpu/drm/imagination/pvr_power.c

   315	
   316	static int pvr_power_init_pwrseq(struct pvr_device *pvr_dev)
   317	{
   318		struct device *dev = from_pvr_device(pvr_dev)->dev;
   319	
 > 320		pvr_dev->pwrseq = devm_pwrseq_get(dev, "gpu-power");
   321		if (IS_ERR(pvr_dev->pwrseq)) {
   322			/*
   323			 * This platform requires a sequencer. If we can't get it, we
   324			 * must return the error (including -EPROBE_DEFER to wait for
   325			 * the provider to appear)
   326			 */
   327			return dev_err_probe(dev, PTR_ERR(pvr_dev->pwrseq),
   328					     "Failed to get required power sequencer\n");
   329		}
   330	
   331		return 0;
   332	}
   333	
   334	static int pvr_power_on_sequence_pwrseq(struct pvr_device *pvr_dev)
   335	{
 > 336		return pwrseq_power_on(pvr_dev->pwrseq);
   337	}
   338	
   339	static int pvr_power_off_sequence_pwrseq(struct pvr_device *pvr_dev)
   340	{
 > 341		return pwrseq_power_off(pvr_dev->pwrseq);
   342	}
   343	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-11-01  9:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-01  9:53 drivers/gpu/drm/imagination/pvr_power.c:341:undefined reference to `pwrseq_power_off' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.