[Intel-gfx] [PATCH 1/2] drm/i915: Unbind objects in shrinker only if device is runtime active

kbuild test robot lkp at intel.com
Tue Dec 29 00:19:49 PST 2015


Hi Praveen,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.4-rc7 next-20151223]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Praveen-Paneri/drm-i915-Unbind-objects-in-shrinker-only-if-device-is-runtime-active/20151229-145756
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-rhel (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/i915_gem_shrinker.c: In function 'i915_gem_shrink':
>> drivers/gpu/drm/i915/i915_gem_shrinker.c:97:6: error: implicit declaration of function 'intel_runtime_pm_get_noidle' [-Werror=implicit-function-declaration]
         !intel_runtime_pm_get_noidle(dev_priv))
         ^
   cc1: some warnings being treated as errors

vim +/intel_runtime_pm_get_noidle +97 drivers/gpu/drm/i915/i915_gem_shrinker.c

    91		/*
    92		 * Unbinding of objects will require HW access; Let us not wake the
    93		 * device just to recover a little memory. If absolutely necessary,
    94		 * we will force the wake during oom-notifier.
    95		 */
    96		if ((flags & I915_SHRINK_BOUND) &&
  > 97		    !intel_runtime_pm_get_noidle(dev_priv))
    98			flags &= ~I915_SHRINK_BOUND;
    99	
   100		/*

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 35623 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20151229/af93b164/attachment-0001.obj>


More information about the Intel-gfx mailing list