mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: robert.foss@collabora.com
To: daniel.vetter@ffwll.ch, airlied@linux.ie, eric@anholt.net,
	aniel.vetter@ffwll.ch, fengguang.wu@intel.com,
	maarten.lankhorst@linux.intel.com, julia.lawall@lip6.fr,
	alexander.deucher@amd.com, daniels@collabora.com,
	derekf@osg.samsung.com, varadgautam@gmail.com
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	Robert Foss <robert.foss@collabora.com>
Subject: [PATCH] drm/vc4: Return -EBUSY if there's already a pending flip event.
Date: Mon,  2 May 2016 15:25:21 -0400	[thread overview]
Message-ID: <1462217122-13071-1-git-send-email-robert.foss@collabora.com> (raw)

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

             reply	other threads:[~2016-05-02 19:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-02 19:25 robert.foss [this message]
2016-05-02 19:25 ` robert.foss
2016-05-03  0:57   ` Eric Anholt
2016-05-03 14:20     ` Robert Foss
2016-05-03 17:11       ` Eric Anholt
2016-05-03  7:11   ` Maarten Lankhorst
  -- strict thread matches above, loose matches on Subject: below --
2016-04-26 17:47 robert.foss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1462217122-13071-1-git-send-email-robert.foss@collabora.com \
    --to=robert.foss@collabora.com \
    --cc=airlied@linux.ie \
    --cc=alexander.deucher@amd.com \
    --cc=aniel.vetter@ffwll.ch \
    --cc=daniel.vetter@ffwll.ch \
    --cc=daniels@collabora.com \
    --cc=derekf@osg.samsung.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=eric@anholt.net \
    --cc=fengguang.wu@intel.com \
    --cc=julia.lawall@lip6.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=varadgautam@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome