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
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 0514#define XE_ENGINE_SET_PROPERTY_PRIORITY 0
515#define XE_ENGINE_PROPERTY_TIMESLICE 1515#define XE_ENGINE_SET_PROPERTY_TIMESLICE 1
516#define XE_ENGINE_PROPERTY_PREEMPTION_TIMEOUT 2516#define XE_ENGINE_SET_PROPERTY_PREEMPTION_TIMEOUT 2
517 /*517 /*
518 * Long running or ULLS engine mode. DMA fences not allowed in this518 * 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, serves519 * 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 at520 * 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 3523#define XE_ENGINE_SET_PROPERTY_COMPUTE_MODE 3
524#define XE_ENGINE_PROPERTY_PERSISTENCE 4524#define XE_ENGINE_SET_PROPERTY_PERSISTENCE 4
525#define XE_ENGINE_PROPERTY_JOB_TIMEOUT 5525#define XE_ENGINE_SET_PROPERTY_JOB_TIMEOUT 5
526#define XE_ENGINE_PROPERTY_ACC_TRIGGER 6526#define XE_ENGINE_SET_PROPERTY_ACC_TRIGGER 6
527#define XE_ENGINE_PROPERTY_ACC_NOTIFY 7527#define XE_ENGINE_SET_PROPERTY_ACC_NOTIFY 7
528#define XE_ENGINE_PROPERTY_ACC_GRANULARITY 8528#define XE_ENGINE_SET_PROPERTY_ACC_GRANULARITY 8
529 __u32 property;529 __u32 property;
530 530
531 /** @value: property value */531 /** @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