]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe/oa/uapi: Add OA data formats
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Tue, 18 Jun 2024 01:45:55 +0000 (18:45 -0700)
committerAshutosh Dixit <ashutosh.dixit@intel.com>
Tue, 18 Jun 2024 19:40:27 +0000 (12:40 -0700)
commit67977882a2f1339f0a7d32576ad61967828b2ca5
tree7e8251b30726acc4a34b6e50e6beeb414c4de4ed
parentfe8929bdf83512ed7e413a28e543c725bf536354
drm/xe/oa/uapi: Add OA data formats

Add and initialize supported OA data formats for various platforms
(including Xe2). User can request OA data in any supported format.

Bspec: 52198, 60942, 61101

v2: Start 'xe_oa_format_name' enum from 0 (Umesh)
    Fix error rewind with OA (Umesh)
v3: Use graphics versions rather than absolute platform names
v4: Add missing kernel doc for struct memebers and enum and other minor
    changes (Michal)

Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Acked-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240618014609.3233427-4-ashutosh.dixit@intel.com
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_oa.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_oa.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_oa_types.h [new file with mode: 0644]
include/uapi/drm/xe_drm.h