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

kbuild test robot
2015-12-29T08:20:40Z

[-- Attachment #1: Type: text/plain, Size: 1570 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 35623 bytes --]

[-- Attachment #3: Type: text/plain, Size: 159 bytes --]