Commit e949de5
drm/gpuvm: Add a flags field to drm_gpuva_op_map
drm_gpuva objects have a flags field. Currently, this can be managed by
drivers out-of-band, without any special handling in drm_gpuvm.
To be able to introduce flags that do affect the logic in the drm_gpuvm
core, we need to plumb it through the map calls. This will allow the
core to check the flags on map and alter the merge/split logic depending
on the requested flags and the flags of the existing drm_gpuva ranges
that are being split.
Signed-off-by: Asahi Lina <lina+kernel@asahilina.net>
Signed-off-by: Caterina Shablia <caterina.shablia@collabora.com>1 parent f336a5d commit e949de5
2 files changed
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2390 | 2390 | | |
2391 | 2391 | | |
2392 | 2392 | | |
| 2393 | + | |
| 2394 | + | |
| 2395 | + | |
| 2396 | + | |
| 2397 | + | |
| 2398 | + | |
| 2399 | + | |
| 2400 | + | |
2393 | 2401 | | |
2394 | 2402 | | |
2395 | 2403 | | |
| |||
2399 | 2407 | | |
2400 | 2408 | | |
2401 | 2409 | | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
2402 | 2413 | | |
2403 | 2414 | | |
2404 | 2415 | | |
| |||
2423 | 2434 | | |
2424 | 2435 | | |
2425 | 2436 | | |
| 2437 | + | |
2426 | 2438 | | |
2427 | 2439 | | |
2428 | 2440 | | |
| |||
2481 | 2493 | | |
2482 | 2494 | | |
2483 | 2495 | | |
| 2496 | + | |
2484 | 2497 | | |
2485 | 2498 | | |
2486 | 2499 | | |
| |||
2502 | 2515 | | |
2503 | 2516 | | |
2504 | 2517 | | |
| 2518 | + | |
2505 | 2519 | | |
2506 | 2520 | | |
2507 | 2521 | | |
| |||
2545 | 2559 | | |
2546 | 2560 | | |
2547 | 2561 | | |
| 2562 | + | |
2548 | 2563 | | |
2549 | 2564 | | |
2550 | 2565 | | |
| |||
2582 | 2597 | | |
2583 | 2598 | | |
2584 | 2599 | | |
| 2600 | + | |
2585 | 2601 | | |
2586 | 2602 | | |
2587 | 2603 | | |
| |||
2633 | 2649 | | |
2634 | 2650 | | |
2635 | 2651 | | |
| 2652 | + | |
2636 | 2653 | | |
2637 | 2654 | | |
2638 | 2655 | | |
| |||
2642 | 2659 | | |
2643 | 2660 | | |
2644 | 2661 | | |
| 2662 | + | |
2645 | 2663 | | |
2646 | 2664 | | |
2647 | 2665 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
887 | 887 | | |
888 | 888 | | |
889 | 889 | | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
890 | 895 | | |
891 | 896 | | |
892 | 897 | | |
| |||
1123 | 1128 | | |
1124 | 1129 | | |
1125 | 1130 | | |
| 1131 | + | |
1126 | 1132 | | |
1127 | 1133 | | |
1128 | 1134 | | |
| |||
1248 | 1254 | | |
1249 | 1255 | | |
1250 | 1256 | | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
1251 | 1267 | | |
1252 | 1268 | | |
1253 | 1269 | | |
| |||
0 commit comments