diff mbox series

HAX: drm/i915: Disable GuC submission on DG1

Message ID 20220228160045.361314-1-thomas.hellstrom@linux.intel.com (mailing list archive)
State New, archived
Headers show
Series HAX: drm/i915: Disable GuC submission on DG1 | expand

Commit Message

Thomas Hellström Feb. 28, 2022, 4 p.m. UTC
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 mbox series

Patch

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;
 }