Commit 38515ff
committed
drm/v3d: CPU job submissions shouldn't affect V3D GPU clock
We can avoid calling the v3d_clock_up_put and v3d_clock_up_get
when a job is submitted to a CPU queue. This way we avoid delaying
timestamps CPU jobs by 4.5ms that is the time that it takes to
increase the V3D frequency when the V3D subsystem changes its
clock frequency.
Fixes: fe6a858 ("drm/v3d: Correct clock settng calls to new APIs")
Signed-off-by: Jose Maria Casanova Crespo <[email protected]>1 parent a20d400 commit 38515ff
1 file changed
+23
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
| 129 | + | |
129 | 130 | | |
130 | | - | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
151 | 168 | | |
152 | 169 | | |
153 | 170 | | |
| |||
242 | 259 | | |
243 | 260 | | |
244 | 261 | | |
| 262 | + | |
| 263 | + | |
245 | 264 | | |
246 | | - | |
247 | 265 | | |
248 | 266 | | |
249 | 267 | | |
| |||
1350 | 1368 | | |
1351 | 1369 | | |
1352 | 1370 | | |
1353 | | - | |
| 1371 | + | |
1354 | 1372 | | |
1355 | 1373 | | |
1356 | 1374 | | |
| |||
0 commit comments