Commit f098f9b
committed
drm/etnaviv: move runtime PM handling to events
Conceptually events are the right abstraction to handle the GPU
runtime PM state: as long as any event is pending the GPU can not
be idle. Events are also properly freed and reallocated when the
GPU has been reset after a hang.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>1 parent 80f6b63 commit f098f9b
3 files changed
Lines changed: 16 additions & 15 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | 365 | | |
369 | 366 | | |
370 | 367 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1147 | 1147 | | |
1148 | 1148 | | |
1149 | 1149 | | |
1150 | | - | |
| 1150 | + | |
| 1151 | + | |
1151 | 1152 | | |
1152 | 1153 | | |
1153 | 1154 | | |
| |||
1156 | 1157 | | |
1157 | 1158 | | |
1158 | 1159 | | |
| 1160 | + | |
1159 | 1161 | | |
1160 | 1162 | | |
1161 | 1163 | | |
| |||
1175 | 1177 | | |
1176 | 1178 | | |
1177 | 1179 | | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
1178 | 1187 | | |
1179 | 1188 | | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
1180 | 1192 | | |
1181 | 1193 | | |
1182 | 1194 | | |
1183 | 1195 | | |
1184 | | - | |
| 1196 | + | |
1185 | 1197 | | |
1186 | 1198 | | |
1187 | 1199 | | |
| |||
1193 | 1205 | | |
1194 | 1206 | | |
1195 | 1207 | | |
| 1208 | + | |
| 1209 | + | |
1196 | 1210 | | |
1197 | 1211 | | |
1198 | 1212 | | |
| |||
1335 | 1349 | | |
1336 | 1350 | | |
1337 | 1351 | | |
1338 | | - | |
1339 | | - | |
1340 | | - | |
1341 | | - | |
1342 | | - | |
1343 | | - | |
1344 | | - | |
1345 | | - | |
1346 | | - | |
1347 | 1352 | | |
1348 | 1353 | | |
1349 | 1354 | | |
| |||
0 commit comments