]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: go back to switch for VLV mem freq detection v2
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 2 May 2013 17:48:08 +0000 (10:48 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 May 2013 19:56:28 +0000 (21:56 +0200)
commit2445966ee80837116498bd83084ad6d28272320c
treebbc3feac9d574cc42d6711cfc30883f64c306b92
parent177006a10b33c9bd729cd60be0a37b41a23e4df3
drm/i915: go back to switch for VLV mem freq detection v2

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 <jbarnes@virtuousgeek.org>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c