projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f109f2
)
drm/xe/throttle: Log throttle reasons
author
Raag Jadav
<raag.jadav@intel.com>
Fri, 29 Nov 2024 07:43:00 +0000
(13:13 +0530)
committer
Rodrigo Vivi
<rodrigo.vivi@intel.com>
Mon, 2 Dec 2024 17:07:28 +0000
(12:07 -0500)
Log throttle register MMIO reads which will be useful for debugging.
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Reviewed-by: Riana Tauro <riana.tauro@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20241129074300.1304068-1-raag.jadav@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_gt_throttle.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/xe/xe_gt_throttle.c
b/drivers/gpu/drm/xe/xe_gt_throttle.c
index 03b225364101219ef6df52122e0bc50db6cf8875..8db78d616b6f295f160e793192b8abd4d48890b3 100644
(file)
--- a/
drivers/gpu/drm/xe/xe_gt_throttle.c
+++ b/
drivers/gpu/drm/xe/xe_gt_throttle.c
@@
-8,6
+8,7
@@
#include <regs/xe_gt_regs.h>
#include "xe_device.h"
#include "xe_gt.h"
+#include "xe_gt_printk.h"
#include "xe_gt_sysfs.h"
#include "xe_gt_throttle.h"
#include "xe_mmio.h"
@@
-53,6
+54,7
@@
static u32 read_status(struct xe_gt *gt)
{
u32 status = xe_gt_throttle_get_limit_reasons(gt) & GT0_PERF_LIMIT_REASONS_MASK;
+ xe_gt_dbg(gt, "throttle reasons: 0x%08x\n", status);
return status;
}