summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_suspend.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-10-11 11:21:31 (GMT)
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-10-11 21:22:25 (GMT)
commitfbf49ea21bd4f2ed88d678f7fc8b34a7dd0a7460 (patch)
tree29689bcf81fb53f1f11d63f5fbe921e70fa2ceb5 /drivers/gpu/drm/i915/i915_suspend.c
parent4994aa8cc10177f620b096738be52eee8a181a9a (diff)
downloadlinux-fsl-qoriq-fbf49ea21bd4f2ed88d678f7fc8b34a7dd0a7460.tar.xz
drm/i915: Fix pipe off timeout handling for pre-gen4
The current pre-gen4 pipe off code might break out of the loop due to the timeout, but then the fail to print the warning. Refactor the code a bit to use wait_for() to avoid the problem, and that we also re-check the condition after the timeout has expired. v2: Use wait_for() Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_suspend.c')
0 files changed, 0 insertions, 0 deletions