All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH] drm/xe : Fix GT looping for standalone media
@ 2023-06-13  9:42 Riana Tauro
  2023-06-13 10:33 ` [Intel-xe] ✓ CI.Patch_applied: success for " Patchwork
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Riana Tauro @ 2023-06-13  9:42 UTC (permalink / raw)
  To: intel-xe; +Cc: matthew.d.roper

Currently the id of primary gt is set using gt_count and not
the media gt.

set gt->info.id of media gt using gt_count

Signed-off-by: Riana Tauro <riana.tauro@intel.com>
---
 drivers/gpu/drm/xe/xe_pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index bd1f59b49928..2991cf5365d5 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -590,7 +590,7 @@ static int xe_info_init(struct xe_device *xe,
 		 * up with platforms that support both together.
 		 */
 		drm_WARN_ON(&xe->drm, id != 0);
-		gt->info.id = 1;
+		gt->info.id = xe->info.gt_count++;
 	}
 
 	return 0;
-- 
2.40.0


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

end of thread, other threads:[~2023-06-15  4:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-13  9:42 [Intel-xe] [PATCH] drm/xe : Fix GT looping for standalone media Riana Tauro
2023-06-13 10:33 ` [Intel-xe] ✓ CI.Patch_applied: success for " Patchwork
2023-06-13 10:33 ` [Intel-xe] ✓ CI.checkpatch: " Patchwork
2023-06-13 10:34 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-06-13 10:38 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-06-13 10:38 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-06-13 10:39 ` [Intel-xe] ✓ CI.checksparse: " Patchwork
2023-06-13 11:08 ` [Intel-xe] ○ CI.BAT: info " Patchwork
2023-06-13 18:58 ` [Intel-xe] [PATCH] " Matthew Brost
2023-06-13 21:39 ` Matt Roper
2023-06-14 17:54   ` Matt Roper
2023-06-15  4:42     ` Riana Tauro

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.