diff options
author | 2021-07-30 13:21:13 -0700 | |
---|---|---|
committer | 2021-08-03 16:05:34 -0700 | |
commit | c279bec18e97735aeb4ab2c931da778bb31f4f02 (patch) | |
tree | f474f973c75f0b44a160c5587acdcd3db9b81fc1 /tools/perf/scripts/python/syscall-counts.py | |
parent | drm/i915/guc/slpc: Add methods to set min/max frequency (diff) | |
download | linux-dev-c279bec18e97735aeb4ab2c931da778bb31f4f02.tar.xz linux-dev-c279bec18e97735aeb4ab2c931da778bb31f4f02.zip |
drm/i915/guc/slpc: Add get max/min freq hooks
Add helpers to read the min/max frequency being used
by SLPC. This is done by send a H2G command which forces
SLPC to update the shared data struct which can then be
read. These helpers will be used in a sysfs patch later
on.
v2: Address review comments (Michal W)
v3: Return err in case of query failure (Michal W)
v4: Move decode_min/max_freq to this patch
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Signed-off-by: Sundaresan Sujaritha <sujaritha.sundaresan@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210730202119.23810-9-vinay.belgaumkar@intel.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions