<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - CPU iowait higher when run the GPU multi decoding threads"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109830#c16">Comment # 16</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - CPU iowait higher when run the GPU multi decoding threads"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109830">bug 109830</a>
from <span class="vcard"><a class="email" href="mailto:owen.zhang@intel.com" title="Owen Zhang <owen.zhang@intel.com>"> <span class="fn">Owen Zhang</span></a>
</span></b>
<pre>(In reply to Tvrtko Ursulin from <a href="show_bug.cgi?id=109830#c13">comment #13</a>)
<span class="quote">> Also, are you sure you changed io_schedule_timeout to schedule_timeout in
> i915_request_wait, deployed the correct kernel for testing?</span >
yes, the following is my changes:
diff --git a/drivers/gpu/drm/i915/i915_request.c
b/drivers/gpu/drm/i915/i915_request.c
index 5c2c93c..21950c1 100644
--- a/drivers/gpu/drm/i915/i915_request.c
+++ b/drivers/gpu/drm/i915/i915_request.c
@@ -1330,7 +1330,7 @@ long i915_request_wait(struct i915_request *rq,
goto complete;
}
- timeout = io_schedule_timeout(timeout);
+ timeout = schedule_timeout(timeout);
} while (1);
GEM_BUG_ON(!intel_wait_has_seqno(&wait));
@@ -1363,7 +1363,7 @@ long i915_request_wait(struct i915_request *rq,
break;
}
- timeout = io_schedule_timeout(timeout);
+ timeout = schedule_timeout(timeout);
if (intel_wait_complete(&wait) &&
intel_wait_check_request(&wait, rq))
[media@localhost linux-4.19]$</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 the assignee for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>