Commit a08eeb2
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 56cf531 commit a08eeb2
2 files changed
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2172 | 2172 | | |
2173 | 2173 | | |
2174 | 2174 | | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
2175 | 2183 | | |
2176 | 2184 | | |
2177 | 2185 | | |
| |||
2181 | 2189 | | |
2182 | 2190 | | |
2183 | 2191 | | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
2184 | 2195 | | |
2185 | 2196 | | |
2186 | 2197 | | |
| |||
2205 | 2216 | | |
2206 | 2217 | | |
2207 | 2218 | | |
| 2219 | + | |
2208 | 2220 | | |
2209 | 2221 | | |
2210 | 2222 | | |
| |||
2263 | 2275 | | |
2264 | 2276 | | |
2265 | 2277 | | |
| 2278 | + | |
2266 | 2279 | | |
2267 | 2280 | | |
2268 | 2281 | | |
| |||
2284 | 2297 | | |
2285 | 2298 | | |
2286 | 2299 | | |
| 2300 | + | |
2287 | 2301 | | |
2288 | 2302 | | |
2289 | 2303 | | |
| |||
2327 | 2341 | | |
2328 | 2342 | | |
2329 | 2343 | | |
| 2344 | + | |
2330 | 2345 | | |
2331 | 2346 | | |
2332 | 2347 | | |
| |||
2364 | 2379 | | |
2365 | 2380 | | |
2366 | 2381 | | |
| 2382 | + | |
2367 | 2383 | | |
2368 | 2384 | | |
2369 | 2385 | | |
| |||
2415 | 2431 | | |
2416 | 2432 | | |
2417 | 2433 | | |
| 2434 | + | |
2418 | 2435 | | |
2419 | 2436 | | |
2420 | 2437 | | |
| |||
2424 | 2441 | | |
2425 | 2442 | | |
2426 | 2443 | | |
| 2444 | + | |
2427 | 2445 | | |
2428 | 2446 | | |
2429 | 2447 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
871 | 871 | | |
872 | 872 | | |
873 | 873 | | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
874 | 879 | | |
875 | 880 | | |
876 | 881 | | |
| |||
1107 | 1112 | | |
1108 | 1113 | | |
1109 | 1114 | | |
| 1115 | + | |
1110 | 1116 | | |
1111 | 1117 | | |
1112 | 1118 | | |
| |||
1232 | 1238 | | |
1233 | 1239 | | |
1234 | 1240 | | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
1235 | 1251 | | |
1236 | 1252 | | |
1237 | 1253 | | |
| |||
0 commit comments