Commit 85364905 authored by Jesse Barnes's avatar Jesse Barnes Committed by Eric Anholt

drm/i915: warn if Pineview CxSR can't be enabled

If we don't detect a supported memory configuration, we can't enable
CxSR.  Warn the user in this case so they can file a bug.
parent 22fd0fab
...@@ -4740,6 +4740,13 @@ void intel_modeset_init(struct drm_device *dev) ...@@ -4740,6 +4740,13 @@ void intel_modeset_init(struct drm_device *dev)
(unsigned long)dev); (unsigned long)dev);
intel_setup_overlay(dev); intel_setup_overlay(dev);
if (IS_IGD(dev) && !intel_get_cxsr_latency(IS_IGDG(dev),
dev_priv->fsb_freq,
dev_priv->mem_freq))
DRM_INFO("failed to find known CxSR latency "
"(found fsb freq %d, mem freq %d), disabling CxSR\n",
dev_priv->fsb_freq, dev_priv->mem_freq);
} }
void intel_modeset_cleanup(struct drm_device *dev) void intel_modeset_cleanup(struct drm_device *dev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment