[Intel-gfx] [PATCH i-g-t 3/3] tools/intel_bios_reader: Add MIPI device type

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Fri Sep 11 06:14:32 PDT 2015


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Decode the MIPI [sic] device type.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 tools/intel_bios.h        | 1 +
 tools/intel_bios_reader.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tools/intel_bios.h b/tools/intel_bios.h
index a97797f..6135a2b 100644
--- a/tools/intel_bios.h
+++ b/tools/intel_bios.h
@@ -197,6 +197,7 @@ struct bdb_general_features {
 #define DEVICE_TYPE_HDMI_DVI		0x60d2
 #define DEVICE_TYPE_DVI			0x68d2
 #define DEVICE_TYPE_eDP			0x78C6
+#define DEVICE_TYPE_MIPI		0x7cc2
 
 #define DEVICE_CFG_NONE		0x00
 #define DEVICE_CFG_12BIT_DVOB	0x01
diff --git a/tools/intel_bios_reader.c b/tools/intel_bios_reader.c
index 459b547..e308eaa 100644
--- a/tools/intel_bios_reader.c
+++ b/tools/intel_bios_reader.c
@@ -239,6 +239,7 @@ static const struct {
 	{ DEVICE_TYPE_HDMI_DVI, "HDMI/DVI" },
 	{ DEVICE_TYPE_DVI, "DVI" },
 	{ DEVICE_TYPE_eDP, "eDP" },
+	{ DEVICE_TYPE_MIPI, "MIPI" },
 };
 static const int num_child_device_types =
 	sizeof(child_device_types) / sizeof(child_device_types[0]);
-- 
2.4.6



More information about the Intel-gfx mailing list