@@ -66,6 +66,18 @@ static void quirk_increase_ddi_disabled_time(struct intel_display *display)
6666 drm_info (display -> drm , "Applying Increase DDI Disabled quirk\n" );
6767}
6868
69+ /*
70+ * In some cases, the firmware might not set the lane count to 4 (for example,
71+ * when booting in some dual GPU Macs with the dGPU as the default GPU), this
72+ * quirk is used to force it as otherwise it might not be possible to compute a
73+ * valid link configuration.
74+ */
75+ static void quirk_ddi_a_force_4_lanes (struct intel_display * display )
76+ {
77+ intel_set_quirk (display , QUIRK_DDI_A_FORCE_4_LANES );
78+ drm_info (display -> drm , "Applying DDI A Forced 4 Lanes quirk\n" );
79+ }
80+
6981static void quirk_no_pps_backlight_power_hook (struct intel_display * display )
7082{
7183 intel_set_quirk (display , QUIRK_NO_PPS_BACKLIGHT_POWER_HOOK );
@@ -240,6 +252,9 @@ static struct intel_quirk intel_quirks[] = {
240252
241253 /* Dell XPS 13 7390 2-in-1 */
242254 { 0x8a52 , 0x1028 , 0x08b0 , quirk_edp_limit_rate_hbr2 },
255+
256+ /* Apple MacBookPro15,1 */
257+ { 0x3e9b , 0x106b , 0x0176 , quirk_ddi_a_force_4_lanes },
243258};
244259
245260static const struct intel_dpcd_quirk intel_dpcd_quirks [] = {
0 commit comments