]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Use non-forcewake writes for RPS
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 18 Dec 2019 21:05:44 +0000 (21:05 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 Dec 2019 17:09:36 +0000 (17:09 +0000)
commit657cb58433396038c8b36364675c8d641ccc1cf9
tree86936a4d48b2164248a068a25f3d14abe31827cc
parent939de57db68a9409188c4160238e13b73aae6c68
drm/i915/gt: Use non-forcewake writes for RPS

Use non-forcewaked writes to queue RPS register changes that will take
effect when the write buffer is flushed, rather than wake the mmio
device for immediate effect. This is so that we can avoid a slow
forcewake dance upon unparking, and at our irregular updates.

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/20191218210545.3975426-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_rps.c