From: Damien Lespiau Subject: Re: [PATCH 6/9] drm: Add a DRM_CAP_STEREO_3D capability for SET_CAP?ioctl Date: Mon, 16 Sep 2013 18:39:47 +0100 Message-ID: <20130916173947.GB29268@strange.amr.corp.intel.com> References: <1378493845-476-1-git-send-email-damien.lespiau@intel.com> <1378493845-476-7-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 2305EE6649 for ; Mon, 16 Sep 2013 10:39:49 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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: Joakim Plate Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Fri, Sep 13, 2013 at 04:04:02PM +0000, Joakim Plate wrote: > David Herrmann gmail.com> writes: > > > > > So just to be clear: Whenever a mode is present with 3D flags, it is > > also a valid non-3D mode? Is this guaranteed? > > > > Well.. Some HDTV's will when they receive a frame packed mode (1080*2+45=2205 > pixels high) . Display just the top part. The bottom part of that is not on > screen. I changed this part of the API so there's no mixing the 2d mode structure with the 3d flags. Now (v4 of the series) userspace receives one struct drm_mode_modeinfo for the 2D mode (like before) and one struct drm_mode_modeinfo for each 3D layout (and the rest of the timings are from the "underlying 2D mode" that userspace can use in conjonction with the layout bit to compute the stereo framebufer layout) HTH, -- Damien