drm/i915: read current freq from Punit on VLV
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 2 May 2013 17:48:07 +0000 (10:48 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 May 2013 19:56:27 +0000 (21:56 +0200)
commit177006a10b33c9bd729cd60be0a37b41a23e4df3
tree98c320a261954aa5333f61da24d6fcca8f896114
parent8f375e10ee47b9d7b9b3aefcf67854c6e92708be
drm/i915: read current freq from Punit on VLV

Instead of returning the cached value, which is just what the kernel
requested.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_sysfs.c