]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc2e6bb7744bd81ddda2afeb2da4f9e0bf5b22e62
tree9652b6c8052f9c6e8f7b8c33e90d301cc7b6470c
parentccdefe76dde6e21f101bc68654676647494b4590
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