From: kernel test robot <lkp@intel.com>
To: Brajesh Gupta <brajesh.gupta@imgtec.com>
Cc: oe-kbuild-all@lists.linux.dev, dri-devel@lists.freedesktop.org,
Matt Coster <matt.coster@imgtec.com>
Subject: [drm-misc:for-linux-next 3/5] drivers/gpu/drm/imagination/pvr_power.c:382:23: error: too few arguments to function 'pvr_power_fw_disable'; expected 3, have 2
Date: Wed, 20 May 2026 16:20:17 +0800 [thread overview]
Message-ID: <202605201611.xeaMCL0O-lkp@intel.com> (raw)
tree: https://gitlab.freedesktop.org/drm/misc/kernel.git for-linux-next
head: c1079aebb4de218caa86c44f9a53700d1a582683
commit: 42577ba79fbfbc6c2f246d523cb22a66329d4826 [3/5] drm/imagination: Rename FW booted to FW initialised
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20260520/202605201611.xeaMCL0O-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260520/202605201611.xeaMCL0O-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/202605201611.xeaMCL0O-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/gpu/drm/imagination/pvr_power.c: In function 'pvr_power_device_suspend':
>> drivers/gpu/drm/imagination/pvr_power.c:382:23: error: too few arguments to function 'pvr_power_fw_disable'; expected 3, have 2
382 | err = pvr_power_fw_disable(pvr_dev, false);
| ^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/imagination/pvr_power.c:93:1: note: declared here
93 | pvr_power_fw_disable(struct pvr_device *pvr_dev, bool hard_reset, bool rpm_suspend)
| ^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/imagination/pvr_power.c: In function 'pvr_power_device_resume':
>> drivers/gpu/drm/imagination/pvr_power.c:412:23: error: too few arguments to function 'pvr_power_fw_enable'; expected 2, have 1
412 | err = pvr_power_fw_enable(pvr_dev);
| ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/imagination/pvr_power.c:122:1: note: declared here
122 | pvr_power_fw_enable(struct pvr_device *pvr_dev, bool rpm_resume)
| ^~~~~~~~~~~~~~~~~~~
vim +/pvr_power_fw_disable +382 drivers/gpu/drm/imagination/pvr_power.c
368
369 int
370 pvr_power_device_suspend(struct device *dev)
371 {
372 struct platform_device *plat_dev = to_platform_device(dev);
373 struct drm_device *drm_dev = platform_get_drvdata(plat_dev);
374 struct pvr_device *pvr_dev = to_pvr_device(drm_dev);
375 int err = 0;
376 int idx;
377
378 if (!drm_dev_enter(drm_dev, &idx))
379 return -EIO;
380
381 if (pvr_dev->fw_dev.initialised) {
> 382 err = pvr_power_fw_disable(pvr_dev, false);
383 if (err)
384 goto err_drm_dev_exit;
385 }
386
387 err = pvr_dev->device_data->pwr_ops->power_off(pvr_dev);
388
389 err_drm_dev_exit:
390 drm_dev_exit(idx);
391
392 return err;
393 }
394
395 int
396 pvr_power_device_resume(struct device *dev)
397 {
398 struct platform_device *plat_dev = to_platform_device(dev);
399 struct drm_device *drm_dev = platform_get_drvdata(plat_dev);
400 struct pvr_device *pvr_dev = to_pvr_device(drm_dev);
401 int idx;
402 int err;
403
404 if (!drm_dev_enter(drm_dev, &idx))
405 return -EIO;
406
407 err = pvr_dev->device_data->pwr_ops->power_on(pvr_dev);
408 if (err)
409 goto err_drm_dev_exit;
410
411 if (pvr_dev->fw_dev.initialised) {
> 412 err = pvr_power_fw_enable(pvr_dev);
413 if (err)
414 goto err_power_off;
415 }
416
417 drm_dev_exit(idx);
418
419 return 0;
420
421 err_power_off:
422 pvr_dev->device_data->pwr_ops->power_off(pvr_dev);
423
424 err_drm_dev_exit:
425 drm_dev_exit(idx);
426
427 return err;
428 }
429
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-05-20 8:20 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=202605201611.xeaMCL0O-lkp@intel.com \
--to=lkp@intel.com \
--cc=brajesh.gupta@imgtec.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=matt.coster@imgtec.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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 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.