[Bug 109830] CPU iowait higher when run the GPU multi decoding threads

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 8 08:17:32 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=109830

--- Comment #16 from Owen Zhang <owen.zhang at intel.com> ---
(In reply to Tvrtko Ursulin from comment #13)
> Also, are you sure you changed io_schedule_timeout to schedule_timeout in
> i915_request_wait, deployed the correct kernel for testing?

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 at localhost linux-4.19]$

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20190308/4f521f99/attachment.html>


More information about the intel-gfx-bugs mailing list