Skip to content
Commit e8e3a804 authored by Dafna Hirschfeld's avatar Dafna Hirschfeld Committed by Lucas De Marchi
Browse files

drm/gpusvm: set has_dma_mapping inside mapping loop



The 'has_dma_mapping' flag should be set once there is a
mapping so it could be unmapped in case of error.

v2:
- Resend for CI

Fixes: 99624bdf ("drm/gpusvm: Add support for GPU Shared Virtual Memory")
Signed-off-by: default avatarDafna Hirschfeld <dafna.hirschfeld@intel.com>
Reviewed-by: default avatarMatthew Brost <matthew.brost@intel.com>
Signed-off-by: default avatarMatthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250428024752.881292-1-matthew.brost@intel.com


(cherry picked from commit f64cf7b6)
Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
parent 3393c90d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment