]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Remove bogus retry around i915_wait_request
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Mar 2017 22:08:08 +0000 (22:08 +0000)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 17 Mar 2017 08:46:45 +0000 (16:46 +0800)
commit2b21dde9ab1975d6ba2b5558e06ebd975944edb6
treeb3eb2b237e8cb9575d99a59055ce8e2a1e7eb6c5
parent42d49fcd264ef89191f57868ca2b812e180270c7
drm/i915/gvt: Remove bogus retry around i915_wait_request

commit 00eeb016c4ae ("drm/i915/gvt: handle workload lifecycle properly")
includes some nonsense to retry a indefinite wait - i915_wait_request()
does not return until the request is completed when used from an
uninterruptible context.

Fixes: 00eeb016c4ae ("drm/i915/gvt: handle workload lifecycle properly"
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chuanxiao Dong <chuanxiao.dong@intel.com>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Zhi Wang <zhi.a.wang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/scheduler.c