commit | 7b39a0b791a356d09dd2517ec04b1bf9cdced4ab | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Thu Dec 05 15:51:30 2013 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Dec 17 13:17:51 2013 +0100 |
tree | d437a17152f1967e40baf8b87eef953962f591e0 | |
parent | a68d68eebc9820212186b6d02f2dce09deef0e53 [diff] |
drm/i915: Avoid computing invalid WM levels when sprites/scaling is enabled On ILK/SNB only LP0/1 watermarks can be enabled when sprites are enabled, and on ILK/SNB/IVB sprite scaling is limited to LP0 only. So we can avoid computing the extra levels we're never going to use. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>