summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/intel_pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/intel_pm.c')
-rw-r--r--sys/dev/pci/drm/intel_pm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/intel_pm.c b/sys/dev/pci/drm/intel_pm.c
index 8aa880fd994..a939d6f722b 100644
--- a/sys/dev/pci/drm/intel_pm.c
+++ b/sys/dev/pci/drm/intel_pm.c
@@ -2870,8 +2870,8 @@ gen6_update_ring_freq(struct drm_device *dev)
/* Convert from kHz to MHz */
max_ia_freq /= 1000;
#else
- /* we ideally want the max so avoid cpuspeed */
- max_ia_freq = (curcpu()->ci_tsc_freq + 4999) / 1000000;
+ /* XXX we ideally want the max not cpuspeed... */
+ max_ia_freq = cpuspeed;
#endif
/*