[PATCH] drm/vc4: Return -EBUSY if there's already a pending flip event.

2016-04-26 Thread robert . foss
From: Robert Foss As per the docs, atomic_commit should return -EBUSY "if an asycnhronous update is requested and there is an earlier update pending". This patch is based on the rockchip patch below: http://article.gmane.org/gmane.comp.video.dri.devel/151678 Signed-off-by: Robert Foss ---

[PATCH] drm/vc4: Return -EBUSY if there's already a pending flip event.

2016-05-02 Thread robert . foss
From: Robert Foss As per the docs, atomic_commit should return -EBUSY "if an asycnhronous update is requested and there is an earlier update pending". Signed-off-by: Robert Foss --- drivers/gpu/drm/vc4/vc4_crtc.c | 6 ++ drivers/gpu/drm/vc4/vc4_drv.h | 1 + drivers/gpu/drm/vc4/vc4_kms.c

[PATCH] drm/vc4: Return -EBUSY if there's already a pending flip event.

2016-05-02 Thread robert . foss
From: Robert Foss As per the docs, atomic_commit should return -EBUSY "if an asycnhronous update is requested and there is an earlier update pending". This patch is based on the rockchip patch below: http://article.gmane.org/gmane.comp.video.dri.devel/151678 Note: This patch was resent as

Re: [PATCH] drm/vc4: Return -EBUSY if there's already a pending flip event.

2016-05-02 Thread Eric Anholt
robert.f...@collabora.com writes: > From: Robert Foss > > As per the docs, atomic_commit should return -EBUSY "if an asycnhronous > update is requested and there is an earlier update pending". Note: docs cited here are drm_crtc.h, and the whole quote is: * - -EBUSY, if an asynchronous

Re: [PATCH] drm/vc4: Return -EBUSY if there's already a pending flip event.

2016-05-03 Thread Maarten Lankhorst
Op 02-05-16 om 21:25 schreef robert.f...@collabora.com: > From: Robert Foss > > As per the docs, atomic_commit should return -EBUSY "if an asycnhronous > update is requested and there is an earlier update pending". > > Signed-off-by: Robert Foss > --- > drivers/gpu/drm/vc4/vc4_crtc.c | 6 ++

Re: [PATCH] drm/vc4: Return -EBUSY if there's already a pending flip event.

2016-05-03 Thread Robert Foss
On 05/02/2016 08:57 PM, Eric Anholt wrote: robert.f...@collabora.com writes: From: Robert Foss As per the docs, atomic_commit should return -EBUSY "if an asycnhronous update is requested and there is an earlier update pending". Note: docs cited here are drm_crtc.h, and the whole quote is:

Re: [PATCH] drm/vc4: Return -EBUSY if there's already a pending flip event.

2016-05-03 Thread Eric Anholt
Robert Foss writes: > On 05/02/2016 08:57 PM, Eric Anholt wrote: >> robert.f...@collabora.com writes: >> >>> From: Robert Foss >>> >>> As per the docs, atomic_commit should return -EBUSY "if an asycnhronous >>> update is requested and there is an earlier update pending". >> >> Note: docs cited h