Expose whether or not we support the PMU software tracking in our scheduler capabilities, so userspace can query at runtime. v2: Use I915_SCHEDULER_CAP_ENGINE_BUSY_STATS for a less ambiguous capability name.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -521,6 +521,7 @@ typedef struct drm_i915_irq_wait { · 520 unmodified lines | ||
| 521 | 521 | #define I915_SCHEDULER_CAP_PRIORITY (1ul << 1) |
| 522 | 522 | #define I915_SCHEDULER_CAP_PREEMPTION (1ul << 2) |
| 523 | 523 | #define I915_SCHEDULER_CAP_SEMAPHORES (1ul << 3) |
| 524 | +#define I915_SCHEDULER_CAP_ENGINE_BUSY_STATS (1ul << 4) | |
| 524 | 525 | |
| 525 | 526 | #define I915_PARAM_HUC_STATUS 42 |
| 526 | 527 | |