lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1462217122-13071-1-git-send-email-robert.foss@collabora.com>
Date:	Mon,  2 May 2016 15:25:21 -0400
From:	robert.foss@...labora.com
To:	daniel.vetter@...ll.ch, airlied@...ux.ie, eric@...olt.net,
	aniel.vetter@...ll.ch, fengguang.wu@...el.com,
	maarten.lankhorst@...ux.intel.com, julia.lawall@...6.fr,
	alexander.deucher@....com, daniels@...labora.com,
	derekf@....samsung.com, varadgautam@...il.com
Cc:	dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
	Robert Foss <robert.foss@...labora.com>
Subject: [PATCH] drm/vc4: Return -EBUSY if there's already a pending flip event.

From: Robert Foss <robert.foss@...labora.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ