]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commite281fcaa287fb39ce26d9aa33a716c2a7bb8484e
tree2a581c6c8973df1639f0b499f0ad1a0a856c3311
parent48898b038b69ef4801f0e059026c8f6920684677
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