drm/i915: Clean up scaler setup, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 21 Sep 2018 14:44:37 +0000 (16:44 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 21 Sep 2018 17:20:43 +0000 (19:20 +0200)
commit0aaf29b35f93f68128f92ea826ebfee8df9ab1ef
tree59ca6c524f2476a454ccc773f4e5265e944be5cf
parent6c246b81f9380855b13433d1d8fbd67ff7f67583
drm/i915: Clean up scaler setup, v2.

On skylake we can switch to a high quality scaler mode when only 1 out
of 2 scalers are used, but on GLK and later bit 28 has a different
meaning. Don't set it, and make clear the distinction between
SKL and later PS values.

Changes since v1:
- Add missing break statement.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
[mlankhorst: Remove extra newline]
Link: https://patchwork.freedesktop.org/patch/msgid/20180921144437.20037-1-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_atomic.c
drivers/gpu/drm/i915/intel_display.c