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)
commit35cc7f32c298ba163a009598e6e7e15920a2e4e6
tree86936a4d48b2164248a068a25f3d14abe31827cc
parentb81e4d9b594188a8babf06442e1d6f28de78c68f
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