From: Damien Lespiau Subject: [edid-decode] Finish the list of 3D layouts 3D_Structure_ALL can code for Date: Fri, 20 Sep 2013 12:03:39 +0100 Message-ID: <1379675019-10171-1-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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: ajax@redhat.com Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Signed-off-by: Damien Lespiau --- edid-decode.c | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/edid-decode.c b/edid-decode.c index bf0c3da..d3e3118 100644 --- a/edid-decode.c +++ b/edid-decode.c @@ -829,12 +829,26 @@ cea_hdmi_block(unsigned char *x) if (len_3d) { if (formats) { + /* 3D_Structure_ALL_15..8 */ + if (x[9 + b] & 0x80) + printf(" 3D: Side-by-side (half, quincunx)\n"); if (x[9 + b] & 0x01) - printf(" Side-by-side 3D supported\n"); + printf(" 3D: Side-by-side (half, horizontal)\n"); + /* 3D_Structure_ALL_7..0 */ if (x[10 + b] & 0x40) - printf(" Top-and-bottom 3D supported\n"); + printf(" 3D: Top-and-bottom\n"); + if (x[10 + b] & 0x20) + printf(" 3D: L + depth + gfx + gfx-depth\n"); + if (x[10 + b] & 0x10) + printf(" 3D: L + depth\n"); + if (x[10 + b] & 0x08) + printf(" 3D: Side-by-side (full)\n"); + if (x[10 + b] & 0x04) + printf(" 3D: Line-alternative\n"); + if (x[10 + b] & 0x02) + printf(" 3D: Field-alternative\n"); if (x[10 + b] & 0x01) - printf(" Frame-packing 3D supported\n"); + printf(" 3D: Frame-packing\n"); b += 2; } if (mask) { -- 1.8.3.1