From: Adam Jackson Subject: Re: [RFC][PATCH 0/10] Atomic modesetting v2 Date: Wed, 27 Jun 2012 13:11:00 -0400 Message-ID: <1340817060.12912.45.camel@atropine> References: <1340792652-21813-1-git-send-email-ville.syrjala@linux.intel.com> <20120627094826.0f27c10c@jbarnes-desktop> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1216943543==" Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by gabe.freedesktop.org (Postfix) with ESMTP id B31C19E92A for ; Wed, 27 Jun 2012 10:11:02 -0700 (PDT) In-Reply-To: <20120627094826.0f27c10c@jbarnes-desktop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Jesse Barnes Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1216943543== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-HTkCs0zq85SyMN3ZbzKi" --=-HTkCs0zq85SyMN3ZbzKi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 --=-HTkCs0zq85SyMN3ZbzKi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk/rPqQACgkQW4otUKDs0NMBqACeOskbuRegi9mXKSJdeul1padh YlIAnRu+4j+/WbsXNn20253PxAjHHZmX =wb8g -----END PGP SIGNATURE----- --=-HTkCs0zq85SyMN3ZbzKi-- --===============1216943543== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1216943543==--