diff options
author | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2024-03-18 14:01:40 -0400 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2024-03-19 13:07:10 -0400 |
commit | 2920c2cbbdd0a7f7a59cf16a7f09ede2dd5a2903 (patch) | |
tree | e9b783cf450d0efafec02fc2da8a79db378127c8 /drivers/gpu/drm/xe/xe_gt.c | |
parent | bd415be89e8d63347142b7b5591787a63286ee7e (diff) | |
download | linux-stable-2920c2cbbdd0a7f7a59cf16a7f09ede2dd5a2903.tar.gz linux-stable-2920c2cbbdd0a7f7a59cf16a7f09ede2dd5a2903.tar.bz2 linux-stable-2920c2cbbdd0a7f7a59cf16a7f09ede2dd5a2903.zip |
drm/xe: Convert gt suspend/resume messages to debug
Let's be quieter on production configuration and let's also
print the entry point of the gt suspend when debug messages
are enabled.
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240318180141.267458-1-rodrigo.vivi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_gt.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_gt.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_gt.c b/drivers/gpu/drm/xe/xe_gt.c index 85408e7a932b..cfa5da900461 100644 --- a/drivers/gpu/drm/xe/xe_gt.c +++ b/drivers/gpu/drm/xe/xe_gt.c @@ -722,6 +722,7 @@ int xe_gt_suspend(struct xe_gt *gt) { int err; + xe_gt_dbg(gt, "suspending\n"); xe_gt_sanitize(gt); err = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); @@ -733,7 +734,7 @@ int xe_gt_suspend(struct xe_gt *gt) goto err_force_wake; XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL)); - xe_gt_info(gt, "suspended\n"); + xe_gt_dbg(gt, "suspended\n"); return 0; @@ -749,6 +750,7 @@ int xe_gt_resume(struct xe_gt *gt) { int err; + xe_gt_dbg(gt, "resuming\n"); err = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); if (err) goto err_msg; @@ -758,7 +760,7 @@ int xe_gt_resume(struct xe_gt *gt) goto err_force_wake; XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL)); - xe_gt_info(gt, "resumed\n"); + xe_gt_dbg(gt, "resumed\n"); return 0; |