drm/i915/bios: amend child device flags based on intel_vbt_decode
authorJani Nikula <jani.nikula@intel.com>
Fri, 25 Aug 2017 14:11:22 +0000 (17:11 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 28 Aug 2017 08:04:05 +0000 (11:04 +0300)
Copy over some fields defined in the intel_vbt_decode tool. No
functional changes.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/bce6907fa24d80643b33d58091d7675ff3b4f30e.1503670197.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_vbt_defs.h

index 14623748b3887a01c2e746a01f2c52aa7ccaeb88..6a5d2a804d52ac5b97c1c8b35b4a3d34d4fa4fd7 100644 (file)
@@ -380,7 +380,11 @@ struct child_device_config {
                } __packed;
        } __packed;
 
-       u8 capabilities;
+       u8 pipe_cap:2;
+       u8 sdvo_stall:1;                                        /* 158 */
+       u8 hpd_status:2;
+       u8 integrated_encoder:1;
+       u8 capabilities_reserved:2;
        u8 dvo_wiring; /* See DEVICE_WIRE_* above */
 
        union {
@@ -390,7 +394,8 @@ struct child_device_config {
 
        u16 extended_type;
        u8 dvo_function;
-       u8 flags2;                                              /* 195 */
+       u8 dp_usb_type_c:1;                                     /* 195 */
+       u8 flags2_reserved:7;                                   /* 195 */
        u8 dp_gpio_index;                                       /* 195 */
        u16 dp_gpio_pin_num;                                    /* 195 */
        u8 dp_iboost_level:4;                                   /* 196 */