diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2021-04-11 18:50:23 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-05-19 22:44:03 -0400 |
commit | 9e5d275319e224e01adb62bfe03943b32f540b7d (patch) | |
tree | 484fb5dedc4eb41870df1a838c435d68ea1dde41 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | b72ed8a2de8e9dfbd61217d60a7da868ac2cfbff (diff) |
drm/amdgpu: Move kfd_mem_attach outside reservation
This is needed to avoid deadlocks with DMA buf import in the next patch.
Also move PT/PD validation out of kfd_mem_attach, that way the caller
can bo this unconditionally.
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Oak Zeng <Oak.Zeng@amd.com>
Acked-by: Ramesh Errabolu <Ramesh.Errabolu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions