Skip to contentSkip to conversation

drm/i915/bdw: Always issue a force restore

PATCH Superseded Ben Widawsky 1 participant 1 message May 28, 2014

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915/bdw: Always issue a force restore

The PDPs seem to get screwed up otherwise, specifically PDP0. I am not really clear why this is required, it just works with full PPGTT.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78891
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78934
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78935
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78936
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78937

---
 drivers/gpu/drm/i915/i915_gem_context.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/i915/i915_gem_context.c +1 -0
index 3ffe308..8c3109b 100644
@@ -574,6 +574,7 @@ mi_set_context(struct intel_engine_cs *ring,
 			MI_MM_SPACE_GTT |
 			MI_SAVE_EXT_STATE_EN |
 			MI_RESTORE_EXT_STATE_EN |
+			MI_FORCE_RESTORE |
 			hw_flags);
 	/*
 	 * w/a: MI_SET_CONTEXT must always be followed by MI_NOOP
Signature · 1 line
1.9.3