]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: transition WMs ask for Selected Result Blocks
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 4 Oct 2018 23:15:58 +0000 (16:15 -0700)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 11 Oct 2018 21:23:04 +0000 (14:23 -0700)
commitc5b6837ab59713a17085ae77306e3be544778e37
tree0d4e0f0c4e2ac82a63f08574199d72d04c068d1c
parentbe9067b7b01b5c7a4f42536db7159132b7f7f254
drm/i915: transition WMs ask for Selected Result Blocks

The transition watermarks ask for Selected Result Blocks (the real
value), not Result Blocks (the integer value). Given how ceilings are
applied in both the non-transition and the transition watermarks
calculations, we can get away with assuming that Selected Result
Blocks is actually Result Blocks minus 1 without any rounding errors.

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181004231600.14101-5-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/intel_pm.c