aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2021-11-20 12:01:03 -0800
committerRob Clark <robdclark@chromium.org>2021-11-28 10:01:40 -0800
commit7c0ffcd40b161f56a7cea585297d64aeaf4d44a9 (patch)
treec94839b5f4d1aed05bbf39f6363b0cbaac30003b /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentdrm/msm: Increase gpu boost interval (diff)
downloadlinux-dev-7c0ffcd40b161f56a7cea585297d64aeaf4d44a9.tar.xz
linux-dev-7c0ffcd40b161f56a7cea585297d64aeaf4d44a9.zip
drm/msm/gpu: Respect PM QoS constraints
Re-work the boost and idle clamping to use PM QoS requests instead, so they get aggreggated with other requests (such as cooling device). This does have the minor side-effect that devfreq sysfs min_freq/ max_freq files now reflect the boost and idle clamping, as they show (despite what they are documented to show) the aggregated min/max freq. Fixing that in devfreq does not look straightforward after considering that OPPs can be dynamically added/removed. However writes to the sysfs files still behave as expected. v2: Use 64b math to avoid potential 32b overflow Signed-off-by: Rob Clark <robdclark@chromium.org> Link: https://lore.kernel.org/r/20211120200103.1051459-3-robdclark@gmail.com Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions