lkml.org 
[lkml]   [2016]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH] drm/vc4: Return -EBUSY if there's already a pending flip event.
Date
From: Robert Foss <robert.foss@collabora.com>


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 the original submission wasn't addressed
to the apparopriate recipients.

Robert Foss (1):
drm/vc4: Return -EBUSY if there's already a pending flip event.

drivers/gpu/drm/vc4/vc4_crtc.c | 6 ++++++
drivers/gpu/drm/vc4/vc4_drv.h | 1 +
drivers/gpu/drm/vc4/vc4_kms.c | 20 ++++++++++++++++++--
3 files changed, 25 insertions(+), 2 deletions(-)

--
2.5.0

\
 
 \ /
  Last update: 2016-05-02 21:41    [W:0.150 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site