]> git.baikalelectronics.ru Git - kernel.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)
commit3e41ee817a5b0c5762fa699537e951805d1107b9
treebbc3feac9d574cc42d6711cfc30883f64c306b92
parent60427fd21cef3c0c9e9a1ad755d578784672814c
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