diff options
| author | 2026-05-11 14:46:54 +0200 | |
|---|---|---|
| committer | 2026-07-16 18:26:18 -0400 | |
| commit | 60bbdfb959ca0390d56595d3e4a717176f7352ee (patch) | |
| tree | 616eb6391e05eee80ebd8e05401e94a1f96412ab /scripts/Makefile.thinlto | |
| parent | drm/amdgpu: move job parameter to the end in amdgpu_job_alloc() and *_with_ib() (diff) | |
drm/amdgpu: use correct gfp_t for job allocation
For job allocation in GPU reset and page fault handling we must use
GFP_ATOMIC to guarantee that we don't cycle back and depend on a
dma_fence submission for the memory allocation.
Add gfp_flags argument to amdgpu_job_alloc() and expose the
gfp_flags of IB pools with amdgpu_ib_pool_gfp_flags() so that
we can use different flags when allocating jobs.
Assisted-by: Claude:Sonnet 4
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
