Engine property get uAPI will be added, so to avoid ambiguity here renaming XE_ENGINE_PROPERTY_X to XE_ENGINE_SET_PROPERTY_X. No changes in behavior.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -511,21 +511,21 @@ struct drm_xe_engine_set_property { · 510 unmodified lines | |||
| 511 | __u32 engine_id; | 511 | __u32 engine_id; |
| 512 | 512 | ||
| 513 | /** @property: property to set */ | 513 | /** @property: property to set */ |
| 514 | #define XE_ENGINE_PROPERTY_PRIORITY 0 | 514 | #define XE_ENGINE_SET_PROPERTY_PRIORITY 0 |
| 515 | #define XE_ENGINE_PROPERTY_TIMESLICE 1 | 515 | #define XE_ENGINE_SET_PROPERTY_TIMESLICE 1 |
| 516 | #define XE_ENGINE_PROPERTY_PREEMPTION_TIMEOUT 2 | 516 | #define XE_ENGINE_SET_PROPERTY_PREEMPTION_TIMEOUT 2 |
| 517 | /* | 517 | /* |
| 518 | * Long running or ULLS engine mode. DMA fences not allowed in this | 518 | * Long running or ULLS engine mode. DMA fences not allowed in this |
| 519 | * mode. Must match the value of DRM_XE_VM_CREATE_COMPUTE_MODE, serves | 519 | * mode. Must match the value of DRM_XE_VM_CREATE_COMPUTE_MODE, serves |
| 520 | * as a sanity check the UMD knows what it is doing. Can only be set at | 520 | * as a sanity check the UMD knows what it is doing. Can only be set at |
| 521 | * engine create time. | 521 | * engine create time. |
| 522 | */ | 522 | */ |
| 523 | #define XE_ENGINE_PROPERTY_COMPUTE_MODE 3 | 523 | #define XE_ENGINE_SET_PROPERTY_COMPUTE_MODE 3 |
| 524 | #define XE_ENGINE_PROPERTY_PERSISTENCE 4 | 524 | #define XE_ENGINE_SET_PROPERTY_PERSISTENCE 4 |
| 525 | #define XE_ENGINE_PROPERTY_JOB_TIMEOUT 5 | 525 | #define XE_ENGINE_SET_PROPERTY_JOB_TIMEOUT 5 |
| 526 | #define XE_ENGINE_PROPERTY_ACC_TRIGGER 6 | 526 | #define XE_ENGINE_SET_PROPERTY_ACC_TRIGGER 6 |
| 527 | #define XE_ENGINE_PROPERTY_ACC_NOTIFY 7 | 527 | #define XE_ENGINE_SET_PROPERTY_ACC_NOTIFY 7 |
| 528 | #define XE_ENGINE_PROPERTY_ACC_GRANULARITY 8 | 528 | #define XE_ENGINE_SET_PROPERTY_ACC_GRANULARITY 8 |
| 529 | __u32 property; | 529 | __u32 property; |
| 530 | 530 | ||
| 531 | /** @value: property value */ | 531 | /** @value: property value */ |