]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Disable C-states when measuring RPS frequency response
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Apr 2020 14:22:36 +0000 (15:22 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Apr 2020 15:24:34 +0000 (16:24 +0100)
commitec5487ad5e1eaf6ef480961caf3d9eb24b2d0e27
tree5333ed5a9ea73c02c020028bca990ea4cd05f687
parenta9a9c3441bf3e1a90954938a06afa18a81287dc2
drm/i915/selftests: Disable C-states when measuring RPS frequency response

Let's isolate the impact of cpu frequency selection on determing the GPU
throughput in response to selection of RPS frequencies.

For real systems, we do have to be concerned with the impact of
integrating c-states, p-states and rp-states, but for the sake of
proving whether or not RPS works, one baby step at a time.

For the record, as one would hope, it does not seem to impact on the
measured performance, but we do it anyway to reduce the number of
variables. Later, we can extend the testing to encourage the the
cpu/pkg to try and sleep while the GPU is busy.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200421142236.8614-1-chris@chris-wilson.co.uk
Link: https://patchwork.freedesktop.org/patch/msgid/20200421142236.8614-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_rps.c