]> Gentwo Git Trees - linux/.git/commit
drm/xe/guc: Add test for G2G communications
authorJohn Harrison <John.C.Harrison@Intel.com>
Wed, 10 Sep 2025 21:02:35 +0000 (14:02 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Mon, 15 Sep 2025 16:53:26 +0000 (09:53 -0700)
commit456b32c9c1bc6c99310163281edb53eefd51330c
treeee8748641649ebae8af305c2a5a990dadc7879b2
parent537773db91c2765898eee0521d5f03acae5a545f
drm/xe/guc: Add test for G2G communications

Add a test for sending messages from every GuC to every other GuC to
test G2G communications.

Note that, being a debug only feature, the test interface only exists
in pre-production builds of the GuC firmware.

v2: Fix 'default' case to actually use the driver's registration code
as well as allocation. Add comments explaining the different test
types. Fix (C) date and an assert. Review feedback from Daniele.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://lore.kernel.org/r/20250910210237.603576-5-John.C.Harrison@Intel.com
drivers/gpu/drm/xe/abi/guc_actions_abi.h
drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c [new file with mode: 0644]
drivers/gpu/drm/xe/tests/xe_live_test_mod.c
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_guc.c
drivers/gpu/drm/xe/xe_guc.h
drivers/gpu/drm/xe/xe_guc_ct.c
drivers/gpu/drm/xe/xe_guc_fwif.h