]> 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)
commit24e1c9335b95a1cac321eab894d2174f56a9c781
treebbc3feac9d574cc42d6711cfc30883f64c306b92
parent3bd84118595c458e8a4b15fdab93e7c1d44ab9cb
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