diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-09-08 21:05:12 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2015-09-10 15:40:02 +0300 |
commit | 58590c14d80defc94e900308a9d8fa55284de6f2 (patch) | |
tree | 13352d0a3e7ca6a49a25da6db2c310501b7db094 /drivers/gpu/drm/i915/i915_drv.h | |
parent | 982b0b2dd590c00f089fc6fe915bd0cb302a7f5c (diff) | |
download | lwn-58590c14d80defc94e900308a9d8fa55284de6f2.tar.gz lwn-58590c14d80defc94e900308a9d8fa55284de6f2.zip |
drm/i915: Don't try to use DDR DVFS on CHV when disabled in the BIOS
If one disables DDR DVFS in the BIOS, Punit will apparently ignores
all DDR DVFS request. Currently we assume that DDR DVFS is always
operational, which leads to errors in dmesg when the DDR DVFS requests
time out.
Fix the problem by gently prodding Punit during driver load to find out
whether it will respond to DDR DVFS requests. If the request times out,
we assume that DDR DVFS has been permanenly disabled in the BIOS and
no longer perster the Punit about it.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91629
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Clint Taylor <Clinton.A.Taylor@intel.com>
Tested-by: Clint Taylor <Clinton.A.Taylor@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 522da7b12a88..b06e03080771 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -1928,6 +1928,8 @@ struct drm_i915_private { struct skl_wm_values skl_hw; struct vlv_wm_values vlv; }; + + uint8_t max_level; } wm; struct i915_runtime_pm pm; |