<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [HSW xf86-video-intel] 2D acceleration slows to a crawl from 4.4.6 -> 4.5"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94980#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [HSW xf86-video-intel] 2D acceleration slows to a crawl from 4.4.6 -> 4.5"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94980">bug 94980</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>Suggestion by Maarten:
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 36e7e29ea266..385095f725a8 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -13160,6 +13160,9 @@ static int intel_atomic_prepare_commit(struct
drm_device *dev,
}
for_each_crtc_in_state(state, crtc, crtc_state, i) {
+ if (state->legacy_cursor_update)
+ continue;
+
ret = intel_crtc_wait_for_pending_flips(crtc);
if (ret)
return ret;</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>