From patchwork Fri Sep 20 11:03:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lespiau, Damien" X-Patchwork-Id: 2916181 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4FD56BFF05 for ; Fri, 20 Sep 2013 11:04:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 476D220303 for ; Fri, 20 Sep 2013 11:03:59 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 38B2E202E8 for ; Fri, 20 Sep 2013 11:03:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1CB2EE6A66 for ; Fri, 20 Sep 2013 04:03:58 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 47ABAE6205; Fri, 20 Sep 2013 04:03:42 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 20 Sep 2013 04:03:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.90,943,1371106800"; d="scan'208";a="406357041" Received: from unknown (HELO strange.amr.corp.intel.com) ([10.255.14.231]) by orsmga002.jf.intel.com with ESMTP; 20 Sep 2013 04:03:40 -0700 From: Damien Lespiau To: ajax@redhat.com 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> X-Mailer: git-send-email 1.8.3.1 Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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) {