History

drm/i915: Show support for accurate sw PMU busyness tracking

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.

Chris Wilson committed 7 years ago

Commit bf73fc01 parent 0c159ff3 files · +6 −6Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/drm/i915_drm.h+1−0
@@ -521,6 +521,7 @@ typedef struct drm_i915_irq_wait { · 520 unmodified lines
521521 #define I915_SCHEDULER_CAP_PRIORITY (1ul << 1)
522522 #define I915_SCHEDULER_CAP_PREEMPTION (1ul << 2)
523523 #define I915_SCHEDULER_CAP_SEMAPHORES (1ul << 3)
524+#define I915_SCHEDULER_CAP_ENGINE_BUSY_STATS (1ul << 4)
524525
525526 #define I915_PARAM_HUC_STATUS 42
526527