All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [IGT PATCH] intel_bios_reader: make edp block decode match kernel
Date: Tue,  6 May 2014 14:27:23 +0300	[thread overview]
Message-ID: <1399375643-8675-1-git-send-email-jani.nikula@intel.com> (raw)

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 <jani.nikula@intel.com>
---
 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

             reply	other threads:[~2014-05-06 11:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-06 11:27 Jani Nikula [this message]
2014-05-06 15:58 ` [IGT PATCH] intel_bios_reader: make edp block decode match kernel Damien Lespiau
2014-05-06 16:04   ` Jani Nikula
2014-05-06 16:06     ` Damien Lespiau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1399375643-8675-1-git-send-email-jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.