Skip to content

Commit 01b887c

Browse files
committed
drm/i915: add some registers need for displayport MST support.
These are just from the Haswell spec. Reviewed-by: Todd Previte <tprevite@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent e7c3634 commit 01b887c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

drivers/gpu/drm/i915/i915_reg.h

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5815,6 +5815,7 @@ enum punit_power_well {
58155815
#define TRANS_DDI_EDP_INPUT_A_ONOFF (4<<12)
58165816
#define TRANS_DDI_EDP_INPUT_B_ONOFF (5<<12)
58175817
#define TRANS_DDI_EDP_INPUT_C_ONOFF (6<<12)
5818+
#define TRANS_DDI_DP_VC_PAYLOAD_ALLOC (1<<8)
58185819
#define TRANS_DDI_BFI_ENABLE (1<<4)
58195820

58205821
/* DisplayPort Transport Control */
@@ -5824,6 +5825,7 @@ enum punit_power_well {
58245825
#define DP_TP_CTL_ENABLE (1<<31)
58255826
#define DP_TP_CTL_MODE_SST (0<<27)
58265827
#define DP_TP_CTL_MODE_MST (1<<27)
5828+
#define DP_TP_CTL_FORCE_ACT (1<<25)
58275829
#define DP_TP_CTL_ENHANCED_FRAME_ENABLE (1<<18)
58285830
#define DP_TP_CTL_FDI_AUTOTRAIN (1<<15)
58295831
#define DP_TP_CTL_LINK_TRAIN_MASK (7<<8)
@@ -5838,8 +5840,13 @@ enum punit_power_well {
58385840
#define DP_TP_STATUS_A 0x64044
58395841
#define DP_TP_STATUS_B 0x64144
58405842
#define DP_TP_STATUS(port) _PORT(port, DP_TP_STATUS_A, DP_TP_STATUS_B)
5841-
#define DP_TP_STATUS_IDLE_DONE (1<<25)
5842-
#define DP_TP_STATUS_AUTOTRAIN_DONE (1<<12)
5843+
#define DP_TP_STATUS_IDLE_DONE (1<<25)
5844+
#define DP_TP_STATUS_ACT_SENT (1<<24)
5845+
#define DP_TP_STATUS_MODE_STATUS_MST (1<<23)
5846+
#define DP_TP_STATUS_AUTOTRAIN_DONE (1<<12)
5847+
#define DP_TP_STATUS_PAYLOAD_MAPPING_VC2 (3 << 8)
5848+
#define DP_TP_STATUS_PAYLOAD_MAPPING_VC1 (3 << 4)
5849+
#define DP_TP_STATUS_PAYLOAD_MAPPING_VC0 (3 << 0)
58435850

58445851
/* DDI Buffer Control */
58455852
#define DDI_BUF_CTL_A 0x64000

0 commit comments

Comments
 (0)