drm/i915: Use ilk_compute_wm_level to compute WM_PIPE values
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 30 Aug 2013 11:30:24 +0000 (14:30 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Sep 2013 09:16:59 +0000 (11:16 +0200)
commit8de123a5d89f8eaf934737758251fb18b2660231
tree78d4871606aec0751968735cff0775b4f7ffe671
parentac830fe1c3d811db2bef1835b6e0c693bc3b237e
drm/i915: Use ilk_compute_wm_level to compute WM_PIPE values

Unify the code a bit to use ilk_compute_wm_level for all watermark
levels.

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