Document the expected length of buffers config pointers (tuple of u32 values).
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -1511,6 +1511,11 @@ struct drm_i915_perf_oa_config { · 1510 unmodified lines | ||
| 1511 | 1511 | __u32 n_boolean_regs; |
| 1512 | 1512 | __u32 n_flex_regs; |
| 1513 | 1513 | |
| 1514 | + /* | |
| 1515 | + * These fields are pointers to tuples of u32 values (register | |
| 1516 | + * address, value). For example the expected length of the buffer | |
| 1517 | + * pointed by mux_regs_ptr is (2 * sizeof(u32) * n_mux_regs). | |
| 1518 | + */ | |
| 1514 | 1519 | __u64 mux_regs_ptr; |
| 1515 | 1520 | __u64 boolean_regs_ptr; |
| 1516 | 1521 | __u64 flex_regs_ptr; |