]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe/uapi: Rename xe perf layer as xe observation layer
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Wed, 3 Jul 2024 16:48:01 +0000 (09:48 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 11 Jul 2024 13:54:24 +0000 (09:54 -0400)
commit63347fe031e3bd738a2a16aee8eba889376e49a8
tree24d65830e0ec5918c228c89e5595613adaef9a80
parentdbf35b4deabb5706e739cec7ce35c12631bb8c87
drm/xe/uapi: Rename xe perf layer as xe observation layer

In Xe, the perf layer allows capture of HW counter streams. These HW
counters are generally performance related but don't have to be necessarily
so. Also, the name "perf" is a carryover from i915 and is not preferred.

Here we propose the name "observation" for this common layer which allows
capture of different types of these counter streams.

v2: Rename observability layer to observation layer (Lucas/Rodrigo)
v3: Rename sysctl file to "observation_paranoid" (Jose)

Fixes: 52c2e956dceb ("drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream types")
Fixes: fe8929bdf835 ("drm/xe/perf/uapi: Add perf_stream_paranoid sysctl")
Acked-by: Lucas De Marchi <lucas.demarchi@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Acked-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240703164801.2561423-1-ashutosh.dixit@intel.com
(cherry picked from commit 8169b2097d88d99d7e4a72e20e4b549efe9eb8d7)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@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_gt_types.h
drivers/gpu/drm/xe/xe_module.c
drivers/gpu/drm/xe/xe_oa.c
drivers/gpu/drm/xe/xe_observation.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_observation.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_perf.c [deleted file]
drivers/gpu/drm/xe/xe_perf.h [deleted file]
include/uapi/drm/xe_drm.h