drm/i915: Eliminate usage of plane_wm_parameters from ILK-style WM code (v2)
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 24 Sep 2015 22:53:07 +0000 (15:53 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 Sep 2015 15:15:14 +0000 (17:15 +0200)
commit43d59eda1f69631c267e06ab6b94ed3c14f1f6d1
tree855b2d6ce3f2183135ef40f0155d9b53742ba3ae
parent37d9078b9b395185947784ba8d71c0980e5aacad
drm/i915: Eliminate usage of plane_wm_parameters from ILK-style WM code (v2)

Just pull the info out of the plane state structure rather than staging
it in an additional structure.

v2: Add 'visible' condition to sprites_scaled so that we don't limit the
    WM level when the sprite isn't enabled.  (Ville)

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by(v1): Ander Conselvan de Oliveira <conselvan2@gmail.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c