[RFC][PATCH 0/10] Atomic modesetting v2
Adam Jackson
ajax at redhat.com
Wed Jun 27 10:11:00 PDT 2012
On Wed, 2012-06-27 at 09:48 -0700, Jesse Barnes wrote:
> The other thing I'm worried about with atomic mode setting is handling
> the legacy case properly. We'll still need to handle apps that want to
> change one CRTC at a time without altering the state of other CRTCs.
Fortunately that's not true, you can flag-day it (per drm device even,
if we want). If the first thing userspace asks for is atomic modeset
then you simply disallow subsequent non-atomic modesets, and the
reverse. Userspace code will need to grow atomic support anyway, so can
simply treat -EINVAL from trying it as meaning "no kernel support,
revert to the older thing".
This does mean you have to update all of userspace to do the new call
instead of the old one, but that's fine, there's only a handful of
clients for this API.
- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120627/061eb723/attachment.pgp>
More information about the dri-devel
mailing list