> -----Original Message----- > From: sunpeng.li@xxxxxxx <sunpeng.li@xxxxxxx> > Sent: Tuesday, April 16, 2019 12:00 PM > To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx > Cc: Li, Sun peng (Leo) <Sunpeng.Li@xxxxxxx>; Tam, Samson > <Samson.Tam@xxxxxxx>; Wentland, Harry <Harry.Wentland@xxxxxxx>; > Deucher, Alexander <Alexander.Deucher@xxxxxxx> > Subject: [PATCH] drm/amd/include: Add USB_C_TYPE to > atom_encoder_cap_defs > > From: Leo Li <sunpeng.li@xxxxxxx> > > This is needed by DC to support EDID emulation on USB-C ports. > > CC: Samson Tam <Samson.Tam@xxxxxxx> > CC: Harry Wentland <harry.wentland@xxxxxxx> > CC: Alex Deucher <alexander.deucher@xxxxxxx> > Signed-off-by: Leo Li <sunpeng.li@xxxxxxx> Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx> > --- > drivers/gpu/drm/amd/include/atomfirmware.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/amd/include/atomfirmware.h > b/drivers/gpu/drm/amd/include/atomfirmware.h > index 08769b4..d3075ad 100644 > --- a/drivers/gpu/drm/amd/include/atomfirmware.h > +++ b/drivers/gpu/drm/amd/include/atomfirmware.h > @@ -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 > -- > 2.7.4 _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx