From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [Intel-gfx] [PATCH 1/3] drm: Add an "expose 3d modes" property Date: Sat, 29 Sep 2012 10:01:27 +0100 Message-ID: <453bf0$5tf5lk@azsmga001.ch.intel.com> References: <1348771268-3436-1-git-send-email-damien.lespiau@gmail.com> <1348771268-3436-2-git-send-email-damien.lespiau@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1348771268-3436-2-git-send-email-damien.lespiau@gmail.com> 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: Damien Lespiau , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Thu, 27 Sep 2012 19:41:06 +0100, Damien Lespiau wrote: > From: Damien Lespiau > > The "expose 3D modes" property can be attached to connectors to allow > user space to indicate it can deal with 3D modes and that the drm driver > should expose those 3D modes. > > Signed-off-by: Damien Lespiau > --- > diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h > index bfacf0d..34372cb 100644 > --- a/include/drm/drm_crtc.h > +++ b/include/drm/drm_crtc.h > @@ -578,6 +578,8 @@ struct drm_connector { > /* requested DPMS state */ > int dpms; > > + int expose_3d_modes; Looking at the surrounding code, this should be moved up and called bool stereo_allowed; -Chris -- Chris Wilson, Intel Open Source Technology Centre