]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Fix up clock frequency
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Apr 2020 15:45:54 +0000 (16:45 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Apr 2020 16:34:33 +0000 (17:34 +0100)
commitea43606f52dce8693729f724e62ec85716b044be
tree93738895ed51fceeb5b64cfbafa8b3031dde2a7d
parent27e10446f8b04821cb201f7bc6ea1515c71a0594
drm/i915/gt: Fix up clock frequency

The bspec lists both the clock frequency and the effective interval. The
interval corresponds to observed behaviour, so adjust the frequency to
match.

v2: Mika rightfully asked if we could measure the clock frequency from a
selftest.

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