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)
commit3dce2aca02929f180ab66171b333fa48fe485a03
treeb3eb2b237e8cb9575d99a59055ce8e2a1e7eb6c5
parent3f765a341798ebd4e0ece7cce34399a8fd4a7f9f
drm/i915/gvt: Remove bogus retry around i915_wait_request

commit 8f1117abb408 ("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: 8f1117abb408 ("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