drm/msm/atomic: fix issue with gnome-shell wayland
authorRob Clark <robdclark@gmail.com>
Mon, 12 Jan 2015 21:11:16 +0000 (16:11 -0500)
committerRob Clark <robdclark@gmail.com>
Sun, 1 Feb 2015 20:32:47 +0000 (15:32 -0500)
commitbe7a7b8997a1c041ce42843e8290082fdb4f11f5
tree9652b6c8052f9c6e8f7b8c33e90d301cc7b6470c
parente172d10a9c4acc69bb07cbe9142ded2df791ff1f
drm/msm/atomic: fix issue with gnome-shell wayland

The gnome-shell wayland compositor triggers a setcrtc with an fb that is
still being rendered, triggering the call to _wait_fence_interruptable().
But a NULL timeout means "don't wait, return -EBUSY if not ready", which
in turn causes the setcrtc to fail.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_atomic.c