Repository navigation
Commit a4e57f9
committed
drm/i915: Teach execbuffer to take the engine wakeref not GT
In the next patch, we would like to couple into the engine wakeref to
free the batch pool on idling. The caveat here is that we therefore want
to track the engine wakeref more precisely and to hold it instead of the
broader GT wakeref as we process the ioctl.
v2: Avoid introducing odd semantics for a shortlived timeline->mutex
acquisition interface.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190804124826.30272-1-chris@chris-wilson.co.uk1 parent 515b8b7 commit a4e57f9
1 file changed
Lines changed: 29 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2139 | 2139 | | |
2140 | 2140 | | |
2141 | 2141 | | |
| 2142 | + | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
| 2155 | + | |
| 2156 | + | |
2142 | 2157 | | |
2143 | 2158 | | |
2144 | 2159 | | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
2145 | 2164 | | |
2146 | 2165 | | |
2147 | 2166 | | |
2148 | 2167 | | |
2149 | | - | |
| 2168 | + | |
| 2169 | + | |
| 2170 | + | |
| 2171 | + | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
2150 | 2176 | | |
2151 | 2177 | | |
2152 | 2178 | | |
| |||
2426 | 2452 | | |
2427 | 2453 | | |
2428 | 2454 | | |
2429 | | - | |
2430 | | - | |
2431 | | - | |
2432 | | - | |
2433 | | - | |
2434 | | - | |
2435 | | - | |
2436 | | - | |
2437 | | - | |
2438 | 2455 | | |
2439 | 2456 | | |
2440 | | - | |
| 2457 | + | |
2441 | 2458 | | |
2442 | 2459 | | |
2443 | 2460 | | |
| |||
2602 | 2619 | | |
2603 | 2620 | | |
2604 | 2621 | | |
2605 | | - | |
2606 | | - | |
| 2622 | + | |
2607 | 2623 | | |
2608 | 2624 | | |
2609 | 2625 | | |
| |||
0 commit comments