aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorDavid Dai <[email protected]>2024-09-19 00:08:33 +0000
committerViresh Kumar <[email protected]>2024-10-29 06:35:14 +0000
commit4fd06a5358e0d888d1bf23d274971ea7d1f45aad (patch)
tree014938156f36840f3aa89efd9b5825507af39329 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdt-bindings: cpufreq: add virtual cpufreq device (diff)
downloadkernel-4fd06a5358e0d888d1bf23d274971ea7d1f45aad.tar.gz
kernel-4fd06a5358e0d888d1bf23d274971ea7d1f45aad.zip
cpufreq: add virtual-cpufreq driver
Introduce a virtualized cpufreq driver for guest kernels to improve performance and power of workloads within VMs. This driver does two main things: 1. Sends the frequency of vCPUs as a hint to the host. The host uses the hint to schedule the vCPU threads and decide physical CPU frequency. 2. If a VM does not support a virtualized FIE(like AMUs), it queries the host CPU frequency by reading a MMIO region of a virtual cpufreq device to update the guest's frequency scaling factor periodically. This enables accurate Per-Entity Load Tracking for tasks running in the guest. Co-developed-by: Saravana Kannan <[email protected]> Signed-off-by: Saravana Kannan <[email protected]> Signed-off-by: David Dai <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions