]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Ratelimit display power w/a
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 18 Dec 2019 09:35:04 +0000 (09:35 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 18 Dec 2019 13:00:17 +0000 (13:00 +0000)
commitf3ff16a36b7f1d00ad3a1f1a3b6bdf91945a38e9
tree38fa940f2bd55bcb546c8dc3a199ee7de57c38aa
parent54a2250290e00e6a8d8b1ffa173f7ef2170390f1
drm/i915/gt: Ratelimit display power w/a

For very light workloads that frequently park, acquiring the display
power well (required to prevent the dmc from trashing the system) takes
longer than the execution. A good example is the igt_coherency selftest,
which is slowed down by an order of magnitude in the worst case with
powerwell cycling. To prevent frequent cycling, while keeping our fast
soft-rc6, use a timer to delay release of the display powerwell.

Fixes: 8b73aeae5d5f ("drm/i915/gt: Schedule request retirement when timeline idles")
References: https://gitlab.freedesktop.org/drm/intel/issues/848
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191218093504.3477048-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_gt_pm.c