Repository navigation
Commit 4ef10fe
committed
drm/i915/perf: add new open param to configure polling of OA buffer
This new parameter let's the application choose how often the OA
buffer should be checked on the CPU side for data availability. Longer
polling period tend to reduce CPU overhead if the application does not
care about somewhat real time data collection.
v2: Allow disabling polling completely with 0 value (Lionel)
v3: Version the new parameter (Joonas)
v4: Rebase (Umesh)
v5: Make poll delay value of 0 invalid (Umesh)
v6:
- Describe poll_oa_period (Ashutosh)
- Fix comment for new poll parameter (Lionel)
- Drop open_flags in read_properties_unlocked (Lionel)
- Rename uapi parameter (Ashutosh)
v7: Reword the comment in uapi (Ashutosh)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200324185457.14635-4-umesh.nerlige.ramappa@intel.com1 parent c51dbc6 commit 4ef10fe
3 files changed
Lines changed: 44 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
252 | | - | |
| 251 | + | |
| 252 | + | |
253 | 253 | | |
254 | | - | |
255 | | - | |
| 254 | + | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| 342 | + | |
| 343 | + | |
342 | 344 | | |
343 | 345 | | |
344 | 346 | | |
| |||
361 | 363 | | |
362 | 364 | | |
363 | 365 | | |
| 366 | + | |
| 367 | + | |
364 | 368 | | |
365 | 369 | | |
366 | 370 | | |
| |||
2600 | 2604 | | |
2601 | 2605 | | |
2602 | 2606 | | |
2603 | | - | |
| 2607 | + | |
2604 | 2608 | | |
2605 | 2609 | | |
2606 | 2610 | | |
| |||
3035 | 3039 | | |
3036 | 3040 | | |
3037 | 3041 | | |
3038 | | - | |
| 3042 | + | |
| 3043 | + | |
3039 | 3044 | | |
3040 | 3045 | | |
3041 | 3046 | | |
| |||
3424 | 3429 | | |
3425 | 3430 | | |
3426 | 3431 | | |
| 3432 | + | |
3427 | 3433 | | |
3428 | 3434 | | |
3429 | 3435 | | |
| |||
3502 | 3508 | | |
3503 | 3509 | | |
3504 | 3510 | | |
| 3511 | + | |
3505 | 3512 | | |
3506 | 3513 | | |
3507 | 3514 | | |
| |||
3634 | 3641 | | |
3635 | 3642 | | |
3636 | 3643 | | |
| 3644 | + | |
| 3645 | + | |
| 3646 | + | |
| 3647 | + | |
| 3648 | + | |
| 3649 | + | |
| 3650 | + | |
| 3651 | + | |
3637 | 3652 | | |
3638 | 3653 | | |
3639 | 3654 | | |
| |||
4416 | 4431 | | |
4417 | 4432 | | |
4418 | 4433 | | |
| 4434 | + | |
| 4435 | + | |
| 4436 | + | |
4419 | 4437 | | |
4420 | | - | |
| 4438 | + | |
4421 | 4439 | | |
4422 | 4440 | | |
4423 | 4441 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
307 | 313 | | |
308 | 314 | | |
309 | 315 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1980 | 1980 | | |
1981 | 1981 | | |
1982 | 1982 | | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
1983 | 1996 | | |
1984 | 1997 | | |
1985 | 1998 | | |
| |||
0 commit comments