All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH] drm/i915: Don't show client busyness in fdinfo with GuC submission
@ 2022-04-13 22:57 Ashutosh Dixit
  2022-04-14  4:39 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
                   ` (10 more replies)
  0 siblings, 11 replies; 17+ messages in thread
From: Ashutosh Dixit @ 2022-04-13 22:57 UTC (permalink / raw)
  To: intel-gfx

Client busyness is not available when GuC submission is used. Don't show it
in fdinfo till this is supported by GuC.

Bug: https://gitlab.freedesktop.org/drm/intel/-/issues/5564
Fixes: 055634e4b62f ("drm/i915: Expose client engine utilisation via fdinfo")
Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Cc: John Harrison <john.c.harrison@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 drivers/gpu/drm/i915/i915_drm_client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_drm_client.c b/drivers/gpu/drm/i915/i915_drm_client.c
index e539f6b23060..e7fae4a326ab 100644
--- a/drivers/gpu/drm/i915/i915_drm_client.c
+++ b/drivers/gpu/drm/i915/i915_drm_client.c
@@ -145,7 +145,7 @@ void i915_drm_client_fdinfo(struct seq_file *m, struct file *f)
 		   PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));
 	seq_printf(m, "drm-client-id:\t%u\n", client->id);
 
-	if (GRAPHICS_VER(i915) < 8)
+	if (GRAPHICS_VER(i915) < 8 || intel_guc_submission_is_used(&i915->gt0.uc.guc))
 		return;
 
 	for (i = 0; i < ARRAY_SIZE(uabi_class_names); i++)
-- 
2.34.1


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

end of thread, other threads:[~2022-04-27 18:24 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-13 22:57 [Intel-gfx] [PATCH] drm/i915: Don't show client busyness in fdinfo with GuC submission Ashutosh Dixit
2022-04-14  4:39 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
2022-04-14 18:05 ` [Intel-gfx] [PATCH] " Ceraolo Spurio, Daniele
2022-04-14 18:37 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Don't show client busyness in fdinfo with GuC submission (rev2) Patchwork
2022-04-14 21:24 ` [Intel-gfx] [PATCH v2] drm/i915: Don't show engine information in fdinfo with GuC submission Ashutosh Dixit
2022-04-15  0:14   ` Ceraolo Spurio, Daniele
2022-04-14 22:31 ` [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Don't show client busyness in fdinfo with GuC submission (rev2) Patchwork
2022-04-14 23:57 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Don't show client busyness in fdinfo with GuC submission (rev3) Patchwork
2022-04-15  0:18 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-04-15  0:25 ` [Intel-gfx] [PATCH v3] drm/i915: Don't show engine information in fdinfo with GuC submission Ashutosh Dixit
2022-04-27  9:15   ` Tvrtko Ursulin
2022-04-27 15:43     ` Dixit, Ashutosh
2022-04-27 17:16       ` Tvrtko Ursulin
2022-04-27 18:24         ` Dixit, Ashutosh
2022-04-15  2:02 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Don't show client busyness in fdinfo with GuC submission (rev4) Patchwork
2022-04-15  2:22 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-04-15  8:51 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

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.