From: Ville Syrjälä <[email protected]>

Decode the MIPI [sic] device type.

Signed-off-by: Ville Syrjälä <[email protected]>
---
 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

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to