mirror of
https://github.com/torvalds/linux.git
synced 2026-04-24 09:35:52 -04:00
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:52c2e956dc("drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream types") Fixes:fe8929bdf8("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 commit8169b2097d) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
committed by
Rodrigo Vivi
parent
dbf35b4dea
commit
63347fe031
@@ -11,7 +11,7 @@
|
||||
#include "xe_drv.h"
|
||||
#include "xe_hw_fence.h"
|
||||
#include "xe_pci.h"
|
||||
#include "xe_perf.h"
|
||||
#include "xe_observation.h"
|
||||
#include "xe_sched_job.h"
|
||||
|
||||
struct xe_modparam xe_modparam = {
|
||||
@@ -80,8 +80,8 @@ static const struct init_funcs init_funcs[] = {
|
||||
.exit = xe_unregister_pci_driver,
|
||||
},
|
||||
{
|
||||
.init = xe_perf_sysctl_register,
|
||||
.exit = xe_perf_sysctl_unregister,
|
||||
.init = xe_observation_sysctl_register,
|
||||
.exit = xe_observation_sysctl_unregister,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user