aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2025-01-08 22:15:56 +0000
committerAlex Deucher <[email protected]>2025-02-13 02:02:55 +0000
commit8fdb3958e3965fcd11408e1cd5380895cdc96e06 (patch)
treea99761a32a34e687ff6dda3171f1fc3068546859 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
parentdrm/amdkfd: Have kfd driver use same PASID values from graphic driver (diff)
downloadkernel-8fdb3958e3965fcd11408e1cd5380895cdc96e06.tar.gz
kernel-8fdb3958e3965fcd11408e1cd5380895cdc96e06.zip
drm/amdgpu/gfx: add ring helpers for setting workload profile
Add helpers to switch the workload profile dynamically when commands are submitted. This allows us to switch to the FULLSCREEN3D or COMPUTE profile when work is submitted. Add a delayed work handler to delay switching out of the selected profile if additional work comes in. This works the same as the VIDEO profile for VCN. This lets dynamically enable workload profiles on the fly and then move back to the default when there is no work. Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
0 files changed, 0 insertions, 0 deletions