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
Showing
- drivers/gpu/drm/i915/gt/intel_gt_clock_utils.c 6 additions, 6 deletionsdrivers/gpu/drm/i915/gt/intel_gt_clock_utils.c
- drivers/gpu/drm/i915/gt/selftest_gt_pm.c 1 addition, 0 deletionsdrivers/gpu/drm/i915/gt/selftest_gt_pm.c
- drivers/gpu/drm/i915/gt/selftest_rps.c 139 additions, 0 deletionsdrivers/gpu/drm/i915/gt/selftest_rps.c
- drivers/gpu/drm/i915/gt/selftest_rps.h 1 addition, 0 deletionsdrivers/gpu/drm/i915/gt/selftest_rps.h
Please register or sign in to comment