History

drm/i915: expose _SUBSLICE_MASK GETPARM

Assuming a uniform mask across all slices, this enables userspace to determine the specific sub 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 sub slice configuration.

Robert Bragg committed 9 years ago

Commit f5320231 parent 7fed5552 files · +10 −0Browse files

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

Unified · Split

include/uapi/drm/i915_drm.h+5−0
@@ -421,6 +421,11 @@ typedef struct drm_i915_irq_wait { · 420 unmodified lines
421/* Query the mask of slices available for this system */421/* Query the mask of slices available for this system */
422#define I915_PARAM_SLICE_MASK 46422#define I915_PARAM_SLICE_MASK 46
423 423
424/* Assuming it's uniform for each slice, this queries the mask of subslices
425 * per-slice for this system.
426 */
427#define I915_PARAM_SUBSLICE_MASK 47
428
424typedef struct drm_i915_getparam {429typedef struct drm_i915_getparam {
425 __s32 param;430 __s32 param;
426 /*431 /*

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