Re: [Intel-gfx] [PATCH 2/4] drm/i915: go back to switch for VLV mem freq detection v2

2013-05-06 Thread Daniel Vetter
On Fri, May 03, 2013 at 10:52:11AM -0700, Ben Widawsky wrote: On Thu, May 02, 2013 at 10:48:08AM -0700, Jesse Barnes wrote: Both the docs and the existing code were wrong. So fix both and use a switch statement like we do elsewhere to make things simple clear. Signed-off-by: Jesse

Re: [Intel-gfx] [PATCH 2/4] drm/i915: go back to switch for VLV mem freq detection v2

2013-05-03 Thread Ben Widawsky
On Thu, May 02, 2013 at 10:48:08AM -0700, Jesse Barnes wrote: Both the docs and the existing code were wrong. So fix both and use a switch statement like we do elsewhere to make things simple clear. Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org --- drivers/gpu/drm/i915/intel_pm.c

[Intel-gfx] [PATCH 2/4] drm/i915: go back to switch for VLV mem freq detection v2

2013-05-02 Thread Jesse Barnes
Both the docs and the existing code were wrong. So fix both and use a switch statement like we do elsewhere to make things simple clear. Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org --- drivers/gpu/drm/i915/intel_pm.c | 13 - 1 file changed, 12 insertions(+), 1