From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jani Nikula Subject: [IGT PATCH] intel_bios_reader: make edp block decode match kernel Date: Tue, 6 May 2014 14:27:23 +0300 Message-ID: <1399375643-8675-1-git-send-email-jani.nikula@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id 0ECE26E304 for ; Tue, 6 May 2014 04:27:25 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org Cc: jani.nikula@intel.com List-Id: intel-gfx@lists.freedesktop.org All the somewhat recent VBT specs and the kernel have different format for the eDP block than what the tool decodes. What the tool does *may* be correct for really old VBT, but I have no specs or other reference to suppor this. Just do what the kernel does, that's what we're interested in anyway. Signed-off-by: Jani Nikula --- tools/intel_bios.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/intel_bios.h b/tools/intel_bios.h index 128502039c66..832c580dd084 100644 --- a/tools/intel_bios.h +++ b/tools/intel_bios.h @@ -590,8 +590,11 @@ struct edp_link_params { struct bdb_edp { struct edp_power_seq power_seqs[16]; uint32_t color_depth; - uint32_t sdrrs_msa_timing_delay; struct edp_link_params link_params[16]; + uint32_t sdrrs_msa_timing_delay; + + uint16_t edp_s3d_feature; + uint16_t edp_t3_optimization; } __attribute__ ((packed)); /* -- 1.9.1