<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#c5">Comment # 5</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:rafael.ristovski@gmail.com" title="Rafael Ristovski <rafael.ristovski@gmail.com>"> <span class="fn">Rafael Ristovski</span></a>
</span></b>
<pre>(In reply to Chris Wilson from <a href="show_bug.cgi?id=94980#c4">comment #4</a>)
<span class="quote">> 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;</span >
Can confirm this fixes the issue.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>