[Intel-gfx] [i-g-t PATCH 2/5] intel_bios_reader: check mipi sequence block version

Jani Nikula jani.nikula at intel.com
Mon Dec 21 07:05:53 PST 2015


Bail out on v3+, we don't support that just yet.

Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 tools/intel_bios_reader.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/intel_bios_reader.c b/tools/intel_bios_reader.c
index e308eaa081d6..09ca50d44a77 100644
--- a/tools/intel_bios_reader.c
+++ b/tools/intel_bios_reader.c
@@ -1036,6 +1036,11 @@ static void dump_mipi_sequence(const struct bdb_block *block)
 		return;
 	}
 
+	printf("\tSequence block version v%u\n", sequence->version);
+
+	if (sequence->version >= 3)
+		return;
+
 	block_size = get_blocksize(sequence);
 
 	/*
-- 
2.1.4



More information about the Intel-gfx mailing list