]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Exercise basic RPS interrupt generation
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Apr 2020 17:03:17 +0000 (18:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Apr 2020 23:21:18 +0000 (00:21 +0100)
commitf34329b44071a8438f597e2e40ee8d48d1c33e5d
tree474def58ee926ea30679b3e9e37711eef906cbf2
parent85fa0084ab61d59518f7a7e2bd828e952fda263c
drm/i915/selftests: Exercise basic RPS interrupt generation

Since we depend upon RPS generating interrupts after evaluation
intervals to determine when to up/down clock the GPU, it is imperative
that we successfully enable interrupt generation! Verify that we do see
an interrupt if we keep the GPU busy for an entire EI.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200415170318.16771-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_rps.c
drivers/gpu/drm/i915/gt/selftest_gt_pm.c
drivers/gpu/drm/i915/gt/selftest_rps.c [new file with mode: 0644]
drivers/gpu/drm/i915/gt/selftest_rps.h [new file with mode: 0644]