dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* Stereo 3D modes support v2
@ 2012-09-27 18:41 Damien Lespiau
  2012-09-27 18:41 ` [PATCH 1/3] drm: Add an "expose 3d modes" property Damien Lespiau
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Damien Lespiau @ 2012-09-27 18:41 UTC (permalink / raw)
  To: intel-gfx, dri-devel

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
	

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [RFC] Stereo 3D modes support
@ 2012-09-12 17:47 Damien Lespiau
  2012-09-12 17:47 ` [PATCH 3/3] drm/i915: Add HDMI vendor info frame support Damien Lespiau
  0 siblings, 1 reply; 11+ messages in thread
From: Damien Lespiau @ 2012-09-12 17:47 UTC (permalink / raw)
  To: intel-gfx, dri-devel

Hi,

This series introduces stereo 3D modes support and is split in 3 chunks:

1. 3 kernel patches to parse the 3D_present flag of the HDMI CEA vendor block,
   to expose 3D formats flags in modes and to add a new property on connectors
   supporting stereo 3D,

2. Sync the new mode flags in libdrm,

3. Use testdisplay from intel-gpu-tools to test the Top Bottom and Frame
   Packing modes,

A few notes:

- An (edited) extract of HDMI 1.4a for 3D formats is available publicly:
   http://www.hdmi.org/manufacturer/specification.aspx

- I tried to come up with a way to not disrupt current user space with extra 3D
  modes. The 3D formats (the different ways of laying out buffers with left and
  right frames) that a mode supports are indicated with flags in mode.flags.
  This also means that no extra mode is added to the mode list, the format flags
  are added on already exposed 2D modes.

- For now, only the 3D_present flags of the CEA HDMI block is being parsed,
  only exposing the then "mandatory" 3D formats (see HDMI 1.4a 3D spec)

- When scanning out a 3D framebuffer, the "select 3D mode" property attached to
  a connector can be used to tell the driver to send the HDMI vendor infoframes
  with the 3D format details.

- 3D test images are available at:
    http://www.quantumdata.com/apps/3D/sample_BMP.asp

- These patches have taken some inspiration from previous work of Armin Reese
  <armin.c.reese@intel.com> and Sateesh Kavuri.

Comments, suggestions and reviews are greatly appreciated!

--
Damien

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-10-04 13:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-27 18:41 Stereo 3D modes support v2 Damien Lespiau
2012-09-27 18:41 ` [PATCH 1/3] drm: Add an "expose 3d modes" property Damien Lespiau
2012-09-29  0:45   ` [Intel-gfx] " Rodrigo Vivi
2012-09-29  9:01   ` Chris Wilson
2012-10-04 13:35   ` Daniel Vetter
2012-10-04 13:56     ` Imre Deak
2012-09-27 18:41 ` [PATCH 2/3] drm: Parse the HDMI cea vendor block for 3D present Damien Lespiau
2012-09-29  0:46   ` Rodrigo Vivi
2012-09-27 18:41 ` [PATCH 3/3] drm/i915: Add HDMI vendor info frame support Damien Lespiau
2012-09-29  0:50   ` [Intel-gfx] " Rodrigo Vivi
  -- strict thread matches above, loose matches on Subject: below --
2012-09-12 17:47 [RFC] Stereo 3D modes support Damien Lespiau
2012-09-12 17:47 ` [PATCH 3/3] drm/i915: Add HDMI vendor info frame support Damien Lespiau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).