History

drm/i915: expose _SLICE_MASK GETPARM

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.

Robert Bragg committed 9 years ago

Commit 7fed5551 parent 9ee82d72 files · +8 −0Browse files

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

Unified · Split

include/uapi/drm/i915_drm.h+3−0
@@ -418,6 +418,9 @@ typedef struct drm_i915_irq_wait { · 417 unmodified lines
418418 */
419419 #define I915_PARAM_HAS_EXEC_CAPTURE 45
420420
421+/* Query the mask of slices available for this system */
422+#define I915_PARAM_SLICE_MASK 46
423+
421424 typedef struct drm_i915_getparam {
422425 __s32 param;
423426 /*

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t