]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/rps: Flip interpretation of ips fmin/fmax to max rps
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 26 Oct 2019 20:09:17 +0000 (21:09 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 27 Oct 2019 20:44:48 +0000 (20:44 +0000)
commit77461ff8a3d3d48df3e7c866862eca6ae1b170d0
treee092c6d329c03f4209c634d973f13104895c0699
parent7ebd25c91fba1a1e5de1e4630b2b7aeea6730190
drm/i915/rps: Flip interpretation of ips fmin/fmax to max rps

ips uses clock delays as opposed to rps frequency bins. To fit the
delays into the same rps calculations, we need to invert the ips delays.

Fixes: 3c7cc78ff155 ("drm/i915: Extract GT render power state management")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191026200917.1780-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_rps.c