History

drm/xe/uapi: Rename XE_ENGINE_PROPERTY_X to XE_ENGINE_SET_PROPERTY_X

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.

José Roberto de Souza committed 3 years ago

Commit 3949d571 parent 8375e582 files · +18 −18Browse files

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

Unified · Split

include/uapi/drm/xe_drm.h+9−9
@@ -511,21 +511,21 @@ struct drm_xe_engine_set_property { · 510 unmodified lines
511511 __u32 engine_id;
512512
513513 /** @property: property to set */
514−#define XE_ENGINE_PROPERTY_PRIORITY 0
515−#define XE_ENGINE_PROPERTY_TIMESLICE 1
516−#define XE_ENGINE_PROPERTY_PREEMPTION_TIMEOUT 2
514+#define XE_ENGINE_SET_PROPERTY_PRIORITY 0
515+#define XE_ENGINE_SET_PROPERTY_TIMESLICE 1
516+#define XE_ENGINE_SET_PROPERTY_PREEMPTION_TIMEOUT 2
517517 /*
518518 * Long running or ULLS engine mode. DMA fences not allowed in this
519519 * mode. Must match the value of DRM_XE_VM_CREATE_COMPUTE_MODE, serves
520520 * as a sanity check the UMD knows what it is doing. Can only be set at
521521 * engine create time.
522522 */
523−#define XE_ENGINE_PROPERTY_COMPUTE_MODE 3
524−#define XE_ENGINE_PROPERTY_PERSISTENCE 4
525−#define XE_ENGINE_PROPERTY_JOB_TIMEOUT 5
526−#define XE_ENGINE_PROPERTY_ACC_TRIGGER 6
527−#define XE_ENGINE_PROPERTY_ACC_NOTIFY 7
528−#define XE_ENGINE_PROPERTY_ACC_GRANULARITY 8
523+#define XE_ENGINE_SET_PROPERTY_COMPUTE_MODE 3
524+#define XE_ENGINE_SET_PROPERTY_PERSISTENCE 4
525+#define XE_ENGINE_SET_PROPERTY_JOB_TIMEOUT 5
526+#define XE_ENGINE_SET_PROPERTY_ACC_TRIGGER 6
527+#define XE_ENGINE_SET_PROPERTY_ACC_NOTIFY 7
528+#define XE_ENGINE_SET_PROPERTY_ACC_GRANULARITY 8
529529 __u32 property;
530530
531531 /** @value: property value */

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