-
- Downloads
drm/amdkfd: Set per-process flags only once cik/vi
Set per-process static sh_mem config only once during process initialization. Move all static changes from update_qpd() which is called each time a queue is created to set_cache_memory_policy() which is called once during process initialization. set_cache_memory_policy() is currently defined only for cik and vi family. So this commit only focuses on these two. A separate commit will address other asics. Signed-off-by:Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> Reviewed-by:
Amber Lin <Amber.Lin@amd.com>
Showing
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 3 additions, 36 deletionsdrivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c 46 additions, 23 deletionsdrivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c 45 additions, 26 deletionsdrivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c
Loading
Please register or sign in to comment