From patchwork Fri Mar 13 18:39:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ville Syrjala X-Patchwork-Id: 210627 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79D67C10DCE for ; Fri, 13 Mar 2020 18:39:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5C28C20663 for ; Fri, 13 Mar 2020 18:39:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726605AbgCMSj2 (ORCPT ); Fri, 13 Mar 2020 14:39:28 -0400 Received: from mga05.intel.com ([192.55.52.43]:11667 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726557AbgCMSj2 (ORCPT ); Fri, 13 Mar 2020 14:39:28 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Mar 2020 11:39:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,549,1574150400"; d="scan'208";a="246763975" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.174]) by orsmga006.jf.intel.com with SMTP; 13 Mar 2020 11:39:25 -0700 Received: by stinkbox (sSMTP sendmail emulation); Fri, 13 Mar 2020 20:39:24 +0200 From: Ville Syrjala To: linux-media@vger.kernel.org Cc: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= Subject: [PATCH] edid-decode: Fix decoing of DispID physical enclosure bit Date: Fri, 13 Mar 2020 20:39:24 +0200 Message-Id: <20200313183924.10820-1-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Ville Syrjälä The interpretation of the physucal enclosure bit is backwards. Fix it to match the spec. Signed-off-by: Ville Syrjälä --- parse-displayid-block.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parse-displayid-block.cpp b/parse-displayid-block.cpp index e6c8d95dcaa1..b436f343fa63 100644 --- a/parse-displayid-block.cpp +++ b/parse-displayid-block.cpp @@ -913,9 +913,9 @@ static void parse_displayid_tiled_display_topology(const unsigned char *x, bool default: printf("Reserved\n"); break; } if (caps & 0x80) - printf(" Tiled display consists of multiple physical display enclosures\n"); - else printf(" Tiled display consists of a single physical display enclosure\n"); + else + printf(" Tiled display consists of multiple physical display enclosures\n"); printf(" Num horizontal tiles: %u Num vertical tiles: %u\n", num_h_tile + 1, num_v_tile + 1); printf(" Tile location: %u, %u\n", tile_h_location, tile_v_location);