drm/i915/gen9: Give one extra block per line for SKL plane WM calculations
authorMatt Roper <[email protected]>
Thu, 4 Aug 2016 21:08:00 +0000 (14:08 -0700)
committerMatt Roper <[email protected]>
Thu, 4 Aug 2016 23:46:49 +0000 (16:46 -0700)
commit055c3ff69d440928964228455ec29b071258d5fa
tree5125d132afd893f4a740de26b4cda50b254b744e
parentad778f8967ea2f0bfda02701f918bcfcd495b721
drm/i915/gen9: Give one extra block per line for SKL plane WM calculations

The bspec was updated a couple weeks ago to add an extra block per line
to plane watermark calculations for linear pixel formats.

Bspec update 115327 description:
  "Gen9+ - Updated the plane blocks per line calculation for linear
  cases. Adds +1 for all linear cases to handle the non-block aligned
  stride cases."

Cc: Lyude <[email protected]>
Cc: [email protected]
Signed-off-by: Matt Roper <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Lyude <[email protected]>
drivers/gpu/drm/i915/intel_pm.c