Skip to contentSkip to conversation

drm/xe/pmu: PMU interface for Xe

PATCH In review Vinay Belgaumkar 3 participants 8 messages Sep 25, 2024 – Sep 26, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover drm/xe/pmu: PMU interface for Xe

Port i915 PMU event capture capability to Xe driver. This has been requested by users of tools like gputop and turbostat where PMU events are used to monitor GT freq and residencies.

Aravind Iddamsetty (1):
drm/xe/pmu: Enable PMU interface

Vinay Belgaumkar (2):
drm/xe/pmu: Add GT C6 events
drm/xe/pmu: Add GT frequency events

 drivers/gpu/drm/xe/Makefile          |   2 +
 drivers/gpu/drm/xe/xe_device.c       |   6 +
 drivers/gpu/drm/xe/xe_device_types.h |   4 +
 drivers/gpu/drm/xe/xe_gt.c           |   4 +
 drivers/gpu/drm/xe/xe_gt_idle.c      |  20 +-
 drivers/gpu/drm/xe/xe_gt_idle.h      |   1 +
 drivers/gpu/drm/xe/xe_module.c       |   5 +
 drivers/gpu/drm/xe/xe_pmu.c          | 960 +++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_pmu.h          |  30 +
 drivers/gpu/drm/xe/xe_pmu_types.h    | 143 ++++
 include/uapi/drm/xe_drm.h            |  17 +
 11 files changed, 1186 insertions(+), 6 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_pmu.c
 create mode 100644 drivers/gpu/drm/xe/xe_pmu.h
 create mode 100644 drivers/gpu/drm/xe/xe_pmu_types.h
Signature · 1 line
2.38.1
#1 lore raw

PATCH 1/3 drm/xe/pmu: Enable PMU interface

From: Aravind Iddamsetty <[email protected]>

Basic PMU enabling patch. Setup the basic framework for adding events/timers. This patch was previously reviewed here -
https://patchwork.freedesktop.org/series/119504/

The pmu base implementation is still from the
i915 driver.

v2: Review comments(Rodrigo) and do not init pmu for VFs as they don't have access to freq and c6 residency anyways.

---
 drivers/gpu/drm/xe/Makefile          |   2 +
 drivers/gpu/drm/xe/xe_device.c       |   6 +
 drivers/gpu/drm/xe/xe_device_types.h |   4 +
 drivers/gpu/drm/xe/xe_module.c       |   5 +
 drivers/gpu/drm/xe/xe_pmu.c          | 570 +++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_pmu.h          |  26 ++
 drivers/gpu/drm/xe/xe_pmu_types.h    |  63 +++
 include/uapi/drm/xe_drm.h            |   8 +
 8 files changed, 684 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/xe_pmu.c
 create mode 100644 drivers/gpu/drm/xe/xe_pmu.h
 create mode 100644 drivers/gpu/drm/xe/xe_pmu_types.h
drivers/gpu/drm/xe/Makefile +2 -0
index ae245fbd91ee..bddb93e8b949 100644
@@ -266,6 +266,8 @@ xe-$(CONFIG_DRM_XE_DISPLAY) += \
 	i915-display/skl_universal_plane.o \
 	i915-display/skl_watermark.o
 
+xe-$(CONFIG_PERF_EVENTS) += xe_pmu.o
+
 ifeq ($(CONFIG_ACPI),y)
 	xe-$(CONFIG_DRM_XE_DISPLAY) += \
 		i915-display/intel_acpi.o \
drivers/gpu/drm/xe/xe_device.c +6 -0
index cb5a9fd820cf..027a796d7431 100644
@@ -762,6 +762,9 @@ int xe_device_probe(struct xe_device *xe)
 	for_each_gt(gt, xe, id)
 		xe_gt_sanitize_freq(gt);
 
+	if (!IS_SRIOV_VF(xe))
+		xe_pmu_register(&xe->pmu);
+
 	return devm_add_action_or_reset(xe->drm.dev, xe_device_sanitize, xe);
 
 err_fini_display:
@@ -806,6 +809,9 @@ void xe_device_remove(struct xe_device *xe)
 
 	xe_heci_gsc_fini(xe);
 
+	if (!IS_SRIOV_VF(xe))
+		xe_pmu_unregister(&xe->pmu);
+
 	for_each_gt(gt, xe, id)
 		xe_gt_remove(gt);
 }
drivers/gpu/drm/xe/xe_device_types.h +4 -0
index 5ad96d283a71..51485d2eadcf 100644
@@ -18,6 +18,7 @@
 #include "xe_memirq_types.h"
 #include "xe_oa.h"
 #include "xe_platform_types.h"
+#include "xe_pmu.h"
 #include "xe_pt_types.h"
 #include "xe_sriov_types.h"
 #include "xe_step_types.h"
@@ -513,6 +514,9 @@ struct xe_device {
 		int mode;
 	} wedged;
 
+	/** @pmu: performance monitoring unit */
+	struct xe_pmu pmu;
+
 #ifdef TEST_VM_OPS_ERROR
 	/**
 	 * @vm_inject_error_position: inject errors at different places in VM
drivers/gpu/drm/xe/xe_module.c +5 -0
index 77ce9f9ca7a5..1bf2bf8447c0 100644
@@ -14,6 +14,7 @@
 #include "xe_hw_fence.h"
 #include "xe_pci.h"
 #include "xe_pm.h"
+#include "xe_pmu.h"
 #include "xe_observation.h"
 #include "xe_sched_job.h"
 
@@ -96,6 +97,10 @@ static const struct init_funcs init_funcs[] = {
 		.init = xe_sched_job_module_init,
 		.exit = xe_sched_job_module_exit,
 	},
+	{
+		.init = xe_pmu_init,
+		.exit = xe_pmu_exit,
+	},
 	{
 		.init = xe_register_pci_driver,
 		.exit = xe_unregister_pci_driver,
drivers/gpu/drm/xe/xe_pmu.c new file +570 -0

570 lines not on this page · raw message

drivers/gpu/drm/xe/xe_pmu.h new file +26 -0
new file mode 100644
index 000000000000..af8108ebef87
@@ -0,0 +1,26 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2024 Intel Corporation
+ */
+
+#ifndef _XE_PMU_H_
+#define _XE_PMU_H_
+
+#include "xe_pmu_types.h"
+
+struct xe_gt;
+
+#if IS_ENABLED(CONFIG_PERF_EVENTS)
+int xe_pmu_init(void);
+void xe_pmu_exit(void);
+void xe_pmu_register(struct xe_pmu *pmu);
+void xe_pmu_unregister(void *arg);
+#else
+static inline int xe_pmu_init(void) { return 0; }
+static inline void xe_pmu_exit(void) {}
+static inline void xe_pmu_register(struct xe_pmu *pmu) {}
+static void xe_pmu_unregister(void *arg) {}
+#endif
+
+#endif
+
drivers/gpu/drm/xe/xe_pmu_types.h new file +63 -0

63 lines not on this page · raw message

include/uapi/drm/xe_drm.h +8 -0
index b6fbe4988f2e..2c5f258eee3a 100644
@@ -1389,6 +1389,14 @@ struct drm_xe_wait_user_fence {
 	__u64 reserved[2];
 };
 
+/*
+ * Top bits of every counter are GT id.
+ */
+#define __XE_PMU_GT_SHIFT (56)
+
+#define ___XE_PMU_OTHER(gt, x) \
+	(((__u64)(x)) | ((__u64)(gt) << __XE_PMU_GT_SHIFT))
+
 /**
  * enum drm_xe_observation_type - Observation stream types
  */
Signature · 1 line
2.38.1
#2 lore raw

Re: [PATCH 1/3] drm/xe/pmu: Enable PMU interface

drivers/gpu/drm/xe/Makefile xe-$(CONFIG_DRM_XE_DISPLAY) += \ · line 270

Quoted 10 lines · Vinay Belgaumkar
drivers/gpu/drm/xe/Makefile +2 -0
index ae245fbd91ee..bddb93e8b949 100644
@@ -266,6 +266,8 @@ xe-$(CONFIG_DRM_XE_DISPLAY) += \
 	i915-display/skl_universal_plane.o \
 	i915-display/skl_watermark.o
 
+xe-$(CONFIG_PERF_EVENTS) += xe_pmu.o
+

Why add perf events stuff *between* two blocks of display objects?

Quoted 3 lines
drivers/gpu/drm/xe/Makefile +0 -0
 ifeq ($(CONFIG_ACPI),y)
 	xe-$(CONFIG_DRM_XE_DISPLAY) += \
 		i915-display/intel_acpi.o \
Signature · 1 line
Jani Nikula, Intel
#3 lore raw

PATCH 2/3 drm/xe/pmu: Add GT C6 events

In reply to Vinay Belgaumkar

Provide a PMU interface for GT C6 residency counters. The implementation is ported over from the i915 PMU code. Residency is provided in units of ms(similar to sysfs entry - /sys/class/drm/card0/device/tile0/gt0/gtidle).

Following PMU events are being added-

Quoted 1 line
Quoted 1 line

perf list | grep rc6

xe_0000_00_02.0/rc6-residency-gt0/ [Kernel PMU event]
xe_0000_00_02.0/rc6-residency-gt1/ [Kernel PMU event]

v2: Checkpatch fix, move timer code to next patch

---
 drivers/gpu/drm/xe/xe_gt.c        |   2 +
 drivers/gpu/drm/xe/xe_gt_idle.c   |  20 ++--
 drivers/gpu/drm/xe/xe_gt_idle.h   |   1 +
 drivers/gpu/drm/xe/xe_pmu.c       | 172 ++++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_pmu.h       |   2 +
 drivers/gpu/drm/xe/xe_pmu_types.h |  58 ++++++++++
 include/uapi/drm/xe_drm.h         |   4 +
 7 files changed, 253 insertions(+), 6 deletions(-)
drivers/gpu/drm/xe/xe_gt.c +2 -0
index 9b0218109647..7a190c49c573 100644
@@ -872,6 +872,8 @@ int xe_gt_suspend(struct xe_gt *gt)
 
 	xe_gt_idle_disable_pg(gt);
 
+	xe_pmu_suspend(gt);
+
 	xe_gt_disable_host_l2_vram(gt);
 
 	XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL));
drivers/gpu/drm/xe/xe_gt_idle.c +14 -6
index 531924b6c0a1..e0a12ac7387c 100644
@@ -277,18 +277,26 @@ static ssize_t idle_status_show(struct device *dev,
 }
 static DEVICE_ATTR_RO(idle_status);
 
-static ssize_t idle_residency_ms_show(struct device *dev,
-				      struct device_attribute *attr, char *buff)
+u64 xe_gt_idle_residency(struct xe_gt *gt)
 {
-	struct xe_gt_idle *gtidle = dev_to_gtidle(dev);
+	struct xe_device *xe = gt_to_xe(gt);
+	struct xe_gt_idle *gtidle = &gt->gtidle;
 	struct xe_guc_pc *pc = gtidle_to_pc(gtidle);
 	u64 residency;
 
-	xe_pm_runtime_get(pc_to_xe(pc));
+	xe_pm_runtime_get(xe);
 	residency = gtidle->idle_residency(pc);
-	xe_pm_runtime_put(pc_to_xe(pc));
+	xe_pm_runtime_put(xe);
+
+	return get_residency_ms(gtidle, residency);
+}
+
+static ssize_t idle_residency_ms_show(struct device *dev,
+				      struct device_attribute *attr, char *buff)
+{
+	struct xe_gt_idle *gtidle = dev_to_gtidle(dev);
 
-	return sysfs_emit(buff, "%llu\n", get_residency_ms(gtidle, residency));
+	return sysfs_emit(buff, "%llu\n", xe_gt_idle_residency(gtidle_to_gt(gtidle)));
 }
 static DEVICE_ATTR_RO(idle_residency_ms);
 
drivers/gpu/drm/xe/xe_gt_idle.h +1 -0
index 4455a6501cb0..887791f653ac 100644
@@ -17,5 +17,6 @@ void xe_gt_idle_disable_c6(struct xe_gt *gt);
 void xe_gt_idle_enable_pg(struct xe_gt *gt);
 void xe_gt_idle_disable_pg(struct xe_gt *gt);
 int xe_gt_idle_pg_print(struct xe_gt *gt, struct drm_printer *p);
+u64 xe_gt_idle_residency(struct xe_gt *gt);
 
 #endif /* _XE_GT_IDLE_H_ */
drivers/gpu/drm/xe/xe_pmu.c +172 -0

242 lines not on this page · raw message

drivers/gpu/drm/xe/xe_pmu.h +2 -0
index af8108ebef87..733f2c33039c 100644
@@ -15,11 +15,13 @@ int xe_pmu_init(void);
 void xe_pmu_exit(void);
 void xe_pmu_register(struct xe_pmu *pmu);
 void xe_pmu_unregister(void *arg);
+void xe_pmu_suspend(struct xe_gt *gt);
 #else
 static inline int xe_pmu_init(void) { return 0; }
 static inline void xe_pmu_exit(void) {}
 static inline void xe_pmu_register(struct xe_pmu *pmu) {}
 static void xe_pmu_unregister(void *arg) {}
+void xe_pmu_suspend(struct xe_gt *gt) {}
 #endif
 
 #endif
drivers/gpu/drm/xe/xe_pmu_types.h +58 -0

75 lines not on this page · raw message

include/uapi/drm/xe_drm.h +4 -0
index 2c5f258eee3a..3ef3926551dd 100644
@@ -1396,6 +1396,10 @@ struct drm_xe_wait_user_fence {
 
 #define ___XE_PMU_OTHER(gt, x) \
 	(((__u64)(x)) | ((__u64)(gt) << __XE_PMU_GT_SHIFT))
+#define __XE_PMU_OTHER(x) ___XE_PMU_OTHER(0, x)
+
+#define XE_PMU_RC6_RESIDENCY                    __XE_PMU_OTHER(0)
+#define __XE_PMU_RC6_RESIDENCY(gt)              ___XE_PMU_OTHER(gt, 0)
 
 /**
  * enum drm_xe_observation_type - Observation stream types
Signature · 1 line
2.38.1
#4 lore raw

PATCH 3/3 drm/xe/pmu: Add GT frequency events

In reply to Vinay Belgaumkar

Define PMU events for GT frequency (actual and requested). This is a port from the i915 driver implementation.

Following PMU events are being added-

  xe_0000_00_02.0/actual-frequency-gt0/              [Kernel PMU event]
  xe_0000_00_02.0/actual-frequency-gt1/              [Kernel PMU event]
  xe_0000_00_02.0/requested-frequency-gt0/           [Kernel PMU event]
  xe_0000_00_02.0/requested-frequency-gt1/           [Kernel PMU event]

v2: Checkpatch fix, moved timer code to this patch

---
 drivers/gpu/drm/xe/xe_gt.c        |   2 +
 drivers/gpu/drm/xe/xe_pmu.c       | 218 ++++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_pmu.h       |   2 +
 drivers/gpu/drm/xe/xe_pmu_types.h |  22 +++
 include/uapi/drm/xe_drm.h         |   5 +
 5 files changed, 249 insertions(+)
drivers/gpu/drm/xe/xe_gt.c +2 -0
index 7a190c49c573..796b330ffd62 100644
@@ -929,6 +929,8 @@ int xe_gt_resume(struct xe_gt *gt)
 
 	xe_gt_idle_enable_pg(gt);
 
+	xe_pmu_resume(gt);
+
 	XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL));
 	xe_gt_dbg(gt, "resumed\n");
 
drivers/gpu/drm/xe/xe_pmu.c +218 -0

290 lines not on this page · raw message

drivers/gpu/drm/xe/xe_pmu.h +2 -0
index 733f2c33039c..47d7f0a8e4bb 100644
@@ -16,12 +16,14 @@ void xe_pmu_exit(void);
 void xe_pmu_register(struct xe_pmu *pmu);
 void xe_pmu_unregister(void *arg);
 void xe_pmu_suspend(struct xe_gt *gt);
+void xe_pmu_resume(struct xe_gt *gt);
 #else
 static inline int xe_pmu_init(void) { return 0; }
 static inline void xe_pmu_exit(void) {}
 static inline void xe_pmu_register(struct xe_pmu *pmu) {}
 static void xe_pmu_unregister(void *arg) {}
 void xe_pmu_suspend(struct xe_gt *gt) {}
+void xe_pmu_resume(struct xe_gt *gt) {}
 #endif
 
 #endif
drivers/gpu/drm/xe/xe_pmu_types.h +22 -0
index 1213d2a73492..f4cf85d72aac 100644
@@ -13,6 +13,8 @@
 enum {
 	__XE_SAMPLE_RC6,
 	__XE_SAMPLE_RC6_LAST_REPORTED,
+	__XE_SAMPLE_FREQ_ACT,
+	__XE_SAMPLE_FREQ_REQ,
 	__XE_NUM_PMU_SAMPLERS
 };
 
@@ -23,6 +25,8 @@ enum {
  * current state.
  */
 enum xe_pmu_tracked_events {
+	__XE_PMU_ACTUAL_FREQUENCY_ENABLED,
+	__XE_PMU_REQUESTED_FREQUENCY_ENABLED,
 	__XE_PMU_RC6_RESIDENCY_ENABLED,
 	__XE_PMU_TRACKED_EVENT_COUNT, /* count marker */
 };
@@ -116,6 +120,24 @@ struct xe_pmu {
 	 * @sleep_last: Last time GT parked for RC6 estimation.
 	 */
 	ktime_t sleep_last[XE_PMU_MAX_GT];
+	/**
+	 * @timer: Timer for internal Xe PMU sampling.
+	 */
+	struct hrtimer timer;
+	/**
+	 * @timer_last:
+	 *
+	 * Timestmap of the previous timer invocation.
+	 */
+	ktime_t timer_last;
+	/**
+	 * @timer_enabled: Should the internal sampling timer be running.
+	 */
+	bool timer_enabled;
+	/**
+	 * @active_gts: GT active mask.
+	 */
+	unsigned int active_gts;
 };
 
 #endif
include/uapi/drm/xe_drm.h +5 -0
index 3ef3926551dd..1f0ddbd77838 100644
@@ -1399,7 +1399,12 @@ struct drm_xe_wait_user_fence {
 #define __XE_PMU_OTHER(x) ___XE_PMU_OTHER(0, x)
 
 #define XE_PMU_RC6_RESIDENCY                    __XE_PMU_OTHER(0)
+#define XE_PMU_ACTUAL_FREQUENCY			__XE_PMU_OTHER(1)
+#define XE_PMU_REQUESTED_FREQUENCY		__XE_PMU_OTHER(2)
+
 #define __XE_PMU_RC6_RESIDENCY(gt)              ___XE_PMU_OTHER(gt, 0)
+#define __XE_PMU_ACTUAL_FREQUENCY(gt)		___XE_PMU_OTHER(gt, 1)
+#define __XE_PMU_REQUESTED_FREQUENCY(gt)	___XE_PMU_OTHER(gt, 2)
 
 /**
  * enum drm_xe_observation_type - Observation stream types
Signature · 1 line
2.38.1
#5 lore raw

✓ CI.Patch_applied: success for drm/xe/pmu: PMU interface for Xe

In reply to Vinay Belgaumkar
== Series Details ==

== Series Details ==

Series: drm/xe/pmu: PMU interface for Xe
URL : https://patchwork.freedesktop.org/series/139121/
State : success

== Summary ==

=== Applying kernel patches on branch 'drm-tip' with base: ===
Base commit: ec87b409d3a9 drm-tip: 2024y-09m-26d-13h-48m-52s UTC integration manifest === git am output follows ===
.git/rebase-apply/patch:704: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
Applying: drm/xe/pmu: Enable PMU interface
Applying: drm/xe/pmu: Add GT C6 events
Applying: drm/xe/pmu: Add GT frequency events

#6 lore raw

✗ CI.checkpatch: warning for drm/xe/pmu: PMU interface for Xe

In reply to Vinay Belgaumkar
== Series Details ==

== Series Details ==

Series: drm/xe/pmu: PMU interface for Xe
URL : https://patchwork.freedesktop.org/series/139121/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master 30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 46e86fb616b4ed19df1aa1fca442e4efe8e13fdf

Author: Vinay Belgaumkar <[email protected]>
Date:   Wed Sep 25 16:21:59 2024 -0700

drm/xe/pmu: Add GT frequency events

Define PMU events for GT frequency (actual and requested). This is a port from the i915 driver implementation.

Following PMU events are being added-

xe_0000_00_02.0/actual-frequency-gt0/ [Kernel PMU event]
xe_0000_00_02.0/actual-frequency-gt1/ [Kernel PMU event]
xe_0000_00_02.0/requested-frequency-gt0/ [Kernel PMU event]
xe_0000_00_02.0/requested-frequency-gt1/ [Kernel PMU event]

v2: Checkpatch fix, moved timer code to this patch

+ /mt/dim checkpatch ec87b409d3a9358c9a079186d528fad3f7d64334 drm-intel f7ad341df96e drm/xe/pmu: Enable PMU interface
-:107: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #107:
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 732 lines checked e389fe0f889d drm/xe/pmu: Add GT C6 events
46e86fb616b4 drm/xe/pmu: Add GT frequency events
-:62: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #62: FILE: drivers/gpu/drm/xe/xe_pmu.c:95:
+ BITS_PER_TYPE(typeof_member(struct xe_pmu,
+ enable)) - 1);

total: 0 errors, 0 warnings, 1 checks, 364 lines checked

#7 lore raw

✗ CI.KUnit: failure for drm/xe/pmu: PMU interface for Xe

In reply to Vinay Belgaumkar
== Series Details ==

== Series Details ==

Series: drm/xe/pmu: PMU interface for Xe
URL : https://patchwork.freedesktop.org/series/139121/
State : failure

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [16:57:34] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[16:57:38] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make ARCH=um O=.kunit --jobs=48
ERROR:root:In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/tests/xe_pci_test.c:13:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_bb.c:9:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/tests/xe_rtp_test.c:16:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/tests/xe_wa_test.c:11:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_bo.c:6:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_bo_evict.c:8:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_devcoredump.c:14:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_device.c:6:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_device_sysfs.c:12:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_dma_buf.c:17:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_drm_client.c:13:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_exec.c:14:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_execlist.c:14:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_exec_queue.h:10,
                 from ../drivers/gpu/drm/xe/xe_exec_queue.c:6:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_force_wake.h:9,
                 from ../drivers/gpu/drm/xe/xe_force_wake.c:6:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_ggtt.c:19:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_gsc.c:17:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_gsc_debugfs.c:11:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_gsc_proxy.c:17:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_gsc_submit.c:11:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_gt.h:11,
                 from ../drivers/gpu/drm/xe/xe_gt.c:6:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_gt_ccs_mode.c:9:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_gt_clock.c:12:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_gt_freq.c:16:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_force_wake.h:9,
                 from ../drivers/gpu/drm/xe/xe_gt_idle.c:8:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_gt_topology.h:9,
                 from ../drivers/gpu/drm/xe/xe_gt_mcr.h:10,
                 from ../drivers/gpu/drm/xe/xe_gt_mcr.c:6:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_gt_pagefault.c:16:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_gt.h:11,
                 from ../drivers/gpu/drm/xe/xe_gt_sysfs.c:13:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c:9:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_gt_throttle.c:9:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_gt_topology.h:9,
                 from ../drivers/gpu/drm/xe/xe_gt_topology.c:6:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_gt.h:11,
                 from ../drivers/gpu/drm/xe/xe_guc.h:9,
                 from ../drivers/gpu/drm/xe/xe_guc.c:6:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_guc_ads.c:16:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_guc_db_mgr.c:13:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_guc_ct.c:19:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_guc_hwconfig.c:12:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_guc_id_mgr.c:11:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_guc_log.c:10:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_guc_pc.c:16:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_guc_submit.c:20:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_heci_gsc.c:11:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_hw_engine.c:15:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_hw_engine_group.c:8:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c:10:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_hw_fence.c:11:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_huc.c:15:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/display/xe_display.h:9,
                 from ../drivers/gpu/drm/xe/xe_irq.c:12:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_lrc.c:18:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_mmio.h:9,
                 from ../drivers/gpu/drm/xe/xe_mmio.c:6:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_migrate.c:21:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_module.c:17:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_oa.c:21:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_mocs.c:9:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_pat.c:13:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/display/xe_display.h:9,
                 from ../drivers/gpu/drm/xe/xe_pci.c:18:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_pcode.c:13:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/display/xe_display.h:9,
                 from ../drivers/gpu/drm/xe/xe_pm.c:13:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_exec_queue.h:10,
                 from ../drivers/gpu/drm/xe/xe_preempt_fence.c:10:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_pt.c:11:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_query.c:16:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_reg_sr.c:18:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_reg_whitelist.c:12:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_gt.h:11,
                 from ../drivers/gpu/drm/xe/xe_rtp.c:12:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_gt.h:11,
                 from ../drivers/gpu/drm/xe/xe_ring_ops.c:16:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_sa.c:12:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_sched_job.c:12:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_step.c:10:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_sync.c:17:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_tile.c:8:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_tile.h:9,
                 from ../drivers/gpu/drm/xe/xe_tile_sysfs.c:11:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_trace.h:18,
                 from ../drivers/gpu/drm/xe/xe_trace.c:8:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_trace_guc.h:15,
                 from ../drivers/gpu/drm/xe/xe_trace_guc.c:8:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_trace_bo.h:15,
                 from ../drivers/gpu/drm/xe/xe_trace_bo.c:8:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_ttm_sys_mgr.c:15:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c:18:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:12:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_tuning.c:11:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_uc.c:8:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_vm.h:9,
                 from ../drivers/gpu/drm/xe/xe_vm.c:6:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_vram.c:14:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_uc_fw.c:12:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_vram_freq.c:8:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_wa.h:9,
                 from ../drivers/gpu/drm/xe/xe_wa.c:6:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_wait_user_fence.c:13:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_wopcm.c:9:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_hwmon.c:14:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_vm.h:9,
                 from ../drivers/gpu/drm/xe/xe_hmm.c:14:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_gt_sriov_vf.c:19:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../lib/iomap.c:156:5: warning: no previous prototype for ‘ioread64_lo_hi’ [-Wmissing-prototypes]
  156 | u64 ioread64_lo_hi(const void __iomem *addr)
      |     ^~~~~~~~~~~~~~
../lib/iomap.c:163:5: warning: no previous prototype for ‘ioread64_hi_lo’ [-Wmissing-prototypes]
  163 | u64 ioread64_hi_lo(const void __iomem *addr)
      |     ^~~~~~~~~~~~~~
../lib/iomap.c:170:5: warning: no previous prototype for ‘ioread64be_lo_hi’ [-Wmissing-prototypes]
  170 | u64 ioread64be_lo_hi(const void __iomem *addr)
      |     ^~~~~~~~~~~~~~~~
../lib/iomap.c:178:5: warning: no previous prototype for ‘ioread64be_hi_lo’ [-Wmissing-prototypes]
  178 | u64 ioread64be_hi_lo(const void __iomem *addr)
      |     ^~~~~~~~~~~~~~~~
../lib/iomap.c:264:6: warning: no previous prototype for ‘iowrite64_lo_hi’ [-Wmissing-prototypes]
  264 | void iowrite64_lo_hi(u64 val, void __iomem *addr)
      |      ^~~~~~~~~~~~~~~
../lib/iomap.c:272:6: warning: no previous prototype for ‘iowrite64_hi_lo’ [-Wmissing-prototypes]
  272 | void iowrite64_hi_lo(u64 val, void __iomem *addr)
      |      ^~~~~~~~~~~~~~~
../lib/iomap.c:280:6: warning: no previous prototype for ‘iowrite64be_lo_hi’ [-Wmissing-prototypes]
  280 | void iowrite64be_lo_hi(u64 val, void __iomem *addr)
      |      ^~~~~~~~~~~~~~~~~
../lib/iomap.c:288:6: warning: no previous prototype for ‘iowrite64be_hi_lo’ [-Wmissing-prototypes]
  288 | void iowrite64be_hi_lo(u64 val, void __iomem *addr)
      |      ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_guc_relay.c:18:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_memirq.c:12:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_gt.h:11,
                 from ../drivers/gpu/drm/xe/xe_gt_sriov_pf.c:11:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_sriov.c:10:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c:9:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_gt_sriov_pf_helpers.h:9,
                 from ../drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.c:10:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_mmio.h:9,
                 from ../drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c:15:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c:14:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_gt_sriov_pf_control.c:10:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_pci_sriov.c:6:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c:8:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_lmtt.c:12:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_assert.h:13,
                 from ../drivers/gpu/drm/xe/xe_sriov_pf.c:8:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_debugfs.c:13:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_huc_debugfs.c:11:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_vm_types.h:16,
                 from ../drivers/gpu/drm/xe/xe_bo.h:13,
                 from ../drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c:11:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/tests/xe_kunit_helpers.c:15:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_gt_types.h:9,
                 from ../drivers/gpu/drm/xe/xe_gt_sriov_vf_debugfs.c:13:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_gt_debugfs.c:13:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_gt.h:11,
                 from ../drivers/gpu/drm/xe/xe_gt_stats.c:10:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_guc_debugfs.c:11:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:21,
                 from ../drivers/gpu/drm/xe/xe_device.h:11,
                 from ../drivers/gpu/drm/xe/xe_gt.h:11,
                 from ../drivers/gpu/drm/xe/xe_uc_debugfs.c:10:
../drivers/gpu/drm/xe/xe_pmu.h:25:6: warning: no previous prototype for ‘xe_pmu_suspend’ [-Wmissing-prototypes]
   25 | void xe_pmu_suspend(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:26:6: warning: no previous prototype for ‘xe_pmu_resume’ [-Wmissing-prototypes]
   26 | void xe_pmu_resume(struct xe_gt *gt) {}
      |      ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_pmu.h:24:13: warning: ‘xe_pmu_unregister’ defined but not used [-Wunused-function]
   24 | static void xe_pmu_unregister(void *arg) {}
      |             ^~~~~~~~~~~~~~~~~
ld: drivers/gpu/drm/xe/xe_bo.o: in function `xe_pmu_suspend':
xe_bo.c:(.text+0x1320): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_bo.o: in function `xe_pmu_resume':
xe_bo.c:(.text+0x1330): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_bo_evict.o: in function `xe_pmu_suspend':
xe_bo_evict.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_bo_evict.o: in function `xe_pmu_resume':
xe_bo_evict.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_devcoredump.o: in function `xe_pmu_suspend':
xe_devcoredump.c:(.text+0x4e0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_devcoredump.o: in function `xe_pmu_resume':
xe_devcoredump.c:(.text+0x4f0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_device.o: in function `xe_pmu_suspend':
xe_device.c:(.text+0xe40): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_device.o: in function `xe_pmu_resume':
xe_device.c:(.text+0xe50): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_device_sysfs.o: in function `xe_pmu_suspend':
xe_device_sysfs.c:(.text+0x160): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_device_sysfs.o: in function `xe_pmu_resume':
xe_device_sysfs.c:(.text+0x170): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_dma_buf.o: in function `xe_pmu_suspend':
xe_dma_buf.c:(.text+0x490): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_dma_buf.o: in function `xe_pmu_resume':
xe_dma_buf.c:(.text+0x4a0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_drm_client.o: in function `xe_pmu_suspend':
xe_drm_client.c:(.text+0x7c0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_drm_client.o: in function `xe_pmu_resume':
xe_drm_client.c:(.text+0x7d0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_exec.o: in function `xe_pmu_suspend':
xe_exec.c:(.text+0x20): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_exec.o: in function `xe_pmu_resume':
xe_exec.c:(.text+0x30): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_execlist.o: in function `xe_pmu_suspend':
xe_execlist.c:(.text+0xc10): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_execlist.o: in function `xe_pmu_resume':
xe_execlist.c:(.text+0xc20): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_exec_queue.o: in function `xe_pmu_suspend':
xe_exec_queue.c:(.text+0x6a0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_exec_queue.o: in function `xe_pmu_resume':
xe_exec_queue.c:(.text+0x6b0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_force_wake.o: in function `xe_pmu_suspend':
xe_force_wake.c:(.text+0xb0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_force_wake.o: in function `xe_pmu_resume':
xe_force_wake.c:(.text+0xc0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_ggtt.o: in function `xe_pmu_suspend':
xe_ggtt.c:(.text+0x4f0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_ggtt.o: in function `xe_pmu_resume':
xe_ggtt.c:(.text+0x500): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gsc.o: in function `xe_pmu_suspend':
xe_gsc.c:(.text+0xc40): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gsc.o: in function `xe_pmu_resume':
xe_gsc.c:(.text+0xc50): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gsc_debugfs.o: in function `xe_pmu_suspend':
xe_gsc_debugfs.c:(.text+0xb0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gsc_debugfs.o: in function `xe_pmu_resume':
xe_gsc_debugfs.c:(.text+0xc0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gsc_proxy.o: in function `xe_pmu_suspend':
xe_gsc_proxy.c:(.text+0x7e0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gsc_proxy.o: in function `xe_pmu_resume':
xe_gsc_proxy.c:(.text+0x7f0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gsc_submit.o: in function `xe_pmu_suspend':
xe_gsc_submit.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gsc_submit.o: in function `xe_pmu_resume':
xe_gsc_submit.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt.o: in function `xe_pmu_suspend':
xe_gt.c:(.text+0x450): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt.o: in function `xe_pmu_resume':
xe_gt.c:(.text+0x460): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_ccs_mode.o: in function `xe_pmu_suspend':
xe_gt_ccs_mode.c:(.text+0x270): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_ccs_mode.o: in function `xe_pmu_resume':
xe_gt_ccs_mode.c:(.text+0x280): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_clock.o: in function `xe_pmu_suspend':
xe_gt_clock.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_clock.o: in function `xe_pmu_resume':
xe_gt_clock.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_freq.o: in function `xe_pmu_suspend':
xe_gt_freq.c:(.text+0x540): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_freq.o: in function `xe_pmu_resume':
xe_gt_freq.c:(.text+0x550): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_idle.o: in function `xe_pmu_suspend':
xe_gt_idle.c:(.text+0x110): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_idle.o: in function `xe_pmu_resume':
xe_gt_idle.c:(.text+0x120): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_mcr.o: in function `xe_pmu_suspend':
xe_gt_mcr.c:(.text+0x520): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_mcr.o: in function `xe_pmu_resume':
xe_gt_mcr.c:(.text+0x530): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_pagefault.o: in function `xe_pmu_suspend':
xe_gt_pagefault.c:(.text+0xe00): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_pagefault.o: in function `xe_pmu_resume':
xe_gt_pagefault.c:(.text+0xe10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sysfs.o: in function `xe_pmu_suspend':
xe_gt_sysfs.c:(.text+0x30): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sysfs.o: in function `xe_pmu_resume':
xe_gt_sysfs.c:(.text+0x40): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_throttle.o: in function `xe_pmu_suspend':
xe_gt_throttle.c:(.text+0x30): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_throttle.o: in function `xe_pmu_resume':
xe_gt_throttle.c:(.text+0x40): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_tlb_invalidation.o: in function `xe_pmu_suspend':
xe_gt_tlb_invalidation.c:(.text+0x540): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_tlb_invalidation.o: in function `xe_pmu_resume':
xe_gt_tlb_invalidation.c:(.text+0x550): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_topology.o: in function `xe_pmu_suspend':
xe_gt_topology.c:(.text+0x460): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_topology.o: in function `xe_pmu_resume':
xe_gt_topology.c:(.text+0x470): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_guc.o: in function `xe_pmu_suspend':
xe_guc.c:(.text+0x7d0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_guc.o: in function `xe_pmu_resume':
xe_guc.c:(.text+0x7e0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_guc_ads.o: in function `xe_pmu_suspend':
xe_guc_ads.c:(.text+0x7b0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_guc_ads.o: in function `xe_pmu_resume':
xe_guc_ads.c:(.text+0x7c0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_guc_ct.o: in function `xe_pmu_suspend':
xe_guc_ct.c:(.text+0x11e0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_guc_ct.o: in function `xe_pmu_resume':
xe_guc_ct.c:(.text+0x11f0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_guc_db_mgr.o: in function `xe_pmu_suspend':
xe_guc_db_mgr.c:(.text+0x590): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_guc_db_mgr.o: in function `xe_pmu_resume':
xe_guc_db_mgr.c:(.text+0x5a0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_guc_hwconfig.o: in function `xe_pmu_suspend':
xe_guc_hwconfig.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_guc_hwconfig.o: in function `xe_pmu_resume':
xe_guc_hwconfig.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_guc_id_mgr.o: in function `xe_pmu_suspend':
xe_guc_id_mgr.c:(.text+0x5a0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_guc_id_mgr.o: in function `xe_pmu_resume':
xe_guc_id_mgr.c:(.text+0x5b0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_guc_log.o: in function `xe_pmu_suspend':
xe_guc_log.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_guc_log.o: in function `xe_pmu_resume':
xe_guc_log.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_guc_pc.o: in function `xe_pmu_suspend':
xe_guc_pc.c:(.text+0x590): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_guc_pc.o: in function `xe_pmu_resume':
xe_guc_pc.c:(.text+0x5a0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_guc_submit.o: in function `xe_pmu_suspend':
xe_guc_submit.c:(.text+0x3430): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_guc_submit.o: in function `xe_pmu_resume':
xe_guc_submit.c:(.text+0x3440): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_heci_gsc.o: in function `xe_pmu_suspend':
xe_heci_gsc.c:(.text+0x30): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_heci_gsc.o: in function `xe_pmu_resume':
xe_heci_gsc.c:(.text+0x40): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_hw_engine.o: in function `xe_pmu_suspend':
xe_hw_engine.c:(.text+0x3f0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_hw_engine.o: in function `xe_pmu_resume':
xe_hw_engine.c:(.text+0x400): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.o: in function `xe_pmu_suspend':
xe_hw_engine_class_sysfs.c:(.text+0xa70): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.o: in function `xe_pmu_resume':
xe_hw_engine_class_sysfs.c:(.text+0xa80): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_hw_engine_group.o: in function `xe_pmu_suspend':
xe_hw_engine_group.c:(.text+0x170): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_hw_engine_group.o: in function `xe_pmu_resume':
xe_hw_engine_group.c:(.text+0x180): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_hw_fence.o: in function `xe_pmu_suspend':
xe_hw_fence.c:(.text+0x5c0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_hw_fence.o: in function `xe_pmu_resume':
xe_hw_fence.c:(.text+0x5d0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_huc.o: in function `xe_pmu_suspend':
xe_huc.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_huc.o: in function `xe_pmu_resume':
xe_huc.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_irq.o: in function `xe_pmu_suspend':
xe_irq.c:(.text+0x1290): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_irq.o: in function `xe_pmu_resume':
xe_irq.c:(.text+0x12a0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_lrc.o: in function `xe_pmu_suspend':
xe_lrc.c:(.text+0x230): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_lrc.o: in function `xe_pmu_resume':
xe_lrc.c:(.text+0x240): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_migrate.o: in function `xe_pmu_suspend':
xe_migrate.c:(.text+0x22f0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_migrate.o: in function `xe_pmu_resume':
xe_migrate.c:(.text+0x2300): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_mmio.o: in function `xe_pmu_suspend':
xe_mmio.c:(.text+0x80): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_mmio.o: in function `xe_pmu_resume':
xe_mmio.c:(.text+0x90): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_mocs.o: in function `xe_pmu_suspend':
xe_mocs.c:(.text+0x1aa0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_mocs.o: in function `xe_pmu_resume':
xe_mocs.c:(.text+0x1ab0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_module.o: in function `xe_pmu_suspend':
xe_module.c:(.text+0x50): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_module.o: in function `xe_pmu_resume':
xe_module.c:(.text+0x60): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_oa.o: in function `xe_pmu_suspend':
xe_oa.c:(.text+0x3430): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_oa.o: in function `xe_pmu_resume':
xe_oa.c:(.text+0x3440): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_pat.o: in function `xe_pmu_suspend':
xe_pat.c:(.text+0xa10): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_pat.o: in function `xe_pmu_resume':
xe_pat.c:(.text+0xa20): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_pci.o: in function `xe_pmu_suspend':
xe_pci.c:(.text+0x1820): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_pci.o: in function `xe_pmu_resume':
xe_pci.c:(.text+0x1830): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_pcode.o: in function `xe_pmu_suspend':
xe_pcode.c:(.text+0x3a0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_pcode.o: in function `xe_pmu_resume':
xe_pcode.c:(.text+0x3b0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_pm.o: in function `xe_pmu_suspend':
xe_pm.c:(.text+0x280): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_pm.o: in function `xe_pmu_resume':
xe_pm.c:(.text+0x290): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_preempt_fence.o: in function `xe_pmu_suspend':
xe_preempt_fence.c:(.text+0x250): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_preempt_fence.o: in function `xe_pmu_resume':
xe_preempt_fence.c:(.text+0x260): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_pt.o: in function `xe_pmu_suspend':
xe_pt.c:(.text+0x2d90): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_pt.o: in function `xe_pmu_resume':
xe_pt.c:(.text+0x2da0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_query.o: in function `xe_pmu_suspend':
xe_query.c:(.text+0x1d40): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_query.o: in function `xe_pmu_resume':
xe_query.c:(.text+0x1d50): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_reg_sr.o: in function `xe_pmu_suspend':
xe_reg_sr.c:(.text+0xd0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_reg_sr.o: in function `xe_pmu_resume':
xe_reg_sr.c:(.text+0xe0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_reg_whitelist.o: in function `xe_pmu_suspend':
xe_reg_whitelist.c:(.text+0x10): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_reg_whitelist.o: in function `xe_pmu_resume':
xe_reg_whitelist.c:(.text+0x20): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_rtp.o: in function `xe_pmu_suspend':
xe_rtp.c:(.text+0x880): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_rtp.o: in function `xe_pmu_resume':
xe_rtp.c:(.text+0x890): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_ring_ops.o: in function `xe_pmu_suspend':
xe_ring_ops.c:(.text+0xd90): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_ring_ops.o: in function `xe_pmu_resume':
xe_ring_ops.c:(.text+0xda0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_sa.o: in function `xe_pmu_suspend':
xe_sa.c:(.text+0x60): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_sa.o: in function `xe_pmu_resume':
xe_sa.c:(.text+0x70): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_sched_job.o: in function `xe_pmu_suspend':
xe_sched_job.c:(.text+0x130): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_sched_job.o: in function `xe_pmu_resume':
xe_sched_job.c:(.text+0x140): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_step.o: in function `xe_pmu_suspend':
xe_step.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_step.o: in function `xe_pmu_resume':
xe_step.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_sync.o: in function `xe_pmu_suspend':
xe_sync.c:(.text+0x450): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_sync.o: in function `xe_pmu_resume':
xe_sync.c:(.text+0x460): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_tile.o: in function `xe_pmu_suspend':
xe_tile.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_tile.o: in function `xe_pmu_resume':
xe_tile.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_tile_sysfs.o: in function `xe_pmu_suspend':
xe_tile_sysfs.c:(.text+0x30): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_tile_sysfs.o: in function `xe_pmu_resume':
xe_tile_sysfs.c:(.text+0x40): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_trace.o: in function `xe_pmu_suspend':
xe_trace.c:(.text+0x1eb0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_trace.o: in function `xe_pmu_resume':
xe_trace.c:(.text+0x1ec0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_trace_bo.o: in function `xe_pmu_suspend':
xe_trace_bo.c:(.text+0x10d0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_trace_bo.o: in function `xe_pmu_resume':
xe_trace_bo.c:(.text+0x10e0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_trace_guc.o: in function `xe_pmu_suspend':
xe_trace_guc.c:(.text+0x8f0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_trace_guc.o: in function `xe_pmu_resume':
xe_trace_guc.c:(.text+0x900): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_ttm_sys_mgr.o: in function `xe_pmu_suspend':
xe_ttm_sys_mgr.c:(.text+0x270): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_ttm_sys_mgr.o: in function `xe_pmu_resume':
xe_ttm_sys_mgr.c:(.text+0x280): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_ttm_stolen_mgr.o: in function `xe_pmu_suspend':
xe_ttm_stolen_mgr.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_ttm_stolen_mgr.o: in function `xe_pmu_resume':
xe_ttm_stolen_mgr.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_ttm_vram_mgr.o: in function `xe_pmu_suspend':
xe_ttm_vram_mgr.c:(.text+0xa20): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_ttm_vram_mgr.o: in function `xe_pmu_resume':
xe_ttm_vram_mgr.c:(.text+0xa30): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_tuning.o: in function `xe_pmu_suspend':
xe_tuning.c:(.text+0xa0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_tuning.o: in function `xe_pmu_resume':
xe_tuning.c:(.text+0xb0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_uc.o: in function `xe_pmu_suspend':
xe_uc.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_uc.o: in function `xe_pmu_resume':
xe_uc.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_uc_fw.o: in function `xe_pmu_suspend':
xe_uc_fw.c:(.text+0x3f0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_uc_fw.o: in function `xe_pmu_resume':
xe_uc_fw.c:(.text+0x400): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_vm.o: in function `xe_pmu_suspend':
xe_vm.c:(.text+0x1d10): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_vm.o: in function `xe_pmu_resume':
xe_vm.c:(.text+0x1d20): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_vram.o: in function `xe_pmu_suspend':
xe_vram.c:(.text+0x2f0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_vram.o: in function `xe_pmu_resume':
xe_vram.c:(.text+0x300): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_vram_freq.o: in function `xe_pmu_suspend':
xe_vram_freq.c:(.text+0x110): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_vram_freq.o: in function `xe_pmu_resume':
xe_vram_freq.c:(.text+0x120): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_wait_user_fence.o: in function `xe_pmu_suspend':
xe_wait_user_fence.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_wait_user_fence.o: in function `xe_pmu_resume':
xe_wait_user_fence.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_wa.o: in function `xe_pmu_suspend':
xe_wa.c:(.text+0x70): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_wa.o: in function `xe_pmu_resume':
xe_wa.c:(.text+0x80): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_wopcm.o: in function `xe_pmu_suspend':
xe_wopcm.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_wopcm.o: in function `xe_pmu_resume':
xe_wopcm.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_hmm.o: in function `xe_pmu_suspend':
xe_hmm.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_hmm.o: in function `xe_pmu_resume':
xe_hmm.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_hwmon.o: in function `xe_pmu_suspend':
xe_hwmon.c:(.text+0xec0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_hwmon.o: in function `xe_pmu_resume':
xe_hwmon.c:(.text+0xed0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_vf.o: in function `xe_pmu_suspend':
xe_gt_sriov_vf.c:(.text+0x350): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_vf.o: in function `xe_pmu_resume':
xe_gt_sriov_vf.c:(.text+0x360): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_guc_relay.o: in function `xe_pmu_suspend':
xe_guc_relay.c:(.text+0x2a10): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_guc_relay.o: in function `xe_pmu_resume':
xe_guc_relay.c:(.text+0x2a20): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_memirq.o: in function `xe_pmu_suspend':
xe_memirq.c:(.text+0x130): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_memirq.o: in function `xe_pmu_resume':
xe_memirq.c:(.text+0x140): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_sriov.o: in function `xe_pmu_suspend':
xe_sriov.c:(.text+0x30): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_sriov.o: in function `xe_pmu_resume':
xe_sriov.c:(.text+0x40): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_pf.o: in function `xe_pmu_suspend':
xe_gt_sriov_pf.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_pf.o: in function `xe_pmu_resume':
xe_gt_sriov_pf.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_pf_config.o: in function `xe_pmu_suspend':
xe_gt_sriov_pf_config.c:(.text+0x1a80): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_pf_config.o: in function `xe_pmu_resume':
xe_gt_sriov_pf_config.c:(.text+0x1a90): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_pf_control.o: in function `xe_pmu_suspend':
xe_gt_sriov_pf_control.c:(.text+0xeb0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_pf_control.o: in function `xe_pmu_resume':
xe_gt_sriov_pf_control.c:(.text+0xec0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.o: in function `xe_pmu_suspend':
xe_gt_sriov_pf_migration.c:(.text+0x130): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.o: in function `xe_pmu_resume':
xe_gt_sriov_pf_migration.c:(.text+0x140): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.o: in function `xe_pmu_suspend':
xe_gt_sriov_pf_monitor.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.o: in function `xe_pmu_resume':
xe_gt_sriov_pf_monitor.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.o: in function `xe_pmu_suspend':
xe_gt_sriov_pf_policy.c:(.text+0x7d0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.o: in function `xe_pmu_resume':
xe_gt_sriov_pf_policy.c:(.text+0x7e0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_pf_service.o: in function `xe_pmu_suspend':
xe_gt_sriov_pf_service.c:(.text+0x1790): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_pf_service.o: in function `xe_pmu_resume':
xe_gt_sriov_pf_service.c:(.text+0x17a0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_lmtt.o: in function `xe_pmu_suspend':
xe_lmtt.c:(.text+0xd10): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_lmtt.o: in function `xe_pmu_resume':
xe_lmtt.c:(.text+0xd20): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_pci_sriov.o: in function `xe_pmu_suspend':
xe_pci_sriov.c:(.text+0x280): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_pci_sriov.o: in function `xe_pmu_resume':
xe_pci_sriov.c:(.text+0x290): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_sriov_pf.o: in function `xe_pmu_suspend':
xe_sriov_pf.c:(.text+0x40): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_sriov_pf.o: in function `xe_pmu_resume':
xe_sriov_pf.c:(.text+0x50): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/tests/xe_kunit_helpers.o: in function `xe_pmu_suspend':
xe_kunit_helpers.c:(.text+0x430): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/tests/xe_kunit_helpers.o: in function `xe_pmu_resume':
xe_kunit_helpers.c:(.text+0x440): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_debugfs.o: in function `xe_pmu_suspend':
xe_debugfs.c:(.text+0xd90): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_debugfs.o: in function `xe_pmu_resume':
xe_debugfs.c:(.text+0xda0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_debugfs.o: in function `xe_pmu_suspend':
xe_gt_debugfs.c:(.text+0x8a0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_debugfs.o: in function `xe_pmu_resume':
xe_gt_debugfs.c:(.text+0x8b0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_vf_debugfs.o: in function `xe_pmu_suspend':
xe_gt_sriov_vf_debugfs.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_vf_debugfs.o: in function `xe_pmu_resume':
xe_gt_sriov_vf_debugfs.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_stats.o: in function `xe_pmu_suspend':
xe_gt_stats.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_stats.o: in function `xe_pmu_resume':
xe_gt_stats.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_guc_debugfs.o: in function `xe_pmu_suspend':
xe_guc_debugfs.c:(.text+0x160): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_guc_debugfs.o: in function `xe_pmu_resume':
xe_guc_debugfs.c:(.text+0x170): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_huc_debugfs.o: in function `xe_pmu_suspend':
xe_huc_debugfs.c:(.text+0xb0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_huc_debugfs.o: in function `xe_pmu_resume':
xe_huc_debugfs.c:(.text+0xc0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_uc_debugfs.o: in function `xe_pmu_suspend':
xe_uc_debugfs.c:(.text+0x0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_uc_debugfs.o: in function `xe_pmu_resume':
xe_uc_debugfs.c:(.text+0x10): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.o: in function `xe_pmu_suspend':
xe_gt_sriov_pf_debugfs.c:(.text+0x1320): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.o: in function `xe_pmu_resume':
xe_gt_sriov_pf_debugfs.c:(.text+0x1330): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/tests/xe_pci_test.o: in function `xe_pmu_suspend':
xe_pci_test.c:(.text+0x1c0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/tests/xe_pci_test.o: in function `xe_pmu_resume':
xe_pci_test.c:(.text+0x1d0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/tests/xe_rtp_test.o: in function `xe_pmu_suspend':
xe_rtp_test.c:(.text+0x8c0): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/tests/xe_rtp_test.o: in function `xe_pmu_resume':
xe_rtp_test.c:(.text+0x8d0): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
ld: drivers/gpu/drm/xe/tests/xe_wa_test.o: in function `xe_pmu_suspend':
xe_wa_test.c:(.text+0x640): multiple definition of `xe_pmu_suspend'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x60): first defined here
ld: drivers/gpu/drm/xe/tests/xe_wa_test.o: in function `xe_pmu_resume':
xe_wa_test.c:(.text+0x650): multiple definition of `xe_pmu_resume'; drivers/gpu/drm/xe/xe_bb.o:xe_bb.c:(.text+0x70): first defined here
make[3]: *** [../scripts/Makefile.vmlinux_o:62: vmlinux.o] Error 1
make[2]: *** [/kernel/Makefile:1138: vmlinux_o] Error 2
make[1]: *** [/kernel/Makefile:224: __sub-make] Error 2
make: *** [Makefile:224: __sub-make] Error 2

+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel