diff options
author | Vinay Belgaumkar <[email protected]> | 2021-07-30 13:21:13 -0700 |
---|---|---|
committer | John Harrison <[email protected]> | 2021-08-03 16:05:34 -0700 |
commit | c279bec18e97735aeb4ab2c931da778bb31f4f02 (patch) | |
tree | f474f973c75f0b44a160c5587acdcd3db9b81fc1 /lib/netdev-notifier-error-inject.c | |
parent | d41f6f82d319ca0effae840553cac74425328ddf (diff) |
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 <[email protected]>
Signed-off-by: Vinay Belgaumkar <[email protected]>
Signed-off-by: Sundaresan Sujaritha <[email protected]>
Signed-off-by: John Harrison <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions