Skip to contentSkip to conversation

drm/amd/include: Add USB_C_TYPE to atom_encoder_cap_defs

PATCH In review [email protected] 2 participants 2 messages Apr 16, 2019 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/include: Add USB_C_TYPE to atom_encoder_cap_defs

From: Leo Li <[email protected]>

This is needed by DC to support EDID emulation on USB-C ports.

CC Samson Tam <[email protected]>
CC Harry Wentland <[email protected]>
CC Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/include/atomfirmware.h | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/include/atomfirmware.h +1 -0
index 08769b4..d3075ad 100644
@@ -718,6 +718,7 @@ enum atom_encoder_caps_def
   ATOM_ENCODER_CAP_RECORD_HBR2_EN               =0x02,         // DP1.2 HBR2 setting is qualified and HBR2 can be enabled 
   ATOM_ENCODER_CAP_RECORD_HDMI6Gbps_EN          =0x04,         // HDMI2.0 6Gbps enable or not. 
   ATOM_ENCODER_CAP_RECORD_HBR3_EN               =0x08,         // DP1.3 HBR3 is supported by board. 
+  ATOM_ENCODER_CAP_RECORD_USB_C_TYPE            =0x100,        // the DP connector is a USB-C type.
 };
 
 struct  atom_encoder_caps_record
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1555430378-29979-1-git-send-email-sunpeng.li-5C7GfCeVMHo@public.gmane.org

Reviewed-by Alex Deucher
#2 lore raw
Quoted 10 lines

-----Original Message-----
From: [email protected] <[email protected]>
Sent: Tuesday, April 16, 2019 12:00 PM
To: [email protected]
Cc: Li, Sun peng (Leo) <[email protected]>; Tam, Samson <[email protected]>; Wentland, Harry <[email protected]>; Deucher, Alexander <[email protected]>
Subject: [PATCH] drm/amd/include: Add USB_C_TYPE to atom_encoder_cap_defs

Quoted 8 lines

From: Leo Li <[email protected]>

This is needed by DC to support EDID emulation on USB-C ports.

CC Samson Tam <[email protected]>
CC Harry Wentland <[email protected]>
CC Alex Deucher <[email protected]>
Quoted 20 lines
---
 drivers/gpu/drm/amd/include/atomfirmware.h | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/include/atomfirmware.h +0 -0
index 08769b4..d3075ad 100644
@@ -718,6 +718,7 @@ enum atom_encoder_caps_def
   ATOM_ENCODER_CAP_RECORD_HBR2_EN               =0x02,         // DP1.2 HBR2

setting is qualified and HBR2 can be enabled
ATOM_ENCODER_CAP_RECORD_HDMI6Gbps_EN =0x04, //
HDMI2.0 6Gbps enable or not.
ATOM_ENCODER_CAP_RECORD_HBR3_EN =0x08, // DP1.3 HBR3
is supported by board.
+ ATOM_ENCODER_CAP_RECORD_USB_C_TYPE =0x100, // the DP
connector is a USB-C type.
};

Quoted 3 lines

struct atom_encoder_caps_record
--
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx