Skip to contentSkip to conversation

drm-xe-next-fixes v2

GIT PULL Rodrigo Vivi 2 participants 3 messages Jul 11, 2024

lore
Share & tools
lore
#0 lore raw

Hi Dave and Sima,

This is a v2 of https://lore.kernel.org/intel-xe/[email protected]/

v2 - Removed Thomas' write-back caching mode patch since Lucas will propagete that through drm-xe-fixes towards 6.10. So we remove the amount of patch duplication.

Again, it is important to highlight the uapi rename present in this pull-request.
Mesa is aligned and waiting to merge their side:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30027

Since this uapi was recently merged, after we get both sides propagate there won't be any kernel or mesa releases with the old bad naming. So we should be good.

Thanks,
Rodrigo.

drm-xe-next-fixes-2024-07-11:
UAPI Changes:
- Rename xe perf layer as xe observation layer (Ashutosh)

Driver Changes:
- Drop trace_xe_hw_fence_free (Brost)
The following changes since commit dbf35b4deabb5706e739cec7ce35c12631bb8c87:

Merge tag 'drm-intel-next-2024-06-28' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next (2024-07-10 10:36:47 +0200)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-next-fixes-2024-07-11

for you to fetch changes up to 26d289158e491d5ae34b10eab40b093a40fab7d7:

drm/xe: Drop trace_xe_hw_fence_free (2024-07-11 09:54:24 -0400)

----------------------------------------------------------------
UAPI Changes:
- Rename xe perf layer as xe observation layer (Ashutosh)

Driver Changes:
- Drop trace_xe_hw_fence_free (Brost)

----------------------------------------------------------------
Ashutosh Dixit (1):
drm/xe/uapi: Rename xe perf layer as xe observation layer

Matthew Brost (1):
drm/xe: Drop trace_xe_hw_fence_free

 drivers/gpu/drm/xe/Makefile          |   2 +-
 drivers/gpu/drm/xe/xe_device.c       |   4 +-
 drivers/gpu/drm/xe/xe_device_types.h |   2 +-
 drivers/gpu/drm/xe/xe_gt_types.h     |   2 +-
 drivers/gpu/drm/xe/xe_hw_fence.c     |   1 -
 drivers/gpu/drm/xe/xe_module.c       |   6 +--
 drivers/gpu/drm/xe/xe_oa.c           |  34 ++++++------
 drivers/gpu/drm/xe/xe_observation.c  |  93 ++++++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_observation.h  |  20 +++++++
 drivers/gpu/drm/xe/xe_perf.c         |  92 -------------------------------
 drivers/gpu/drm/xe/xe_perf.h         |  20 -------
 drivers/gpu/drm/xe/xe_trace.h        |   5 --
 include/uapi/drm/xe_drm.h            | 102 ++++++++++++++++++-----------------
 13 files changed, 190 insertions(+), 193 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_observation.c
 create mode 100644 drivers/gpu/drm/xe/xe_observation.h
 delete mode 100644 drivers/gpu/drm/xe/xe_perf.c
 delete mode 100644 drivers/gpu/drm/xe/xe_perf.h
#1 lore raw
Quoted 8 lines · Rodrigo Vivi

Hi Dave and Sima,

This is a v2 of https://lore.kernel.org/intel-xe/[email protected]/

v2 - Removed Thomas' write-back caching mode patch since Lucas will propagete that through drm-xe-fixes towards 6.10. So we remove the amount of patch duplication.

Quoted 8 lines

Again, it is important to highlight the uapi rename present in this pull-request.
Mesa is aligned and waiting to merge their side:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30027

Since this uapi was recently merged, after we get both sides propagate there won't be any kernel or mesa releases with the old bad naming. So we should be good.

This looks to be a simple rename, and it appears that the binary interface is functionally the same. So, even if there was a Mesa release using the old header, it should function fine with the interface to the kernel regardless of which header the kernel used.

If the binary interface had changed, I'm not sure an argument of "no kernel or Mesa releases have happened" would be a good way to justify such a change. Luckily that is not the case here anyway.

-Jordan

#2 lore raw
Quoted 18 lines · Jordan Justen
Quoted 8 lines · Rodrigo Vivi

Hi Dave and Sima,

This is a v2 of https://lore.kernel.org/intel-xe/[email protected]/

v2 - Removed Thomas' write-back caching mode patch since Lucas will propagete that through drm-xe-fixes towards 6.10. So we remove the amount of patch duplication.

Quoted 8 lines

Again, it is important to highlight the uapi rename present in this pull-request.
Mesa is aligned and waiting to merge their side:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30027

Since this uapi was recently merged, after we get both sides propagate there won't be any kernel or mesa releases with the old bad naming. So we should be good.

Quoted 8 lines

This looks to be a simple rename, and it appears that the binary interface is functionally the same. So, even if there was a Mesa release using the old header, it should function fine with the interface to the kernel regardless of which header the kernel used.

If the binary interface had changed, I'm not sure an argument of "no kernel or Mesa releases have happened" would be a good way to justify such a change. Luckily that is not the case here anyway.

Agreed. If it was that drastic we should never do and this argument shouldn't apply.

But it is not so transparent as a full rename because there's one sysfs file name that also changed with the rest of the renaming. :/

Quoted 2 lines

-Jordan