]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: report correct render clock frequencies on SNB
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 18 Mar 2011 17:32:07 +0000 (10:32 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 Mar 2011 09:17:00 +0000 (09:17 +0000)
commitef3508d0ebda5c3c31bcf00e3bf533ee3484c318
tree2a581c6c8973df1639f0b499f0ad1a0a856c3311
parent62397700f82f09ce5d27b6327471ec8753831024
drm/i915: report correct render clock frequencies on SNB

Fix up the debug file to report the right frequencies.  On SNB, we program
the PCU with a frequency ratio, which is multiplied by 100MHz on the CPU
side.  But GFX only runs at half that, so report it as such to avoid
confusion.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/intel_display.c