diff options
| author | 2026-09-05 21:31:37 +0800 | |
|---|---|---|
| committer | 2026-09-07 22:43:55 -0700 | |
| commit | ca76137442edcafc089f19d189a55dc8d42ff7b8 (patch) | |
| tree | 9febea6e42a394a60e081bf597fb29626fb27371 /scripts/Makefile.thinlto | |
| parent | drm/xe: Guard page-fault worker with runtime PM check (diff) | |
drm/gpusvm: move dma_addr allocation before the notifier lock
The dma_addr allocation was in a lazy allocation flow, it needs unlock
and goto map_pages. The allocation only needs npages, so just do it
before taking the lock. Drop the map_pages label and the relock flow, so
the sequence becomes fault, allocate, then lock, validate, map and
unlock. No functional change intended.
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Honglei Huang <honghuan@amd.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260905133142.3628027-2-honghuan@amd.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
