Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/guc: Allow MMIO communication even if CTB is enabled
@ 2024-01-12 13:22 Michal Wajdeczko
  2024-01-12 14:28 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Michal Wajdeczko @ 2024-01-12 13:22 UTC (permalink / raw)
  To: intel-xe

GuC is still able to communicate over MMIO even after we enable CTB
communication channel.  While there are only few limited cases when
we might want to use MMIO, we shouldn't block that with assert.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
---
 drivers/gpu/drm/xe/xe_guc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c
index 235d27b17ff9..d4db0a34adbf 100644
--- a/drivers/gpu/drm/xe/xe_guc.c
+++ b/drivers/gpu/drm/xe/xe_guc.c
@@ -674,7 +674,6 @@ int xe_guc_mmio_send_recv(struct xe_guc *guc, const u32 *request,
 
 	BUILD_BUG_ON(VF_SW_FLAG_COUNT != MED_VF_SW_FLAG_COUNT);
 
-	xe_assert(xe, !guc->ct.enabled);
 	xe_assert(xe, len);
 	xe_assert(xe, len <= VF_SW_FLAG_COUNT);
 	xe_assert(xe, len <= MED_VF_SW_FLAG_COUNT);

base-commit: 7a20187068bed91b523795a18219e570f1e84eb1
-- 
2.25.1


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

end of thread, other threads:[~2024-01-12 16:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-12 13:22 [PATCH] drm/xe/guc: Allow MMIO communication even if CTB is enabled Michal Wajdeczko
2024-01-12 14:28 ` ✓ CI.Patch_applied: success for " Patchwork
2024-01-12 14:28 ` ✓ CI.checkpatch: " Patchwork
2024-01-12 14:29 ` ✓ CI.KUnit: " Patchwork
2024-01-12 14:36 ` ✓ CI.Build: " Patchwork
2024-01-12 14:37 ` ✓ CI.Hooks: " Patchwork
2024-01-12 14:38 ` ✓ CI.checksparse: " Patchwork
2024-01-12 15:01 ` ✓ CI.BAT: " Patchwork
2024-01-12 16:25 ` [PATCH] " Matthew Brost

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