Skip to content
Commit f64cf7b6 authored by Dafna Hirschfeld's avatar Dafna Hirschfeld Committed by Matthew Brost
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
parent 70a2585e
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