[Intel-gfx] [PATCH 1/8] drm/i915: Added is_intel_rpm_allowed helper

kernel test robot lkp at intel.com
Sun Jul 24 23:08:38 UTC 2022


Hi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-tip/drm-tip]

url:    https://github.com/intel-lab-lkp/linux/commits/tilak-tangudu-intel-com/drm-i915-Add-D3Cold-Off-support-for-runtime-pm/20220721-174913
base:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
config: x86_64-randconfig-c002 (https://download.01.org/0day-ci/archive/20220725/202207250617.9oNZv0Uz-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel-lab-lkp/linux/commit/232683eebcfe8c5abd46d4caad082bea98f13687
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review tilak-tangudu-intel-com/drm-i915-Add-D3Cold-Off-support-for-runtime-pm/20220721-174913
        git checkout 232683eebcfe8c5abd46d4caad082bea98f13687
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/i915/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_runtime_pm.c: In function 'intel_runtime_pm_status':
>> drivers/gpu/drm/i915/intel_runtime_pm.c:325:32: error: 'struct dev_pm_info' has no member named 'runtime_status'
     325 |         return rpm->kdev->power.runtime_status;
         |                                ^
   drivers/gpu/drm/i915/intel_runtime_pm.c:326:1: error: control reaches end of non-void function [-Werror=return-type]
     326 | }
         | ^
   cc1: all warnings being treated as errors


vim +325 drivers/gpu/drm/i915/intel_runtime_pm.c

   321	
   322	#endif
   323	static int intel_runtime_pm_status(struct intel_runtime_pm *rpm)
   324	{
 > 325		return rpm->kdev->power.runtime_status;
   326	}
   327	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp


More information about the Intel-gfx mailing list