drm/i915: Use intel_wm_plane_visible() on VLV/CHV as well
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 3 Mar 2017 15:19:27 +0000 (17:19 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 5 Apr 2017 10:22:37 +0000 (13:22 +0300)
commita07102f1cce6ebf11f8d880665eb6f6353b16177
treea178e8c342537be63aa5fed71e8a79f15d84baba
parent709f3fc92c113c88c96c5def37acb92e2eef610a
drm/i915: Use intel_wm_plane_visible() on VLV/CHV as well

VLV/CHV don't have double buffered watermarks so they need to consider
the cursor visibility as a special case just like ILK-BDW. Let's use
the helper we have for that.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170303151928.23053-4-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_pm.c