Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fixup! drm/xe/oa: Add OAR support
@ 2024-07-18  5:48 Ohad Sharabi
  2024-07-18  6:25 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Ohad Sharabi @ 2024-07-18  5:48 UTC (permalink / raw)
  To: intel-xe; +Cc: osharabi, ashutosh.dixit, obitton

The current implementation uses static CS codes instead of common.

Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
---
 drivers/gpu/drm/xe/xe_oa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
index 6d69f751bf78..3ef92eb8fbb1 100644
--- a/drivers/gpu/drm/xe/xe_oa.c
+++ b/drivers/gpu/drm/xe/xe_oa.c
@@ -641,7 +641,7 @@ static void xe_oa_store_flex(struct xe_oa_stream *stream, struct xe_lrc *lrc,
 	u32 offset = xe_bo_ggtt_addr(lrc->bo);
 
 	do {
-		bb->cs[bb->len++] = MI_STORE_DATA_IMM | BIT(22) /* GGTT */ | 2;
+		bb->cs[bb->len++] = MI_STORE_DATA_IMM | MI_SDI_GGTT | MI_SDI_NUM_DW(1);
 		bb->cs[bb->len++] = offset + flex->offset * sizeof(u32);
 		bb->cs[bb->len++] = 0;
 		bb->cs[bb->len++] = flex->value;
-- 
2.34.1


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

end of thread, other threads:[~2024-07-18 14:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-18  5:48 [PATCH] fixup! drm/xe/oa: Add OAR support Ohad Sharabi
2024-07-18  6:25 ` ✓ CI.Patch_applied: success for " Patchwork
2024-07-18  6:25 ` ✓ CI.checkpatch: " Patchwork
2024-07-18  6:28 ` ✓ CI.KUnit: " Patchwork
2024-07-18  6:40 ` ✓ CI.Build: " Patchwork
2024-07-18  6:42 ` ✓ CI.Hooks: " Patchwork
2024-07-18  6:44 ` ✓ CI.checksparse: " Patchwork
2024-07-18  7:04 ` ✓ CI.BAT: " Patchwork
2024-07-18  9:30 ` ✗ CI.FULL: failure " Patchwork
2024-07-18 14:22 ` [PATCH] " Dixit, Ashutosh

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