drm/i915: Enable IPS with only sprite plane visible too, v4.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 22 Nov 2017 18:39:06 +0000 (19:39 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 30 Nov 2017 15:50:09 +0000 (16:50 +0100)
commitadbe5c5cd32c732a4ea1d4c5f41714fa836d69b6
tree01549fda52fc8ac7b2c66c8262d27c324eac6325
parent24f2845056892b297fa95edbddceefd38acc0e62
drm/i915: Enable IPS with only sprite plane visible too, v4.

This comment predates atomic, and I think with the way we currently
track IPS, it's safe to enable this for the case we switch too.

Changes since v1:
- Keep IPS enabled when switching planes.
Changes since v2:
- Enable IPS when at least one plane is enabled. (Ville)
Changes since v3:
- Actually do what was advertised in v3, sigh! (Ville, CI)

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171122183906.47767-1-maarten.lankhorst@linux.intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_display.c