Skip to content

Commit a6315ec

Browse files
committed
drm/dp_mst: Add HBLANK expansion quirk for Synaptics MST hubs
Add a quirk for Synaptics MST hubs, which require a workaround - at leat on i915 - for some modes, on which the hub applies HBLANK expansion. These modes will only work by enabling DSC decompression for them, a follow-up patch will do this in i915. v2: - Fix the quirk name in its DocBook description. Cc: Lyude Paul <[email protected]> Cc: [email protected] Reviewed-by: Stanislav Lisovskiy <[email protected]> Acked-by: Maxime Ripard <[email protected]> Reviewed-by: Lyude Paul <[email protected]> Signed-off-by: Imre Deak <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent b348150 commit a6315ec

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

drivers/gpu/drm/display/drm_dp_helper.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2242,6 +2242,8 @@ static const struct dpcd_quirk dpcd_quirk_list[] = {
22422242
{ OUI(0x00, 0x00, 0x00), DEVICE_ID('C', 'H', '7', '5', '1', '1'), false, BIT(DP_DPCD_QUIRK_NO_SINK_COUNT) },
22432243
/* Synaptics DP1.4 MST hubs can support DSC without virtual DPCD */
22442244
{ OUI(0x90, 0xCC, 0x24), DEVICE_ID_ANY, true, BIT(DP_DPCD_QUIRK_DSC_WITHOUT_VIRTUAL_DPCD) },
2245+
/* Synaptics DP1.4 MST hubs require DSC for some modes on which it applies HBLANK expansion. */
2246+
{ OUI(0x90, 0xCC, 0x24), DEVICE_ID_ANY, true, BIT(DP_DPCD_QUIRK_HBLANK_EXPANSION_REQUIRES_DSC) },
22452247
/* Apple MacBookPro 2017 15 inch eDP Retina panel reports too low DP_MAX_LINK_RATE */
22462248
{ OUI(0x00, 0x10, 0xfa), DEVICE_ID(101, 68, 21, 101, 98, 97), false, BIT(DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS) },
22472249
};

include/drm/display/drm_dp_helper.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,13 @@ enum drm_dp_quirk {
632632
* the DP_MAX_LINK_RATE register reporting a lower max multiplier.
633633
*/
634634
DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS,
635+
/**
636+
* @DP_DPCD_QUIRK_HBLANK_EXPANSION_REQUIRES_DSC:
637+
*
638+
* The device applies HBLANK expansion for some modes, but this
639+
* requires enabling DSC.
640+
*/
641+
DP_DPCD_QUIRK_HBLANK_EXPANSION_REQUIRES_DSC,
635642
};
636643

637644
/**

0 commit comments

Comments
 (0)