drm/i915/gen9: fix watermarks when using the pipe scaler
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 7 Oct 2016 20:28:57 +0000 (17:28 -0300)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 18 Oct 2016 12:47:55 +0000 (10:47 -0200)
commitcfd7e3a20251b9ac95651d64556f87f86128a966
tree2b943632e4e0833b0d3b49740ca2e590163b9703
parentc89cadd50b0117477935404e0054a35251cfa654
drm/i915/gen9: fix watermarks when using the pipe scaler

Luckily, the necessary adjustments for when we're using the scaler are
exactly the same as the ones needed on ILK+, so just reuse the
function we already have.

v2: Invert the patch order so stable backports get easier.

Cc: stable@vger.kernel.org
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1475872138-16194-1-git-send-email-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/intel_pm.c