drm/i915: Refactor max WM level
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 30 Aug 2013 11:30:25 +0000 (14:30 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Sep 2013 09:17:19 +0000 (11:17 +0200)
commitad0d6dc4859ffb769768b64942b6a110e92acd21
treee20c52735ba9c94319af139435708be58982b40e
parent8de123a5d89f8eaf934737758251fb18b2660231
drm/i915: Refactor max WM level

Pull the expected max WM level determinations out to a separate
function. Will have another user soon.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c