amdkfd: init aperture once per process
Since the user space may call open() more that once from the same process, the aperture initialization should be moved from kfd_open() Signed-off-by:Alexey Skidanov <Alexey.Skidanov@amd.com> Reviewed-by:
Oded Gabbay <oded.gabbay@amd.com> Signed-off-by:
Oded Gabbay <oded.gabbay@amd.com>
Showing
- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 0 additions, 4 deletionsdrivers/gpu/drm/amd/amdkfd/kfd_chardev.c
- drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c 2 additions, 4 deletionsdrivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c
- drivers/gpu/drm/amd/amdkfd/kfd_process.c 9 additions, 0 deletionsdrivers/gpu/drm/amd/amdkfd/kfd_process.c
Loading
Please register or sign in to comment