drm/i915/gen9: Cleanup skl_pipe_wm_active_state
authorLyude <cpaul@redhat.com>
Fri, 7 Oct 2016 19:03:07 +0000 (15:03 -0400)
committerLyude <cpaul@redhat.com>
Sun, 16 Oct 2016 23:09:07 +0000 (19:09 -0400)
commit1bab7502dde265466fb03124afaada5847065403
tree5087c90d5774d6c224803ebda47984dbbecef024
parenta62163e97bafbc072093ee5645873227f33a43ee
drm/i915/gen9: Cleanup skl_pipe_wm_active_state

This function is a wreck, let's help it get its life back together and
cleanup all of the copy pasta here.

Signed-off-by: Lyude <cpaul@redhat.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_pm.c