public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH] HAX: drm/i915: Disable GuC submission on DG1
@ 2022-02-28 16:00 Thomas Hellström
  2022-02-28 22:50 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
  2022-03-01  8:30 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Hellström @ 2022-02-28 16:00 UTC (permalink / raw)
  To: intel-gfx

This is just to try to repro the execlist selftest failure I'm seeing on
my local DG1 with GuC submission disabled.

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
---
 drivers/gpu/drm/i915/gt/uc/intel_uc.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc.c b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
index da199aa6989f..563913fad35b 100644
--- a/drivers/gpu/drm/i915/gt/uc/intel_uc.c
+++ b/drivers/gpu/drm/i915/gt/uc/intel_uc.c
@@ -41,6 +41,11 @@ static void uc_expand_default_options(struct intel_uc *uc)
 		return;
 	}
 
+	if (IS_DG1(i915)) {
+		i915->params.enable_guc = ENABLE_GUC_LOAD_HUC;
+		return;
+	}
+
 	/* Default: enable HuC authentication and GuC submission */
 	i915->params.enable_guc = ENABLE_GUC_LOAD_HUC | ENABLE_GUC_SUBMISSION;
 }
-- 
2.34.1


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

end of thread, other threads:[~2022-03-01  8:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-28 16:00 [Intel-gfx] [PATCH] HAX: drm/i915: Disable GuC submission on DG1 Thomas Hellström
2022-02-28 22:50 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2022-03-01  8:30 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

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