diff options
author | Philip Yang <[email protected]> | 2023-01-12 14:08:36 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-01-17 16:11:51 -0500 |
commit | 24294e7b15c003a42b38b677ad3b9c11a9d87061 (patch) | |
tree | 2fee06028547df6f0c272bb04e2c3d603ec2db77 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | ced6950276d21c6b68541dc627cae1488144f5a1 (diff) |
drm/amdkfd: Support process XNACK mode dynamic change
Update queue qpd is done for the first queue creation of the process,
if the device support XNACK mode per process, update qpd setup
sh_mem_config based on the process XNACK mode, to support the process
destroy all queues, change XNACK mode, and then create queues.
Add helper macro KFD_SUPPORT_XNACK_PER_PROCESS to remove duplicate code
and add new ASICs support in future.
Signed-off-by: Philip Yang <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions