Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/guc: Fix arguments passed to relay G2H handlers
@ 2024-04-19 15:03 Michal Wajdeczko
  2024-04-19 22:49 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (15 more replies)
  0 siblings, 16 replies; 18+ messages in thread
From: Michal Wajdeczko @ 2024-04-19 15:03 UTC (permalink / raw)
  To: intel-xe

By default CT code was passing just payload of the G2H event
message, while Relay code expects full G2H message including
HXG header which contains DATA0 field. Fix that.

Fixes: 26d4481ac23f ("drm/xe/guc: Start handling GuC Relay event messages")
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
 drivers/gpu/drm/xe/xe_guc_ct.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_guc_ct.c b/drivers/gpu/drm/xe/xe_guc_ct.c
index ac9324338ccf..8ac819a7061e 100644
--- a/drivers/gpu/drm/xe/xe_guc_ct.c
+++ b/drivers/gpu/drm/xe/xe_guc_ct.c
@@ -1058,10 +1058,10 @@ static int process_g2h_msg(struct xe_guc_ct *ct, u32 *msg, u32 len)
 							   adj_len);
 		break;
 	case XE_GUC_ACTION_GUC2PF_RELAY_FROM_VF:
-		ret = xe_guc_relay_process_guc2pf(&guc->relay, payload, adj_len);
+		ret = xe_guc_relay_process_guc2pf(&guc->relay, hxg, hxg_len);
 		break;
 	case XE_GUC_ACTION_GUC2VF_RELAY_FROM_PF:
-		ret = xe_guc_relay_process_guc2vf(&guc->relay, payload, adj_len);
+		ret = xe_guc_relay_process_guc2vf(&guc->relay, hxg, hxg_len);
 		break;
 	case GUC_ACTION_GUC2PF_VF_STATE_NOTIFY:
 		ret = xe_gt_sriov_pf_control_process_guc2pf(gt, hxg, hxg_len);
-- 
2.43.0


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

end of thread, other threads:[~2024-04-23 13:48 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-19 15:03 [PATCH] drm/xe/guc: Fix arguments passed to relay G2H handlers Michal Wajdeczko
2024-04-19 22:49 ` ✓ CI.Patch_applied: success for " Patchwork
2024-04-19 22:49 ` ✓ CI.checkpatch: " Patchwork
2024-04-19 22:55 ` ✓ CI.KUnit: " Patchwork
2024-04-19 23:07 ` ✓ CI.Build: " Patchwork
2024-04-19 23:14 ` ✓ CI.Hooks: " Patchwork
2024-04-19 23:15 ` ✓ CI.checksparse: " Patchwork
2024-04-19 23:41 ` ✗ CI.BAT: failure " Patchwork
2024-04-22 17:28   ` Michal Wajdeczko
2024-04-20 17:33 ` ✓ CI.Patch_applied: success for drm/xe/guc: Fix arguments passed to relay G2H handlers (rev2) Patchwork
2024-04-20 17:33 ` ✓ CI.checkpatch: " Patchwork
2024-04-20 17:34 ` ✓ CI.KUnit: " Patchwork
2024-04-20 17:53 ` ✓ CI.Build: " Patchwork
2024-04-20 18:11 ` ✓ CI.Hooks: " Patchwork
2024-04-20 18:18 ` ✓ CI.checksparse: " Patchwork
2024-04-21 17:04 ` ✓ CI.FULL: success for drm/xe/guc: Fix arguments passed to relay G2H handlers Patchwork
2024-04-22 17:11 ` [PATCH] " Piotr Piórkowski
2024-04-23 13:47 ` ✗ CI.Patch_applied: failure for drm/xe/guc: Fix arguments passed to relay G2H handlers (rev3) Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox