commit | b380ca3caa821150fddab0052dcce624d18e88ee | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Oct 09 19:18:01 2013 +0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Oct 15 10:18:54 2013 +0200 |
tree | ebf98041d29279bfab6452e8f2630ebbf1c5ea07 | |
parent | a5db6b62577b14a9fbe639af0aba9ec7ae85ae3e [diff] |
drm/i915: Refactor wm_lp to level calculation On HSW the LP1,LP2,LP3 levels are either 1,2,3 or 1,3,4. We make the conversion from LPn to to the level at one point current. Later we're going to do it in a few places, so move it to a separate function. 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>