diff options
author | Vinay Belgaumkar <[email protected]> | 2021-07-30 13:21:16 -0700 |
---|---|---|
committer | John Harrison <[email protected]> | 2021-08-03 16:05:38 -0700 |
commit | 025cb07bebfaf9e3703f902cce92b4656129a62b (patch) | |
tree | 79f421a597b17acaa622f695088c5dacb3f2ae9a /lib/netdev-notifier-error-inject.c | |
parent | 899a0fd73a41f3e3babedbc2e5bf73fd38a4461f (diff) |
drm/i915/guc/slpc: Cache platform frequency limits
Cache rp0, rp1 and rpn platform limits into SLPC structure
for range checking while setting min/max frequencies.
Also add "soft" limits which keep track of frequency changes
made from userland. These are initially set to platform min
and max.
v2: Address review comments (Michal W)
v3: Formatting (Michal W)
v4: Add separate function to parse rp values (Michal W)
v5: Perform range checking for set min/max (Michal W)
v6: checkpatch() and rename static functions (Michal W)
v7: check ret code while setting SLPC limits (Michal W)
Signed-off-by: Vinay Belgaumkar <[email protected]>
Reviewed-by: Michal Wajdeczko <[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