Enables userspace to determine the maximum number of slices that can be enabled on the device and also know what specific slices can be enabled. This information is required, for example, to be able to analyse some OA counter reports where the counter configuration depends on the HW slice configuration.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -418,6 +418,9 @@ typedef struct drm_i915_irq_wait { · 417 unmodified lines | |||
| 418 | */ | 418 | */ |
| 419 | #define I915_PARAM_HAS_EXEC_CAPTURE 45 | 419 | #define I915_PARAM_HAS_EXEC_CAPTURE 45 |
| 420 | 420 | ||
| 421 | /* Query the mask of slices available for this system */ | ||
| 422 | #define I915_PARAM_SLICE_MASK 46 | ||
| 423 | |||
| 421 | typedef struct drm_i915_getparam { | 424 | typedef struct drm_i915_getparam { |
| 422 | __s32 param; | 425 | __s32 param; |
| 423 | /* | 426 | /* |