drm/i915: Bump timeout for wait_for_engines()
authorChris Wilson <[email protected]>
Mon, 11 Dec 2017 19:41:34 +0000 (19:41 +0000)
committerChris Wilson <[email protected]>
Tue, 12 Dec 2017 21:07:41 +0000 (21:07 +0000)
commitee42c00e1cb0a421fcf6d502d1ab919e6459ae48
tree618007b23190ae842725d7aa0c4f95063b8de138
parent1875fe7ba15020a0d45856d16c17e57ebcbc0bec
drm/i915: Bump timeout for wait_for_engines()

Extract the timeout we use in i915_gem_idle_work_handler() and reuse it
for wait_for_engines() in i915_gem_wait_for_idle(). It too has the same
problem in sometimes having to wait for an extended period before the HW
settles, so make use of the same timeout.

References: 5427f207852d ("drm/i915: Bump wait-times for the final CS interrupt before parking")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c