linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Michal Wilczynski <m.wilczynski@samsung.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Matt Coster <matt.coster@imgtec.com>,
	Ulf Hansson <ulf.hansson@linaro.org>
Subject: drivers/gpu/drm/imagination/pvr_power.c:341:undefined reference to `pwrseq_power_off'
Date: Sat, 1 Nov 2025 17:53:53 +0800	[thread overview]
Message-ID: <202511011739.SONHjSfR-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-11-01  9:56 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=202511011739.SONHjSfR-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m.wilczynski@samsung.com \
    --cc=matt.coster@imgtec.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=ulf.hansson@linaro.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;
as well as URLs for NNTP newsgroup(s).