]> 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)
commitae0be2993c30c998e26a0608c3e0456597dcb084
treee092c6d329c03f4209c634d973f13104895c0699
parent75d564c1b6b985c2c439b4f424a47a8fda602b74
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: 60057c8cc5ff ("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