Now that we are confident in providing full-ppgtt where supported, remove the ability to override the context isolation. v2: Remove faked aliasing-ppgtt for testing as it no longer is accepted. v3: s/USES/HAS/ to match usage and reject attempts to load the module on old GVT-g setups that do not provide support for full-ppgtt. v4: Insulate ABI ppGTT values from our internal enum (later plans involve moving ppGTT depth out of the enum, thus potentially breaking ABI unless we document the current values).
Showing the changes to include/uapi (1 of 16 files). Show all
Unified · Split
| @@ -412,6 +412,14 @@ typedef struct drm_i915_irq_wait { · 411 unmodified lines | ||
| 412 | 412 | int irq_seq; |
| 413 | 413 | } drm_i915_irq_wait_t; |
| 414 | 414 | |
| 415 | +/* | |
| 416 | + * Different modes of per-process Graphics Translation Table, | |
| 417 | + * see I915_PARAM_HAS_ALIASING_PPGTT | |
| 418 | + */ | |
| 419 | +#define I915_GEM_PPGTT_NONE 0 | |
| 420 | +#define I915_GEM_PPGTT_ALIASING 1 | |
| 421 | +#define I915_GEM_PPGTT_FULL 2 | |
| 422 | + | |
| 415 | 423 | /* Ioctl to query kernel params: |
| 416 | 424 | */ |
| 417 | 425 | #define I915_PARAM_IRQ_ACTIVE 1 |