[PATCH 6/9] drm: Add a DRM_CAP_STEREO_3D capability for SET_CAP?ioctl

Damien Lespiau damien.lespiau at intel.com
Mon Sep 16 10:39:47 PDT 2013


On Fri, Sep 13, 2013 at 04:04:02PM +0000, Joakim Plate wrote:
> David Herrmann <dh.herrmann <at> 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


More information about the dri-devel mailing list