forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork1
Commit5e24e4a
drm/i915/guc: Don't print out relay statistics when relay is disabled
If nobody has enabled the relay, we're not comunicating with GuC, whichmeans that the stats don't have any meaning. Let's also remove interruptcounter and tidy the debugfs formatting.v2: Correct stats accounting (Sagar)v3: Corrected one more error in stats accounting, move relay_enabled (Sagar)Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>Cc: Chris Wilson <chris@chris-wilson.co.uk>Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>Link:https://patchwork.freedesktop.org/patch/msgid/20180319095348.9716-9-michal.winiarski@intel.com1 parentdb55799 commit5e24e4a
File tree
4 files changed
+52
-38
lines changed- drivers/gpu/drm/i915
4 files changed
+52
-38
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2325 | 2325 |
| |
2326 | 2326 |
| |
2327 | 2327 |
| |
2328 |
| - | |
2329 |
| - | |
| 2328 | + | |
| 2329 | + | |
2330 | 2330 |
| |
2331 |
| - | |
2332 |
| - | |
2333 |
| - | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
| 2338 | + | |
| 2339 | + | |
| 2340 | + | |
2334 | 2341 |
| |
2335 |
| - | |
2336 |
| - | |
2337 |
| - | |
| 2342 | + | |
| 2343 | + | |
2338 | 2344 |
| |
2339 |
| - | |
2340 |
| - | |
2341 |
| - | |
| 2345 | + | |
| 2346 | + | |
| 2347 | + | |
| 2348 | + | |
| 2349 | + | |
2342 | 2350 |
| |
2343 |
| - | |
2344 |
| - | |
2345 |
| - | |
| 2351 | + | |
| 2352 | + | |
| 2353 | + | |
| 2354 | + | |
2346 | 2355 |
| |
2347 |
| - | |
2348 |
| - | |
| 2356 | + | |
2349 | 2357 |
| |
2350 | 2358 |
| |
2351 |
| - | |
| 2359 | + | |
| 2360 | + | |
| 2361 | + | |
| 2362 | + | |
| 2363 | + | |
| 2364 | + | |
| 2365 | + | |
| 2366 | + | |
2352 | 2367 |
| |
2353 | 2368 |
| |
2354 | 2369 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
390 | 390 |
| |
391 | 391 |
| |
392 | 392 |
| |
393 |
| - | |
| 393 | + | |
394 | 394 |
| |
395 | 395 |
| |
396 |
| - | |
397 |
| - | |
398 |
| - | |
399 | 396 |
| |
400 | 397 |
| |
401 | 398 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
195 | 195 |
| |
196 | 196 |
| |
197 | 197 |
| |
198 |
| - | |
| 198 | + | |
199 | 199 |
| |
200 | 200 |
| |
201 | 201 |
| |
202 | 202 |
| |
203 | 203 |
| |
204 |
| - | |
205 |
| - | |
| 204 | + | |
| 205 | + | |
206 | 206 |
| |
207 | 207 |
| |
208 | 208 |
| |
209 |
| - | |
| 209 | + | |
210 | 210 |
| |
211 | 211 |
| |
212 | 212 |
| |
| |||
241 | 241 |
| |
242 | 242 |
| |
243 | 243 |
| |
244 |
| - | |
| 244 | + | |
245 | 245 |
| |
246 | 246 |
| |
247 | 247 |
| |
| |||
279 | 279 |
| |
280 | 280 |
| |
281 | 281 |
| |
282 |
| - | |
| 282 | + | |
283 | 283 |
| |
284 | 284 |
| |
285 | 285 |
| |
| |||
341 | 341 |
| |
342 | 342 |
| |
343 | 343 |
| |
344 |
| - | |
345 |
| - | |
346 |
| - | |
347 |
| - | |
348 |
| - | |
349 | 344 |
| |
350 | 345 |
| |
351 | 346 |
| |
| |||
553 | 548 |
| |
554 | 549 |
| |
555 | 550 |
| |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
556 | 556 |
| |
557 | 557 |
| |
558 | 558 |
| |
559 | 559 |
| |
560 | 560 |
| |
561 | 561 |
| |
562 |
| - | |
| 562 | + | |
563 | 563 |
| |
564 | 564 |
| |
565 | 565 |
| |
| |||
628 | 628 |
| |
629 | 629 |
| |
630 | 630 |
| |
631 |
| - | |
| 631 | + | |
632 | 632 |
| |
633 | 633 |
| |
634 | 634 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
59 | 60 |
| |
60 | 61 |
| |
61 | 62 |
| |
| |||
64 | 65 |
| |
65 | 66 |
| |
66 | 67 |
| |
| 68 | + | |
67 | 69 |
| |
68 | 70 |
| |
69 | 71 |
| |
|
0 commit comments
Comments
(0)