Skip to contentSkip to conversation

drm-uapi: Align header with drm-xe-next

PATCH New Francois Dugast 2 participants 3 messages Mar 29, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm-uapi: Align header with drm-xe-next

Currently xe_drm.h is based on drm-next with some additions from drm-xe-next.

However some uAPI updates brought by commit ca4607939 ("drm-uapi/xe: \
Remove unused flags") were mistakenly reverted by commit aef5f4742 ("drm-uapi: sync with drm-next f112b68f273f").

Ensure xe_drm.h is now aligned with kernel commit 8e61e3192a77 ("drm/xe/uapi: Add IP version and stepping to GT list query").

v2: Add kernel commit hash in commit message (Lucas De Marchi)

---
 include/drm-uapi/xe_drm.h | 19 -------------------
 1 file changed, 19 deletions(-)
include/drm-uapi/xe_drm.h +0 -19
index 4353595a4..91ea92035 100644
@@ -871,10 +871,6 @@ struct drm_xe_vm_destroy {
  *  - %DRM_XE_VM_BIND_OP_PREFETCH
  *
  * and the @flags can be:
- *  - %DRM_XE_VM_BIND_FLAG_READONLY
- *  - %DRM_XE_VM_BIND_FLAG_IMMEDIATE - Valid on a faulting VM only, do the
- *    MAP operation immediately rather than deferring the MAP to the page
- *    fault handler.
  *  - %DRM_XE_VM_BIND_FLAG_NULL - When the NULL flag is set, the page
  *    tables are setup with a special bit which indicates writes are
  *    dropped and all reads return zero. In the future, the NULL flags
@@ -967,8 +963,6 @@ struct drm_xe_vm_bind_op {
 	/** @op: Bind operation to perform */
 	__u32 op;
 
-#define DRM_XE_VM_BIND_FLAG_READONLY	(1 << 0)
-#define DRM_XE_VM_BIND_FLAG_IMMEDIATE	(1 << 1)
 #define DRM_XE_VM_BIND_FLAG_NULL	(1 << 2)
 #define DRM_XE_VM_BIND_FLAG_DUMPABLE	(1 << 3)
 	/** @flags: Bind flags */
@@ -1085,19 +1079,6 @@ struct drm_xe_exec_queue_create {
 #define DRM_XE_EXEC_QUEUE_EXTENSION_SET_PROPERTY		0
 #define   DRM_XE_EXEC_QUEUE_SET_PROPERTY_PRIORITY		0
 #define   DRM_XE_EXEC_QUEUE_SET_PROPERTY_TIMESLICE		1
-#define   DRM_XE_EXEC_QUEUE_SET_PROPERTY_PREEMPTION_TIMEOUT	2
-#define   DRM_XE_EXEC_QUEUE_SET_PROPERTY_JOB_TIMEOUT		4
-#define   DRM_XE_EXEC_QUEUE_SET_PROPERTY_ACC_TRIGGER		5
-#define   DRM_XE_EXEC_QUEUE_SET_PROPERTY_ACC_NOTIFY		6
-#define   DRM_XE_EXEC_QUEUE_SET_PROPERTY_ACC_GRANULARITY	7
-/* Monitor 128KB contiguous region with 4K sub-granularity */
-#define     DRM_XE_ACC_GRANULARITY_128K				0
-/* Monitor 2MB contiguous region with 64KB sub-granularity */
-#define     DRM_XE_ACC_GRANULARITY_2M				1
-/* Monitor 16MB contiguous region with 512KB sub-granularity */
-#define     DRM_XE_ACC_GRANULARITY_16M				2
-/* Monitor 64MB contiguous region with 2M sub-granularity */
-#define     DRM_XE_ACC_GRANULARITY_64M				3
 
 	/** @extensions: Pointer to the first extension struct, if any */
 	__u64 extensions;
Signature · 1 line
2.34.1
#1 lore raw

✓ CI.xeBAT: success for drm-uapi: Align header with drm-xe-next (rev2)

== Series Details ==

== Series Details ==

Series: drm-uapi: Align header with drm-xe-next (rev2)
URL : https://patchwork.freedesktop.org/series/131781/
State : success

== Summary ==

CI Bug Log - changes from XEIGT_7790_BAT -> XEIGTPW_10949_BAT
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (5 -> 5)
------------------------------

No changes in participating hosts

Known issues
------------

Here are the changes found in XEIGTPW_10949_BAT that come from known issues:

### IGT changes ###

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[Intel XE#1414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1414
[Intel XE#1415]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1415

Build changes
-------------

* IGT: IGT_7790 -> IGTPW_10949
* Linux: xe-1010-9fa8d9d87035d810ad988bdebdce39fa0255cdb8 -> xe-1013-d80d79a49622684f7d0c29e26354fa55c718b48a

IGTPW_10949: 10949
IGT_7790: 5ec1ff6da3535cf80fd4e1844867d75c481ef86a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-1010-9fa8d9d87035d810ad988bdebdce39fa0255cdb8: 9fa8d9d87035d810ad988bdebdce39fa0255cdb8 xe-1013-d80d79a49622684f7d0c29e26354fa55c718b48a: d80d79a49622684f7d0c29e26354fa55c718b48a

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10949/index.html

#2 lore raw

✗ Fi.CI.BAT: failure for drm-uapi: Align header with drm-xe-next (rev2)

In reply to Francois Dugast
== Series Details ==

== Series Details ==

Series: drm-uapi: Align header with drm-xe-next (rev2)
URL : https://patchwork.freedesktop.org/series/131781/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_14506 -> IGTPW_10949
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with IGTPW_10949 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes
introduced in IGTPW_10949, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10949/index.html

Participating hosts (37 -> 35)
------------------------------

Additional (3): fi-glk-j4005 fi-bsw-nick fi-kbl-8809g
Missing (5): bat-kbl-2 fi-snb-2520m bat-dg2-11 bat-mtlp-8 bat-arls-3

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in IGTPW_10949:

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live@active:
- bat-adls-6: [PASS][1] -> [DMESG-FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14506/bat-adls-6/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10949/bat-adls-6/igt@i915_selftest@[email protected]

Known issues
------------

Here are the changes found in IGTPW_10949 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_huc_copy@huc-copy:
- fi-glk-j4005: NOTRUN -> [SKIP][3] ([i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10949/fi-glk-j4005/igt@[email protected]

* igt@gem_lmem_swapping@basic:
- fi-glk-j4005: NOTRUN -> [SKIP][4] ([i915#4613]) +3 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10949/fi-glk-j4005/igt@[email protected]

* igt@gem_lmem_swapping@basic@lmem0:
- bat-dg2-14: [PASS][5] -> [FAIL][6] ([i915#10378])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14506/bat-dg2-14/igt@gem_lmem_swapping@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10949/bat-dg2-14/igt@gem_lmem_swapping@[email protected]

* igt@gem_lmem_swapping@parallel-random-engines:
- fi-bsw-nick: NOTRUN -> [SKIP][7] +19 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10949/fi-bsw-nick/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-glk-j4005: NOTRUN -> [SKIP][8] +10 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10949/fi-glk-j4005/igt@[email protected]

* igt@runner@aborted:
- fi-kbl-8809g: NOTRUN -> [FAIL][9] ([i915#4991])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10949/fi-kbl-8809g/igt@[email protected]

#### Possible fixes ####

* igt@kms_cursor_legacy@basic-flip-before-cursor-atomic:
- {bat-mtlp-9}: [DMESG-WARN][10] ([i915#10435]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14506/bat-mtlp-9/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10949/bat-mtlp-9/igt@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[i915#10378]: https://gitlab.freedesktop.org/drm/intel/issues/10378
[i915#10435]: https://gitlab.freedesktop.org/drm/intel/issues/10435
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4991]: https://gitlab.freedesktop.org/drm/intel/issues/4991

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_7790 -> IGTPW_10949

CI-20190529: 20190529
CI_DRM_14506: 98f893b726e1ba5db2680da3f9f53ab2af9780be @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_10949: 10949
IGT_7790: 5ec1ff6da3535cf80fd4e1844867d75c481ef86a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10949/index.html