mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 00:39:46 +07:00
6dc0d028f5
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
18 lines
407 B
C
18 lines
407 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2020 Intel Corporation
|
|
*/
|
|
|
|
#ifndef SELFTEST_RPS_H
|
|
#define SELFTEST_RPS_H
|
|
|
|
int live_rps_control(void *arg);
|
|
int live_rps_clock_interval(void *arg);
|
|
int live_rps_frequency_cs(void *arg);
|
|
int live_rps_frequency_srm(void *arg);
|
|
int live_rps_power(void *arg);
|
|
int live_rps_interrupt(void *arg);
|
|
int live_rps_dynamic(void *arg);
|
|
|
|
#endif /* SELFTEST_RPS_H */
|