Message ID | 1471760418-27509-10-git-send-email-sagar.a.kamble@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi Tom, [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on v4.8-rc3 next-20160819] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Sagar-Arun-Kamble/drm-i915-slpc-If-using-SLPC-do-not-set-frequency/20160821-142010 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: x86_64-rhel (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/gpu/drm/i915/intel_pm.c: In function 'intel_set_rps': >> drivers/gpu/drm/i915/intel_pm.c:4944:6: error: implicit declaration of function 'intel_slpc_active' [-Werror=implicit-function-declaration] if (intel_slpc_active(dev_priv)) ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/intel_slpc_active +4944 drivers/gpu/drm/i915/intel_pm.c 4938 } 4939 spin_unlock(&dev_priv->rps.client_lock); 4940 } 4941 4942 void intel_set_rps(struct drm_i915_private *dev_priv, u8 val) 4943 { > 4944 if (intel_slpc_active(dev_priv)) 4945 return; 4946 4947 if (IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv)) --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Hi Tom, [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on v4.8-rc3 next-20160822] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Sagar-Arun-Kamble/drm-i915-slpc-If-using-SLPC-do-not-set-frequency/20160820-131950 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: x86_64-rhel-7.2 (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/gpu/drm/i915/intel_pm.c: In function 'intel_set_rps': >> drivers/gpu/drm/i915/intel_pm.c:4944:6: error: implicit declaration of function 'intel_slpc_active' [-Werror=implicit-function-declaration] if (intel_slpc_active(dev_priv)) ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/intel_slpc_active +4944 drivers/gpu/drm/i915/intel_pm.c 4938 } 4939 spin_unlock(&dev_priv->rps.client_lock); 4940 } 4941 4942 void intel_set_rps(struct drm_i915_private *dev_priv, u8 val) 4943 { > 4944 if (intel_slpc_active(dev_priv)) 4945 return; 4946 4947 if (IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv)) --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 21dafe0..14c29b1 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -4965,6 +4965,9 @@ void gen6_rps_boost(struct drm_i915_private *dev_priv, void intel_set_rps(struct drm_i915_private *dev_priv, u8 val) { + if (intel_slpc_active(dev_priv)) + return; + if (IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv)) valleyview_set_rps(dev_priv, val); else