]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0bb51cbe795499123a719c794c501965dc5489cb
tree2b943632e4e0833b0d3b49740ca2e590163b9703
parent27f8ba6cf96269bd01e6b2cc29c2772fb2051fc3
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