[Intel-gfx] [PATCH] drm/i915: ignore. Disable sagv for testing

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Mon Apr 1 08:20:42 UTC 2019


This is to test if sagv affects rotation test failures.
---
 drivers/gpu/drm/i915/intel_display.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 8576a7f..c073b91 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -13522,8 +13522,9 @@ static void intel_atomic_commit_tail(struct drm_atomic_state *state)
 	if (intel_state->modeset)
 		intel_verify_planes(intel_state);
 
-	if (intel_state->modeset && intel_can_enable_sagv(state))
-		intel_enable_sagv(dev_priv);
+/*	if (intel_state->modeset && intel_can_enable_sagv(state))
+		intel_enable_sagv(dev_priv); */
+	intel_disable_sagv(dev_priv);
 
 	drm_atomic_helper_commit_hw_done(state);
 
-- 
2.7.4



More information about the Intel-gfx mailing list