Hi Tejas,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-tip/drm-tip next-20211112]
[cannot apply to v5.15]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Tejas-Upadhyay/drm-i915-gt-Hold-...
base:
git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-defconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/0day-ci/linux/commit/c134397c55fb3639fdcea780a83fd5f54...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Tejas-Upadhyay/drm-i915-gt-Hold-RPM-wakelock-during-PXP-suspend/20211111-204949
git checkout c134397c55fb3639fdcea780a83fd5f5402c93de
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/i915/gt/intel_gt_pm.c: In function 'intel_gt_suspend_prepare':
> drivers/gpu/drm/i915/gt/intel_gt_pm.c:304:2: error: too few
arguments to function 'intel_pxp_suspend_prepare'
304 |
intel_pxp_suspend_prepare(>->pxp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/gt/intel_gt_pm.c:21:
drivers/gpu/drm/i915/pxp/intel_pxp_pm.h:17:20: note: declared here
17 | static inline void intel_pxp_suspend_prepare(struct intel_pxp *pxp, bool
runtime)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/intel_pxp_suspend_prepare +304 drivers/gpu/drm/i915/gt/intel_gt_pm.c
298
299 void intel_gt_suspend_prepare(struct intel_gt *gt)
300 {
301 user_forcewake(gt, true);
302 wait_for_suspend(gt);
303
304 intel_pxp_suspend_prepare(>->pxp);
305 }
306
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org