All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/guc: Request max GT freq during resume
@ 2024-05-31 21:42 Vinay Belgaumkar
  2024-05-31 21:49 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Vinay Belgaumkar @ 2024-05-31 21:42 UTC (permalink / raw)
  To: intel-xe; +Cc: Vinay Belgaumkar

We already request max freq in the load path, moving it
to __xe_guc_upload will ensure this speeds up GuC load in
the resume path as well.

Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
---
 drivers/gpu/drm/xe/xe_guc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c
index f7886c00af01..63e1b685bd4f 100644
--- a/drivers/gpu/drm/xe/xe_guc.c
+++ b/drivers/gpu/drm/xe/xe_guc.c
@@ -694,6 +694,9 @@ static int __xe_guc_upload(struct xe_guc *guc)
 {
 	int ret;
 
+	/* Raise GT freq to speed up HuC/GuC load */
+	xe_guc_pc_init_early(&guc->pc);
+
 	guc_write_params(guc);
 	guc_prepare_xfer(guc);
 
@@ -779,9 +782,6 @@ int xe_guc_min_load_for_hwconfig(struct xe_guc *guc)
 
 	xe_guc_ads_populate_minimal(&guc->ads);
 
-	/* Raise GT freq to speed up HuC/GuC load */
-	xe_guc_pc_init_early(&guc->pc);
-
 	ret = __xe_guc_upload(guc);
 	if (ret)
 		return ret;
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-06-03 19:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-31 21:42 [PATCH] drm/xe/guc: Request max GT freq during resume Vinay Belgaumkar
2024-05-31 21:49 ` ✓ CI.Patch_applied: success for " Patchwork
2024-05-31 21:49 ` ✓ CI.checkpatch: " Patchwork
2024-05-31 21:50 ` ✓ CI.KUnit: " Patchwork
2024-05-31 22:02 ` ✓ CI.Build: " Patchwork
2024-05-31 22:02 ` ✗ CI.Hooks: failure " Patchwork
2024-05-31 22:04 ` ✓ CI.checksparse: success " Patchwork
2024-05-31 22:27 ` ✓ CI.BAT: " Patchwork
2024-05-31 23:50 ` ✗ CI.FULL: failure " Patchwork
2024-06-03 15:28 ` [PATCH] " Michal Wajdeczko
2024-06-03 19:06   ` Belgaumkar, Vinay
2024-06-03 19:17     ` Michal Wajdeczko
2024-06-03 19:26       ` Belgaumkar, Vinay

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.