Stereo 3D modes support v2

Damien Lespiau damien.lespiau at gmail.com
Thu Sep 27 11:41:05 PDT 2012


This series is the second revison of:
  http://lists.freedesktop.org/archives/intel-gfx/2012-September/020457.html

It changes the way 3d modes are exposed to user-space:

- An "expose 3D modes" property can be installed on connectors that support
  stereo 3D
- User space can indicate through that property if it wants to receive the
  list of modes with the supported 3D layouts information
- In that case, the EDID parsing code adds the list of supported 3D layouts
  in mode->flags
- When setting a 3D mode, user space can select which layout it wants by
  clearing the list of supported layouts and setting the one it has selected
  (still through mode->flags).

The rationale behind all that is:

- Setting the 3d mode should atomic and not 1/ set the mode, 2/ then set
  the 3d layout through a connector property.
- To do that, mode->flags can be used, but current user space would not
  do the correct thing with those extra added flags, hence the need for that
  knob on the connector.

Updated kernel and intel-gpu-tools patches follow. This time, I've split the
patch adding the test images (i-g-t) in a separate commit and it won't be sent
to the mailing list. This commit can be grabbed from:
http://cgit.freedesktop.org/~damien/intel-gpu-tools/commit/?h=stereo-3d

-- 
Damien
	


More information about the dri-devel mailing list