Commit e8e3a80
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: 99624bd ("drm/gpusvm: Add support for GPU Shared Virtual Memory")
Signed-off-by: Dafna Hirschfeld <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Signed-off-by: Matthew Brost <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
(cherry picked from commit f64cf7b)
Signed-off-by: Lucas De Marchi <[email protected]>1 parent 3393c90 commit e8e3a80
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1469 | 1469 | | |
1470 | 1470 | | |
1471 | 1471 | | |
| 1472 | + | |
1472 | 1473 | | |
1473 | 1474 | | |
1474 | | - | |
1475 | 1475 | | |
1476 | 1476 | | |
1477 | 1477 | | |
| |||
0 commit comments