Commit 1fc160c
drm/amdgpu: get owner ref in validate and map
Get the proper owner reference for amdgpu_hmm_range_get_pages function.
This is useful for partial migrations. To avoid migrating back to
system memory, VRAM pages, that are accessible by all devices in the
same memory domain.
Ex. multiple devices in the same hive.
Signed-off-by: Alex Sierra <alex.sierra@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent a010d98 commit 1fc160c
1 file changed
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1337 | 1337 | | |
1338 | 1338 | | |
1339 | 1339 | | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
1340 | 1351 | | |
1341 | 1352 | | |
1342 | 1353 | | |
| |||
1367 | 1378 | | |
1368 | 1379 | | |
1369 | 1380 | | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
1370 | 1384 | | |
1371 | 1385 | | |
1372 | 1386 | | |
| |||
1413 | 1427 | | |
1414 | 1428 | | |
1415 | 1429 | | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
1416 | 1439 | | |
1417 | 1440 | | |
1418 | 1441 | | |
1419 | | - | |
| 1442 | + | |
1420 | 1443 | | |
1421 | 1444 | | |
1422 | 1445 | | |
| |||
0 commit comments