diff options
| author | Vinay Belgaumkar <[email protected]> | 2021-07-30 20:21:17 +0000 |
|---|---|---|
| committer | John Harrison <[email protected]> | 2021-08-03 23:05:40 +0000 |
| commit | 41e5c17ebfc20bd840993e9c36e5993298e3fe6d (patch) | |
| tree | c49da01e799045553abbc4b631b92fb8eb0cd691 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
| parent | drm/i915/guc/slpc: Cache platform frequency limits (diff) | |
| download | kernel-41e5c17ebfc20bd840993e9c36e5993298e3fe6d.tar.gz kernel-41e5c17ebfc20bd840993e9c36e5993298e3fe6d.zip | |
drm/i915/guc/slpc: Sysfs hooks for SLPC
Update the get/set min/max freq hooks to work for
SLPC case as well. Consolidate helpers for requested/min/max
frequency get/set to intel_rps where the proper action can
be taken depending on whether SLPC is enabled.
v2: Add wrappers for getting rp0/1/n frequencies, update
softlimits in set min/max SLPC functions. Also check for
boundary conditions before setting them.
v3: Address review comments (Michal W)
v4: Add helper for host part of intel_rps_set_freq helpers (Michal W)
v5: checkpatch()
Reviewed-by: Michal Wajdeczko <[email protected]>
Acked-by: Michal Wajdeczko <[email protected]>
Signed-off-by: Vinay Belgaumkar <[email protected]>
Signed-off-by: Tvrtko Ursulin <[email protected]>
Signed-off-by: Sujaritha Sundaresan <[email protected]>
Signed-off-by: John Harrison <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions
