]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Drop stray clearing of rps->last_adj
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 2 Aug 2018 10:06:28 +0000 (11:06 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 2 Aug 2018 17:24:05 +0000 (18:24 +0100)
commit3f2b45ec46fac7d1ba44c6fb77ed2df75fa2eb34
treec74550145e5fddadb00d2d502fa9fb8e8637f585
parent0f63b7ad4279cb9be27bd25d6cbd8235afc53d51
drm/i915: Drop stray clearing of rps->last_adj

We used to reset last_adj to 0 on crossing a power domain boundary, to
slow down our rate of change. However, commit 8e3ae8f3d4b3 ("drm/i915:
Interactive RPS mode") accidentally caused it to be reset on every
frequency update, nerfing the fast response granted by the slow start
algorithm.

Fixes: 8e3ae8f3d4b3 ("drm/i915: Interactive RPS mode")
Testcase: igt/pm_rps/mix-max-config-loaded
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180802100631.31305-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_pm.c