DP Phy compliance auto test
Subsystems (6)
v4 cover DP Phy compliance auto test
Driver changes mainly to process the request coming from Test equipment as short pulse hpd interrupt to change link-pattern/v-swing/pre-emphasis Complete auto test suite takes much lesser time than manual run.
Overall design:
--------------
Automate test request will come to source device as HDP short pulse interrupt from test scope.
Read DPCD 0x201, Check for bit 1 for automated test request. If set continue and read DPCD 0x218.
Check for bit 3 for phy test pattern, If set continue. Get the requested test pattern through DPCD 0x248. Compute requested voltage swing level and pre-emphasis level from DPCD 0x206 and 0x207
Set signal level through vswing programming sequence. Write DDI_COMP_CTL and DDI_COMP_PATx as per requested pattern. Configure the link and write the new test pattern through DPCD.
High level patch description.
-----------------------------
patch 1: Align macro name as per DP spec..
patch 2: drm level api added to get/set test pattern as per vesa DP spec. This maybe useful for other driver so added in drm layer. patch 3: vswing/preemphasis adjustment calculation is needed during phy compliance request processing along with existing link training process, so moved the same function in intel_dp.c.
patch 4: Preparation for auto phy compliance test scope request. patch 5: Added debugfs entry for phy compliance.
patch 6: Register difnition of DP compliance register added. patch 7: This patch os mainly processing the request.
Complete phy compliance test suite executed and received positive result.
v1: Redesigned the code as per review feedback from Manasi on RFC.
v2: Addressed review comments from Manasi.
v3: Addressed review commnets from Harry, Ville, Jani.
v4: Had design closure and added fixes after complete test-run. (Thanks to Khaled/Manasi/Clint for fixes and test execution)
Animesh Manna (7):
drm/amd/display: Align macro name as per DP spec drm/dp: get/set phy compliance pattern drm/i915/dp: Made intel_dp_adjust_train() non-static. drm/i915/dp: Preparation for DP phy compliance auto test drm/i915/dp: Add debugfs entry for DP phy compliance drm/i915/dp: Register definition for DP compliance register drm/i915/dp: Program vswing, pre-emphasis, test-pattern
.../gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +- drivers/gpu/drm/drm_dp_helper.c | 94 +++++++++++ .../drm/i915/display/intel_display_debugfs.c | 12 +- .../drm/i915/display/intel_display_types.h | 1 + drivers/gpu/drm/i915/display/intel_dp.c | 159 ++++++++++++++++++ drivers/gpu/drm/i915/display/intel_dp.h | 1 + .../drm/i915/display/intel_dp_link_training.c | 9 +- .../drm/i915/display/intel_dp_link_training.h | 4 + drivers/gpu/drm/i915/i915_reg.h | 20 +++ include/drm/drm_dp_helper.h | 33 +++- 10 files changed, 327 insertions(+), 8 deletions(-)
Signature · 6 lines
2.24.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 1/7 drm/amd/display: Align macro name as per DP spec
[Why]:
Aligh with DP spec wanted to follow same naming convention.
[How]:
Changed the macro name of the dpcd address used for getting requested test-pattern.
--- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +- include/drm/drm_dp_helper.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +1 -1
@@ -2528,7 +2528,7 @@ static void dp_test_send_phy_test_pattern(struct dc_link *link)/* get phy test pattern and pattern parameters from DP receiver */ core_link_read_dpcd ( link, -DP_TEST_PHY_PATTERN , +DP_PHY_TEST_PATTERN , &dpcd_test_pattern.raw,sizeof (dpcd_test_pattern)); core_link_read_dpcd(
include/drm/drm_dp_helper.h +1 -1
@@ -701,7 +701,7 @@# define DP_TEST_CRC_SUPPORTED (1 << 5)# define DP_TEST_COUNT_MASK 0xf -#define DP_TEST_PHY_PATTERN 0x248 +#define DP_PHY_TEST_PATTERN 0x248#define DP_TEST_80BIT_CUSTOM_PATTERN_7_0 0x250#define DP_TEST_80BIT_CUSTOM_PATTERN_15_8 0x251#define DP_TEST_80BIT_CUSTOM_PATTERN_23_16 0x252
Signature · 6 lines
2.24.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v4 1/7] drm/amd/display: Align macro name as per DP spec
Quoted 11 lines · Animesh Manna
[Why]:
Aligh with DP spec wanted to follow same naming convention.[How]:
Changed the macro name of the dpcd address used for getting requested test-pattern.Cc Harry Wentland <[email protected]>Cc Alex Deucher <[email protected]>Reviewed-by Harry Wentland <[email protected]>Signed-off-by Animesh Manna <[email protected]>
Manasi
Quoted 38 lines
--- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +- include/drm/drm_dp_helper.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +1
-1@@ -2528,7 +2528,7 @@ static void dp_test_send_phy_test_pattern(struct dc_link *link)/* get phy test pattern and pattern parameters from DP receiver */ core_link_read_dpcd ( link, -DP_TEST_PHY_PATTERN , +DP_PHY_TEST_PATTERN , &dpcd_test_pattern.raw,sizeof (dpcd_test_pattern)); core_link_read_dpcd(include/drm/drm_dp_helper.h +1
-1@@ -701,7 +701,7 @@# define DP_TEST_CRC_SUPPORTED (1 << 5)# define DP_TEST_COUNT_MASK 0xf -#define DP_TEST_PHY_PATTERN 0x248 +#define DP_PHY_TEST_PATTERN 0x248#define DP_TEST_80BIT_CUSTOM_PATTERN_7_0 0x250#define DP_TEST_80BIT_CUSTOM_PATTERN_15_8 0x251#define DP_TEST_80BIT_CUSTOM_PATTERN_23_16 0x252Signature · 6 lines
2.24.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 2/7 drm/dp: get/set phy compliance pattern
In reply to Animesh MannaDuring phy compliance auto test mode source need to read requested test pattern from sink through DPCD. After processing the request source need to set the pattern. So set/get method added in drm layer as it is DP protocol.
v2: As per review feedback from Manasi on RFC version,
- added dp revision as function argument in set_phy_pattern api.
- used int for link_rate and u8 for lane_count to align with existing code.
v3: As per review feedback from Harry,
- used sizeof() instead of magic number.
- corrected kernel-doc for drm_dp_phy_test_params structure.
--- drivers/gpu/drm/drm_dp_helper.c | 94 +++++++++++++++++++++++++++++++++ include/drm/drm_dp_helper.h | 31 +++++++++++ 2 files changed, 125 insertions(+)
drivers/gpu/drm/drm_dp_helper.c +94 -0
@@ -1533,3 +1533,97 @@ int drm_dp_dsc_sink_supported_input_bpcs(const u8 dsc_dpcd[DP_DSC_RECEIVER_CAP_Sreturn num_bpc; }EXPORT_SYMBOL (drm_dp_dsc_sink_supported_input_bpcs); + +/** +* drm_dp_get_phy_test_pattern() - get the requested pattern from the sink. +* @aux: DisplayPort AUX channel +* @data: DP phy compliance test parameters. +* +* Returns 0 on success or a negative error code on failure. +*/ +int drm_dp_get_phy_test_pattern (struct drm_dp_aux *aux, +struct drm_dp_phy_test_params *data) +{ +int err; +u8 rate, lanes; + + err =drm_dp_dpcd_readb (aux,DP_TEST_LINK_RATE , &rate); +if (err <0 ) +return err; + data->link_rate =drm_dp_bw_code_to_link_rate (rate); + + err =drm_dp_dpcd_readb (aux,DP_TEST_LANE_COUNT , &lanes); +if (err <0 ) +return err; + data->num_lanes = lanes &DP_MAX_LANE_COUNT_MASK ; + +if (lanes &DP_ENHANCED_FRAME_CAP ) + data->enhanced_frame_cap = true; + + err =drm_dp_dpcd_readb (aux,DP_PHY_TEST_PATTERN , &data->phy_pattern); +if (err <0 ) +return err; + +switch (data->phy_pattern) { +case DP_PHY_TEST_PATTERN_80BIT_CUSTOM : + err =drm_dp_dpcd_read (aux,DP_TEST_80BIT_CUSTOM_PATTERN_7_0 , + &data->custom80,sizeof (data->custom80)); +if (err <0 ) +return err; + +break ; +case DP_PHY_TEST_PATTERN_CP2520 : + err =drm_dp_dpcd_read (aux,DP_TEST_HBR2_SCRAMBLER_RESET , + &data->hbr2_reset, +sizeof (data->hbr2_reset)); +if (err <0 ) +return err; + } + +return 0 ; +} +EXPORT_SYMBOL (drm_dp_get_phy_test_pattern); + +/** +* drm_dp_set_phy_test_pattern() - set the pattern to the sink. +* @aux: DisplayPort AUX channel +* @data: DP phy compliance test parameters. +* +* Returns 0 on success or a negative error code on failure. +*/ +int drm_dp_set_phy_test_pattern (struct drm_dp_aux *aux, +struct drm_dp_phy_test_params *data,u8 dp_rev) +{ +int err, i; +u8 link_config[2 ]; +u8 test_pattern; + + link_config[0 ] =drm_dp_link_rate_to_bw_code (data->link_rate); + link_config[1 ] = data->num_lanes; +if (data->enhanced_frame_cap) + link_config[1 ] |=DP_LANE_COUNT_ENHANCED_FRAME_EN ; + err =drm_dp_dpcd_write (aux,DP_LINK_BW_SET , link_config,2 ); +if (err <0 ) +return err; + + test_pattern = data->phy_pattern; +if (dp_rev <0x12 ) { + test_pattern = (test_pattern <<2 ) & +DP_LINK_QUAL_PATTERN_11_MASK ; + err =drm_dp_dpcd_writeb (aux,DP_TRAINING_PATTERN_SET , + test_pattern); +if (err <0 ) +return err; + }else { +for (i =0 ; i < data->num_lanes; i++) { + err =drm_dp_dpcd_writeb (aux, +DP_LINK_QUAL_LANE0_SET + i, + test_pattern); +if (err <0 ) +return err; + } + } + +return 0 ; +} +EXPORT_SYMBOL (drm_dp_set_phy_test_pattern);
include/drm/drm_dp_helper.h +31 -0
@@ -702,6 +702,15 @@# define DP_TEST_COUNT_MASK 0xf#define DP_PHY_TEST_PATTERN 0x248 +# define DP_PHY_TEST_PATTERN_SEL_MASK 0x7 +# define DP_PHY_TEST_PATTERN_NONE 0x0 +# define DP_PHY_TEST_PATTERN_D10_2 0x1 +# define DP_PHY_TEST_PATTERN_ERROR_COUNT 0x2 +# define DP_PHY_TEST_PATTERN_PRBS7 0x3 +# define DP_PHY_TEST_PATTERN_80BIT_CUSTOM 0x4 +# define DP_PHY_TEST_PATTERN_CP2520 0x5 + +#define DP_TEST_HBR2_SCRAMBLER_RESET 0x24A#define DP_TEST_80BIT_CUSTOM_PATTERN_7_0 0x250#define DP_TEST_80BIT_CUSTOM_PATTERN_15_8 0x251#define DP_TEST_80BIT_CUSTOM_PATTERN_23_16 0x252
@@ -1598,4 +1607,26 @@ static inline void drm_dp_cec_unset_edid(struct drm_dp_aux *aux)#endif +/** +* struct drm_dp_phy_test_params - DP Phy Compliance parameters +* @link_rate: Requested Link rate from DPCD 0x219 +* @num_lanes: Number of lanes requested by sing through DPCD 0x220 +* @phy_pattern: DP Phy test pattern from DPCD 0x248 +* @hb2_reset: DP HBR2_COMPLIANCE_SCRAMBLER_RESET from DCPD 0x24A and 0x24B +* @custom80: DP Test_80BIT_CUSTOM_PATTERN from DPCDs 0x250 through 0x259 +* @enhanced_frame_cap: flag for enhanced frame capability. +*/ +struct drm_dp_phy_test_params { +int link_rate; +u8 num_lanes; +u8 phy_pattern; +u8 hbr2_reset[2 ]; +u8 custom80[10 ]; +bool enhanced_frame_cap; +}; + +int drm_dp_get_phy_test_pattern (struct drm_dp_aux *aux, +struct drm_dp_phy_test_params *data); +int drm_dp_set_phy_test_pattern (struct drm_dp_aux *aux, +struct drm_dp_phy_test_params *data,u8 dp_rev);#endif /* _DRM_DP_HELPER_H_ */
Signature · 6 lines
2.24.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v4 2/7] drm/dp: get/set phy compliance pattern
Quoted 9 lines · Animesh Manna
During phy compliance auto test mode source need to read requested test pattern from sink through DPCD. After processing the request source need to set the pattern. So set/get method added in drm layer as it is DP protocol.
v2: As per review feedback from Manasi on RFC version,
- added dp revision as function argument inset_phy_patternapi.
- used int forlink_rateand u8 forlane_countto align with existing code.
Quoted 6 lines
v3: As per review feedback from Harry,
- usedsizeof()instead of magic number.
- corrected kernel-doc fordrm_dp_phy_test_paramsstructure.Reviewed-by Harry Wentland <[email protected]>Signed-off-by Animesh Manna <[email protected]>
Manasi
Quoted 161 lines
--- drivers/gpu/drm/drm_dp_helper.c | 94 +++++++++++++++++++++++++++++++++ include/drm/drm_dp_helper.h | 31 +++++++++++ 2 files changed, 125 insertions(+)drivers/gpu/drm/drm_dp_helper.c +94
-0@@ -1533,3 +1533,97 @@ int drm_dp_dsc_sink_supported_input_bpcs(const u8 dsc_dpcd[DP_DSC_RECEIVER_CAP_Sreturn num_bpc; }EXPORT_SYMBOL (drm_dp_dsc_sink_supported_input_bpcs); + +/** +* drm_dp_get_phy_test_pattern() - get the requested pattern from the sink. +* @aux: DisplayPort AUX channel +* @data: DP phy compliance test parameters. +* +* Returns 0 on success or a negative error code on failure. +*/ +int drm_dp_get_phy_test_pattern (struct drm_dp_aux *aux, +struct drm_dp_phy_test_params *data) +{ +int err; +u8 rate, lanes; + + err =drm_dp_dpcd_readb (aux,DP_TEST_LINK_RATE , &rate); +if (err <0 ) +return err; + data->link_rate =drm_dp_bw_code_to_link_rate (rate); + + err =drm_dp_dpcd_readb (aux,DP_TEST_LANE_COUNT , &lanes); +if (err <0 ) +return err; + data->num_lanes = lanes &DP_MAX_LANE_COUNT_MASK ; + +if (lanes &DP_ENHANCED_FRAME_CAP ) + data->enhanced_frame_cap = true; + + err =drm_dp_dpcd_readb (aux,DP_PHY_TEST_PATTERN , &data->phy_pattern); +if (err <0 ) +return err; + +switch (data->phy_pattern) { +case DP_PHY_TEST_PATTERN_80BIT_CUSTOM : + err =drm_dp_dpcd_read (aux,DP_TEST_80BIT_CUSTOM_PATTERN_7_0 , + &data->custom80,sizeof (data->custom80)); +if (err <0 ) +return err; + +break ; +case DP_PHY_TEST_PATTERN_CP2520 : + err =drm_dp_dpcd_read (aux,DP_TEST_HBR2_SCRAMBLER_RESET , + &data->hbr2_reset, +sizeof (data->hbr2_reset)); +if (err <0 ) +return err; + } + +return 0 ; +} +EXPORT_SYMBOL (drm_dp_get_phy_test_pattern); + +/** +* drm_dp_set_phy_test_pattern() - set the pattern to the sink. +* @aux: DisplayPort AUX channel +* @data: DP phy compliance test parameters. +* +* Returns 0 on success or a negative error code on failure. +*/ +int drm_dp_set_phy_test_pattern (struct drm_dp_aux *aux, +struct drm_dp_phy_test_params *data,u8 dp_rev) +{ +int err, i; +u8 link_config[2 ]; +u8 test_pattern; + + link_config[0 ] =drm_dp_link_rate_to_bw_code (data->link_rate); + link_config[1 ] = data->num_lanes; +if (data->enhanced_frame_cap) + link_config[1 ] |=DP_LANE_COUNT_ENHANCED_FRAME_EN ; + err =drm_dp_dpcd_write (aux,DP_LINK_BW_SET , link_config,2 ); +if (err <0 ) +return err; + + test_pattern = data->phy_pattern; +if (dp_rev <0x12 ) { + test_pattern = (test_pattern <<2 ) & +DP_LINK_QUAL_PATTERN_11_MASK ; + err =drm_dp_dpcd_writeb (aux,DP_TRAINING_PATTERN_SET , + test_pattern); +if (err <0 ) +return err; + }else { +for (i =0 ; i < data->num_lanes; i++) { + err =drm_dp_dpcd_writeb (aux, +DP_LINK_QUAL_LANE0_SET + i, + test_pattern); +if (err <0 ) +return err; + } + } + +return 0 ; +} +EXPORT_SYMBOL (drm_dp_set_phy_test_pattern);include/drm/drm_dp_helper.h +31
-0@@ -702,6 +702,15 @@# define DP_TEST_COUNT_MASK 0xf#define DP_PHY_TEST_PATTERN 0x248 +# define DP_PHY_TEST_PATTERN_SEL_MASK 0x7 +# define DP_PHY_TEST_PATTERN_NONE 0x0 +# define DP_PHY_TEST_PATTERN_D10_2 0x1 +# define DP_PHY_TEST_PATTERN_ERROR_COUNT 0x2 +# define DP_PHY_TEST_PATTERN_PRBS7 0x3 +# define DP_PHY_TEST_PATTERN_80BIT_CUSTOM 0x4 +# define DP_PHY_TEST_PATTERN_CP2520 0x5 + +#define DP_TEST_HBR2_SCRAMBLER_RESET 0x24A#define DP_TEST_80BIT_CUSTOM_PATTERN_7_0 0x250#define DP_TEST_80BIT_CUSTOM_PATTERN_15_8 0x251#define DP_TEST_80BIT_CUSTOM_PATTERN_23_16 0x252@@ -1598,4 +1607,26 @@ static inline void drm_dp_cec_unset_edid(struct drm_dp_aux *aux)#endif +/** +* struct drm_dp_phy_test_params - DP Phy Compliance parameters +* @link_rate: Requested Link rate from DPCD 0x219 +* @num_lanes: Number of lanes requested by sing through DPCD 0x220 +* @phy_pattern: DP Phy test pattern from DPCD 0x248 +* @hb2_reset: DP HBR2_COMPLIANCE_SCRAMBLER_RESET from DCPD 0x24A and 0x24B +* @custom80: DP Test_80BIT_CUSTOM_PATTERN from DPCDs 0x250 through 0x259 +* @enhanced_frame_cap: flag for enhanced frame capability. +*/ +struct drm_dp_phy_test_params { +int link_rate; +u8 num_lanes; +u8 phy_pattern; +u8 hbr2_reset[2 ]; +u8 custom80[10 ]; +bool enhanced_frame_cap; +}; + +int drm_dp_get_phy_test_pattern (struct drm_dp_aux *aux, +struct drm_dp_phy_test_params *data); +int drm_dp_set_phy_test_pattern (struct drm_dp_aux *aux, +struct drm_dp_phy_test_params *data,u8 dp_rev);#endif /* _DRM_DP_HELPER_H_ */ Signature · 6 lines
2.24.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 3/7 drm/i915/dp: Made intel_dp_adjust_train() non-static
In reply to Animesh Mannavswing/pre-emphasis adjustment calculation is needed in processing of auto phy compliance request other than link training, so have made non-static function.
No functional change.
v1: initial patch.
v2:
- used "intel_dp" prefix in function name. (Jani)
- used array notation instead pointer for link_status. (Ville)
v3: Scrapped the initial patch, modified commit description accordingly.
- made non-static function and used intel_dp prefix. (Jani, Manasi)
--- drivers/gpu/drm/i915/display/intel_dp_link_training.c | 9 ++++----- drivers/gpu/drm/i915/display/intel_dp_link_training.h | 4 ++++ 2 files changed, 8 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/display/intel_dp_link_training.c +4 -5
@@ -34,9 +34,8 @@ intel_dp_dump_link_status(const u8 link_status[DP_LINK_STATUS_SIZE]) link_status[3], link_status[4], link_status[5]); } -static void -intel_get_adjust_train (struct intel_dp *intel_dp, -const u8 link_status[DP_LINK_STATUS_SIZE ]) +void intel_dp_get_adjust_train (struct intel_dp *intel_dp, +const u8 link_status[DP_LINK_STATUS_SIZE ]) {u8 v =0 ;u8 p =0 ;
@@ -219,7 +218,7 @@ intel_dp_link_training_clock_recovery(struct intel_dp *intel_dp) voltage = intel_dp->train_set[0 ] &DP_TRAIN_VOLTAGE_SWING_MASK ;/* Update training set as requested by target */ -intel_get_adjust_train (intel_dp, link_status); +intel_dp_get_adjust_train (intel_dp, link_status);if (!intel_dp_update_link_train (intel_dp)) {drm_err (&i915->drm,"failed to update link training\n" );
@@ -338,7 +337,7 @@ intel_dp_link_training_channel_equalization(struct intel_dp *intel_dp) }/* Update training set as requested by target */ -intel_get_adjust_train (intel_dp, link_status); +intel_dp_get_adjust_train (intel_dp, link_status);if (!intel_dp_update_link_train (intel_dp)) {drm_err (&i915->drm,"failed to update link training\n" );
drivers/gpu/drm/i915/display/intel_dp_link_training.h +4 -0
@@ -6,8 +6,12 @@#ifndef __INTEL_DP_LINK_TRAINING_H__#define __INTEL_DP_LINK_TRAINING_H__ +#include <drm/drm_dp_helper.h> +struct intel_dp ; +void intel_dp_get_adjust_train (struct intel_dp *intel_dp, +const u8 link_status[DP_LINK_STATUS_SIZE ]);void intel_dp_start_link_train (struct intel_dp *intel_dp);void intel_dp_stop_link_train (struct intel_dp *intel_dp);
Signature · 6 lines
2.24.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v4 3/7] drm/i915/dp: Made intel_dp_adjust_train() non-static
Quoted 6 lines · Animesh Manna
vswing/pre-emphasis adjustment calculation is needed in processing of auto phy compliance request other than link training, so have made non-static function.
No functional change.
Quoted 8 lines
v1: initial patch.
v2:
- used "intel_dp" prefix in function name. (Jani)
- used array notation instead pointer forlink_status. (Ville)
v3: Scrapped the initial patch, modified commit description accordingly.
- made non-static function and usedintel_dpprefix. (Jani, Manasi)Signed-off-by Animesh Manna <[email protected]>
Manasi
Quoted 63 lines
--- drivers/gpu/drm/i915/display/intel_dp_link_training.c | 9 ++++----- drivers/gpu/drm/i915/display/intel_dp_link_training.h | 4 ++++ 2 files changed, 8 insertions(+), 5 deletions(-)drivers/gpu/drm/i915/display/intel_dp_link_training.c +4
-5@@ -34,9 +34,8 @@ intel_dp_dump_link_status(const u8 link_status[DP_LINK_STATUS_SIZE]) link_status[3], link_status[4], link_status[5]); } -static void -intel_get_adjust_train (struct intel_dp *intel_dp, -const u8 link_status[DP_LINK_STATUS_SIZE ]) +void intel_dp_get_adjust_train (struct intel_dp *intel_dp, +const u8 link_status[DP_LINK_STATUS_SIZE ]) {u8 v =0 ;u8 p =0 ;@@ -219,7 +218,7 @@ intel_dp_link_training_clock_recovery(struct intel_dp *intel_dp) voltage = intel_dp->train_set[0 ] &DP_TRAIN_VOLTAGE_SWING_MASK ;/* Update training set as requested by target */ -intel_get_adjust_train (intel_dp, link_status); +intel_dp_get_adjust_train (intel_dp, link_status);if (!intel_dp_update_link_train (intel_dp)) {drm_err (&i915->drm,"failed to update link training\n" );@@ -338,7 +337,7 @@ intel_dp_link_training_channel_equalization(struct intel_dp *intel_dp) }/* Update training set as requested by target */ -intel_get_adjust_train (intel_dp, link_status); +intel_dp_get_adjust_train (intel_dp, link_status);if (!intel_dp_update_link_train (intel_dp)) {drm_err (&i915->drm,"failed to update link training\n" );drivers/gpu/drm/i915/display/intel_dp_link_training.h +4
-0@@ -6,8 +6,12 @@#ifndef __INTEL_DP_LINK_TRAINING_H__#define __INTEL_DP_LINK_TRAINING_H__ +#include <drm/drm_dp_helper.h> +struct intel_dp ; +void intel_dp_get_adjust_train (struct intel_dp *intel_dp, +const u8 link_status[DP_LINK_STATUS_SIZE ]);void intel_dp_start_link_train (struct intel_dp *intel_dp);void intel_dp_stop_link_train (struct intel_dp *intel_dp);Signature · 6 lines
2.24.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 4/7 drm/i915/dp: Preparation for DP phy compliance auto test
In reply to Animesh MannaDuring DP phy compliance auto test mode, sink will request combination of different test pattern with differnt level of vswing, pre-emphasis. Function added to prepare for it.
--- .../drm/i915/display/intel_display_types.h | 1 + drivers/gpu/drm/i915/display/intel_dp.c | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+)
drivers/gpu/drm/i915/display/intel_display_types.h +1 -0
@@ -1238,6 +1238,7 @@ struct intel_dp_compliance_data {u8 video_pattern;u16 hdisplay, vdisplay;u8 bpc; +struct drm_dp_phy_test_params phytest; };struct intel_dp_compliance {
drivers/gpu/drm/i915/display/intel_dp.c +24 -0
@@ -5001,9 +5001,33 @@ static u8 intel_dp_autotest_edid(struct intel_dp *intel_dp)return test_result; } +static u8 intel_dp_prepare_phytest (struct intel_dp *intel_dp) +{ +struct drm_dp_phy_test_params *data = + &intel_dp->compliance.test_data.phytest; + +if (drm_dp_get_phy_test_pattern (&intel_dp->aux, data)) { +DRM_DEBUG_KMS ("DP Phy Test pattern AUX read failure\n" ); +return DP_TEST_NAK ; + } + +/* +* link_mst is set to false to avoid executing mst related code +* during compliance testing. +*/ + intel_dp->link_mst = false; + +return DP_TEST_ACK ; +} +static u8 intel_dp_autotest_phy_pattern (struct intel_dp *intel_dp) {u8 test_result =DP_TEST_NAK ; + + test_result =intel_dp_prepare_phytest (intel_dp); +if (test_result !=DP_TEST_ACK ) +DRM_ERROR ("Phy test preparation failed\n" ); +return test_result; }
Signature · 6 lines
2.24.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 5/7 drm/i915/dp: Add debugfs entry for DP phy compliance
In reply to Animesh MannaThese debugfs entry will help testapp to understand the test request during dp phy compliance mode.
--- drivers/gpu/drm/i915/display/intel_display_debugfs.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_display_debugfs.c +11 -1
@@ -1326,6 +1326,16 @@ static int i915_displayport_test_data_show(struct seq_file *m, void *data) intel_dp->compliance.test_data.vdisplay);seq_printf (m,"bpc: %u\n" , intel_dp->compliance.test_data.bpc); + }else if (intel_dp->compliance.test_type == +DP_TEST_LINK_PHY_TEST_PATTERN ) { +seq_printf (m,"pattern: %d\n" , + intel_dp->compliance.test_data.phytest.phy_pattern); +seq_printf (m,"Number of lanes: %d\n" , + intel_dp->compliance.test_data.phytest.num_lanes); +seq_printf (m,"Link Rate: %d\n" , + intel_dp->compliance.test_data.phytest.link_rate); +seq_printf (m,"level: %02x\n" , + intel_dp->train_set[0 ]); } }else seq_puts (m,"0" );
@@ -1358,7 +1368,7 @@ static int i915_displayport_test_type_show(struct seq_file *m, void *data)if (encoder && connector->status == connector_status_connected) { intel_dp =enc_to_intel_dp (encoder); -seq_printf (m,"%02lx" , intel_dp->compliance.test_type); +seq_printf (m,"%02lx\n" , intel_dp->compliance.test_type); }else seq_puts (m,"0" ); }
Signature · 6 lines
2.24.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v4 5/7] drm/i915/dp: Add debugfs entry for DP phy compliance
Quoted 5 lines · Animesh Manna
These debugfs entry will help testapp to understand the test request during dp phy compliance mode.
Acked-by Manasi Navare <[email protected]>Signed-off-by Animesh Manna <[email protected]>
Manasi
Quoted 37 lines
--- drivers/gpu/drm/i915/display/intel_display_debugfs.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)drivers/gpu/drm/i915/display/intel_display_debugfs.c +11
-1@@ -1326,6 +1326,16 @@ static int i915_displayport_test_data_show(struct seq_file *m, void *data) intel_dp->compliance.test_data.vdisplay);seq_printf (m,"bpc: %u\n" , intel_dp->compliance.test_data.bpc); + }else if (intel_dp->compliance.test_type == +DP_TEST_LINK_PHY_TEST_PATTERN ) { +seq_printf (m,"pattern: %d\n" , + intel_dp->compliance.test_data.phytest.phy_pattern); +seq_printf (m,"Number of lanes: %d\n" , + intel_dp->compliance.test_data.phytest.num_lanes); +seq_printf (m,"Link Rate: %d\n" , + intel_dp->compliance.test_data.phytest.link_rate); +seq_printf (m,"level: %02x\n" , + intel_dp->train_set[0 ]); } }else seq_puts (m,"0" );@@ -1358,7 +1368,7 @@ static int i915_displayport_test_type_show(struct seq_file *m, void *data)if (encoder && connector->status == connector_status_connected) { intel_dp =enc_to_intel_dp (encoder); -seq_printf (m,"%02lx" , intel_dp->compliance.test_type); +seq_printf (m,"%02lx\n" , intel_dp->compliance.test_type); }else seq_puts (m,"0" ); }Signature · 1 line
2.24.0
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 6/7 drm/i915/dp: Register definition for DP compliance register
In reply to Animesh MannaDP_COMP_CTL and DP_COMP_PAT register used to program DP compliance pattern.
--- drivers/gpu/drm/i915/i915_reg.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
drivers/gpu/drm/i915/i915_reg.h +20 -0
@@ -9786,6 +9786,26 @@ enum skl_power_gate {#define DDI_BUF_BALANCE_LEG_ENABLE (1 << 31)#define DDI_BUF_TRANS_HI (port, i) _MMIO(_PORT(port, _DDI_BUF_TRANS_A, _DDI_BUF_TRANS_B) + (i) * 8 + 4) +/* DDI DP Compliance Control */ +#define DDI_DP_COMP_CTL_A 0x605F0 +#define DDI_DP_COMP_CTL_B 0x615F0 +#define DDI_DP_COMP_CTL (port) _MMIO_PORT(port, DDI_DP_COMP_CTL_A, \ + DDI_DP_COMP_CTL_B) +#define DDI_DP_COMP_CTL_ENABLE (1 << 31) +#define DDI_DP_COMP_CTL_D10_2 (0 << 28) +#define DDI_DP_COMP_CTL_SCRAMBLED_0 (1 << 28) +#define DDI_DP_COMP_CTL_PRBS7 (2 << 28) +#define DDI_DP_COMP_CTL_CUSTOM80 (3 << 28) +#define DDI_DP_COMP_CTL_HBR2 (4 << 28) +#define DDI_DP_COMP_CTL_SCRAMBLED_1 (5 << 28) +#define DDI_DP_COMP_CTL_HBR2_RESET (0xFC << 0) + +/* DDI DP Compliance Pattern */ +#define DDI_DP_COMP_PAT_A 0x605F4 +#define DDI_DP_COMP_PAT_B 0x615F4 +#define DDI_DP_COMP_PAT (port, i) _MMIO(_PORT(port, DDI_DP_COMP_PAT_A, \ + DDI_DP_COMP_PAT_B) + (i) * 4) +/* Sideband Interface (SBI) is programmed indirectly, via * SBI_ADDR, which contains the register offset; and SBI_DATA, * which contains the payload */
Signature · 6 lines
2.24.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v4 6/7] drm/i915/dp: Register definition for DP compliance register
Hi Animesh,
Here all the DP_COMP_CTL and DP_COMP_PAT register offsets should be pipe based like we changed in the intel_dp_update_phy_pattern() Since it could be on Port B but still use Pipe A and it should in that case write to DDi_DP_COMP_CTL_A
Quoted 14 lines · Animesh Manna
DP_COMP_CTLandDP_COMP_PATregister used to program DP compliance pattern.Reviewed-by Manasi Navare <[email protected]>Signed-off-by Animesh Manna <[email protected]>--- drivers/gpu/drm/i915/i915_reg.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)drivers/gpu/drm/i915/i915_reg.h +0
-0
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 9791
Quoted 6 lines
drivers/gpu/drm/i915/i915_reg.h +3
-0@@ -9786,6 +9786,26 @@ enum skl_power_gate {#define DDI_BUF_BALANCE_LEG_ENABLE (1 << 31)#define DDI_BUF_TRANS_HI (port, i) _MMIO(_PORT(port, _DDI_BUF_TRANS_A, _DDI_BUF_TRANS_B) + (i) * 8 + 4) +/* DDI DP Compliance Control */ +#define DDI_DP_COMP_CTL_A 0x605F0 +#define DDI_DP_COMP_CTL_B 0x615F0
You skipped defs for for _CTL_C and CTL_D (all 4 pipes on TGL)
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 9793
Quoted 2 lines
drivers/gpu/drm/i915/i915_reg.h +2
-0+#define DDI_DP_COMP_CTL (port) _MMIO_PORT(port, DDI_DP_COMP_CTL_A, \ + DDI_DP_COMP_CTL_B)
Change this macro accordingly to select from 4 pipe addresses
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +4
-0+#define DDI_DP_COMP_CTL_ENABLE (1 << 31) +#define DDI_DP_COMP_CTL_D10_2 (0 << 28) +#define DDI_DP_COMP_CTL_SCRAMBLED_0 (1 << 28) +#define DDI_DP_COMP_CTL_PRBS7 (2 << 28)
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 9807
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +10
-0+#define DDI_DP_COMP_CTL_CUSTOM80 (3 << 28) +#define DDI_DP_COMP_CTL_HBR2 (4 << 28) +#define DDI_DP_COMP_CTL_SCRAMBLED_1 (5 << 28) +#define DDI_DP_COMP_CTL_HBR2_RESET (0xFC << 0) + +/* DDI DP Compliance Pattern */ +#define DDI_DP_COMP_PAT_A 0x605F4 +#define DDI_DP_COMP_PAT_B 0x615F4 +#define DDI_DP_COMP_PAT (port, i) _MMIO(_PORT(port, DDI_DP_COMP_PAT_A, \ + DDI_DP_COMP_PAT_B) + (i) * 4)
Same here to use pipe based offsets and define PAT_C and PAT_D as well
Manasi
Quoted 7 lines
drivers/gpu/drm/i915/i915_reg.h +1
-0+/* Sideband Interface (SBI) is programmed indirectly, via * SBI_ADDR, which contains the register offset; and SBI_DATA, * which contains the payload */ Signature · 1 line
2.24.0
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v4 7/7 drm/i915/dp: Program vswing, pre-emphasis, test-pattern
In reply to Animesh MannaThis patch process phy compliance request by programming requested vswing, pre-emphasis and test pattern.
v1: Initial patch.
v2: Fixes added during testing with test-scope. (Khaled/Clint/Manasi)
- pipe used as argument during registers programming instead of port.
- TRANS_CONF must be disable/enable as well during ddi disable/enable.
- harcoded PLTPAT 80 bit custom pattern as the DPR-100 does not set it in the sink’s DPCDs
- TRANS_DDI_FUNC_CTL DDI_Select (Bits 27:30) need to reset/set during disable/enable.
--- drivers/gpu/drm/i915/display/intel_dp.c | 135 ++++++++++++++++++++++++ drivers/gpu/drm/i915/display/intel_dp.h | 1 + 2 files changed, 136 insertions(+)
drivers/gpu/drm/i915/display/intel_dp.c +135 -0
@@ -5020,6 +5020,139 @@ static u8 intel_dp_prepare_phytest(struct intel_dp *intel_dp)return DP_TEST_ACK ; } +static void intel_dp_phy_pattern_update (struct intel_dp *intel_dp) +{ +struct drm_i915_private *dev_priv = +to_i915 (dp_to_dig_port (intel_dp)->base.base.dev); +struct intel_digital_port *intel_dig_port =dp_to_dig_port (intel_dp); +struct drm_dp_phy_test_params *data = + &intel_dp->compliance.test_data.phytest; +struct intel_crtc *crtc =to_intel_crtc (intel_dig_port->base.base.crtc); +enum pipe pipe = crtc->pipe; +u32 temp; + +switch (data->phy_pattern) { +case DP_PHY_TEST_PATTERN_NONE : +DRM_DEBUG_KMS ("Disable Phy Test Pattern\n" ); +intel_de_write (dev_priv,DDI_DP_COMP_CTL (pipe),0x0 ); +break ; +case DP_PHY_TEST_PATTERN_D10_2 : +DRM_DEBUG_KMS ("Set D10.2 Phy Test Pattern\n" ); +intel_de_write (dev_priv,DDI_DP_COMP_CTL (pipe), +DDI_DP_COMP_CTL_ENABLE |DDI_DP_COMP_CTL_D10_2 ); +break ; +case DP_PHY_TEST_PATTERN_ERROR_COUNT : +DRM_DEBUG_KMS ("Set Error Count Phy Test Pattern\n" ); +intel_de_write (dev_priv,DDI_DP_COMP_CTL (pipe), +DDI_DP_COMP_CTL_ENABLE | +DDI_DP_COMP_CTL_SCRAMBLED_0 ); +break ; +case DP_PHY_TEST_PATTERN_PRBS7 : +DRM_DEBUG_KMS ("Set PRBS7 Phy Test Pattern\n" ); +intel_de_write (dev_priv,DDI_DP_COMP_CTL (pipe), +DDI_DP_COMP_CTL_ENABLE |DDI_DP_COMP_CTL_PRBS7 ); +break ; +case DP_PHY_TEST_PATTERN_80BIT_CUSTOM : +DRM_DEBUG_KMS ("Set 80Bit Custom Phy Test Pattern 0x3e0f83e0 0x0f83e0f8 0x0000f83e\n" ); + temp =0x3e0f83e0 ; +intel_de_write (dev_priv,DDI_DP_COMP_PAT (pipe,0 ), temp); + temp =0x0f83e0f8 ; +intel_de_write (dev_priv,DDI_DP_COMP_PAT (pipe,1 ), temp); + temp =0x0000f83e ; +intel_de_write (dev_priv,DDI_DP_COMP_PAT (pipe,2 ), temp); +intel_de_write (dev_priv,DDI_DP_COMP_CTL (pipe), +DDI_DP_COMP_CTL_ENABLE | +DDI_DP_COMP_CTL_CUSTOM80 ); +break ; +case DP_PHY_TEST_PATTERN_CP2520 : +DRM_DEBUG_KMS ("Set HBR2 compliance Phy Test Pattern\n" ); + temp =0xFB ; +intel_de_write (dev_priv,DDI_DP_COMP_CTL (pipe), +DDI_DP_COMP_CTL_ENABLE |DDI_DP_COMP_CTL_HBR2 | + temp); +break ; +default : +WARN (1 ,"Invalid Phy Test PAttern\n" ); + } +} + +static void +intel_dp_autotest_phy_ddi_disable (struct intel_dp *intel_dp) +{ +struct intel_digital_port *intel_dig_port =dp_to_dig_port (intel_dp); +struct drm_device *dev = intel_dig_port->base.base.dev; +struct drm_i915_private *dev_priv =to_i915 (dev); +struct intel_crtc *crtc =to_intel_crtc (intel_dig_port->base.base.crtc); +enum pipe pipe = crtc->pipe; +u32 trans_ddi_func_ctl_value, trans_conf_value, dp_tp_ctl_value; + + trans_ddi_func_ctl_value =intel_de_read (dev_priv, +TRANS_DDI_FUNC_CTL (pipe)); + trans_conf_value =intel_de_read (dev_priv,PIPECONF (pipe)); + dp_tp_ctl_value =intel_de_read (dev_priv,TGL_DP_TP_CTL (pipe)); + + trans_ddi_func_ctl_value &= ~(0x1F <<27 ); + trans_conf_value &= ~PIPECONF_ENABLE ; + dp_tp_ctl_value &= ~DP_TP_CTL_ENABLE ; + +intel_de_write (dev_priv,PIPECONF (pipe), trans_conf_value); +intel_de_write (dev_priv,TRANS_DDI_FUNC_CTL (pipe), + trans_ddi_func_ctl_value); +intel_de_write (dev_priv,TGL_DP_TP_CTL (pipe), dp_tp_ctl_value); +} + +static void +intel_dp_autotest_phy_ddi_enable (struct intel_dp *intel_dp,uint8_t lane_cnt) +{ +struct intel_digital_port *intel_dig_port =dp_to_dig_port (intel_dp); +struct drm_device *dev = intel_dig_port->base.base.dev; +struct drm_i915_private *dev_priv =to_i915 (dev); +enum port port = intel_dig_port->base.port; +struct intel_crtc *crtc =to_intel_crtc (intel_dig_port->base.base.crtc); +enum pipe pipe = crtc->pipe; +u32 trans_ddi_func_ctl_value, trans_conf_value, dp_tp_ctl_value; + + trans_ddi_func_ctl_value =intel_de_read (dev_priv, +TRANS_DDI_FUNC_CTL (pipe)); + trans_conf_value =intel_de_read (dev_priv,PIPECONF (pipe)); + dp_tp_ctl_value =intel_de_read (dev_priv,TGL_DP_TP_CTL (pipe)); + + trans_ddi_func_ctl_value |=TRANS_DDI_FUNC_ENABLE | ((port +1 ) <<27 ); + trans_conf_value |=PIPECONF_ENABLE ; + dp_tp_ctl_value |=DP_TP_CTL_ENABLE ; + +intel_de_write (dev_priv,PIPECONF (pipe), trans_conf_value); +intel_de_write (dev_priv,TGL_DP_TP_CTL (pipe), dp_tp_ctl_value); +intel_de_write (dev_priv,TRANS_DDI_FUNC_CTL (pipe), + trans_ddi_func_ctl_value); +} + +void intel_dp_process_phy_request (struct intel_dp *intel_dp) +{ +struct drm_dp_phy_test_params *data = + &intel_dp->compliance.test_data.phytest; +u8 link_status[DP_LINK_STATUS_SIZE ]; + +if (!intel_dp_get_link_status (intel_dp, link_status)) { +DRM_DEBUG_KMS ("failed to get link status\n" ); +return ; + } + +/* retrieve vswing & pre-emphasis setting */ +intel_dp_get_adjust_train (intel_dp, link_status); + +intel_dp_autotest_phy_ddi_disable (intel_dp); + +intel_dp_set_signal_levels (intel_dp); + +intel_dp_phy_pattern_update (intel_dp); + +intel_dp_autotest_phy_ddi_enable (intel_dp, data->num_lanes); + +drm_dp_set_phy_test_pattern (&intel_dp->aux, data, + link_status[DP_DPCD_REV ]); +} +static u8 intel_dp_autotest_phy_pattern (struct intel_dp *intel_dp) {u8 test_result =DP_TEST_NAK ;
@@ -5028,6 +5161,8 @@ static u8 intel_dp_autotest_phy_pattern(struct intel_dp *intel_dp)if (test_result !=DP_TEST_ACK )DRM_ERROR ("Phy test preparation failed\n" ); +intel_dp_process_phy_request (intel_dp); +return test_result; }
drivers/gpu/drm/i915/display/intel_dp.h +1 -0
@@ -115,6 +115,7 @@ void intel_dp_hdr_metadata_enable(struct intel_dp *intel_dp,const struct intel_crtc_state *crtc_state, const struct drm_connector_state *conn_state);bool intel_digital_port_connected (struct intel_encoder *encoder); +void intel_dp_process_phy_request (struct intel_dp *intel_dp);static inline unsigned int intel_dp_unused_lane_mask (int lane_count) {
Signature · 6 lines
2.24.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v4 7/7] drm/i915/dp: Program vswing, pre-emphasis, test-pattern
Thank You Animesh. Tested using scope with small set of tests and automation run to completion. Started full DP PHY compliance (~160 tests) overnight.
Quoted 117 lines · Animesh Manna
This patch process phy compliance request by programming requested vswing, pre-emphasis and test pattern.
v1: Initial patch.
v2: Fixes added during testing with test-scope. (Khaled/Clint/Manasi)
- pipe used as argument during registers programming instead of port.
-TRANS_CONFmust be disable/enable as well during ddi disable/enable.
- harcoded PLTPAT 80 bit custom pattern as the DPR-100 does not set it
in the sink’s DPCDs
-TRANS_DDI_FUNC_CTLDDI_Select(Bits 27:30) need to reset/set during disable/enable.Cc Clinton Taylor <[email protected]>Cc Manasi Navare <[email protected]>Signed-off-by Animesh Manna <[email protected]>Signed-off-by Khaled Almahallawy <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 135 ++++++++++++++++++++++++ drivers/gpu/drm/i915/display/intel_dp.h | 1 + 2 files changed, 136 insertions(+)drivers/gpu/drm/i915/display/intel_dp.c +8
-0@@ -5020,6 +5020,139 @@ static u8 intel_dp_prepare_phytest(struct intel_dp *intel_dp)return DP_TEST_ACK ; } +static void intel_dp_phy_pattern_update (struct intel_dp *intel_dp) +{ +struct drm_i915_private *dev_priv = +to_i915 (dp_to_dig_port (intel_dp)- >base.base.dev); +struct intel_digital_port *intel_dig_port =dp_to_dig_port (intel_dp); +struct drm_dp_phy_test_params *data = + &intel_dp->compliance.test_data.phytest; + struct intel_crtc *crtc = to_intel_crtc(intel_dig_port-Quoted 1 line
base.base.crtc);
drivers/gpu/drm/i915/display/intel_dp.c +12
-0+enum pipe pipe = crtc->pipe; +u32 temp; + +switch (data->phy_pattern) { +case DP_PHY_TEST_PATTERN_NONE : +DRM_DEBUG_KMS ("Disable Phy Test Pattern\n" ); +intel_de_write (dev_priv,DDI_DP_COMP_CTL (pipe),0x0 ); +break ; +case DP_PHY_TEST_PATTERN_D10_2 : +DRM_DEBUG_KMS ("Set D10.2 Phy Test Pattern\n" ); + intel_de_write(dev_priv, DDI_DP_COMP_CTL(pipe), + DDI_DP_COMP_CTL_ENABLE |
DDI_DP_COMP_CTL_D10_2);drivers/gpu/drm/i915/display/intel_dp.c +11
-0+break ; +case DP_PHY_TEST_PATTERN_ERROR_COUNT : +DRM_DEBUG_KMS ("Set Error Count Phy Test Pattern\n" ); +intel_de_write (dev_priv,DDI_DP_COMP_CTL (pipe), +DDI_DP_COMP_CTL_ENABLE | +DDI_DP_COMP_CTL_SCRAMBLED_0 ); +break ; +case DP_PHY_TEST_PATTERN_PRBS7 : +DRM_DEBUG_KMS ("Set PRBS7 Phy Test Pattern\n" ); + intel_de_write(dev_priv, DDI_DP_COMP_CTL(pipe), + DDI_DP_COMP_CTL_ENABLE |
DDI_DP_COMP_CTL_PRBS7);drivers/gpu/drm/i915/display/intel_dp.c +3
-0+break ; +case DP_PHY_TEST_PATTERN_80BIT_CUSTOM : + DRM_DEBUG_KMS("Set 80Bit Custom Phy Test Pattern
0x3e0f83e00x0f83e0f80x0000f83e\n");drivers/gpu/drm/i915/display/intel_dp.c +2
-0+ temp =0x3e0f83e0 ; + intel_de_write(dev_priv, DDI_DP_COMP_PAT(pipe, 0),temp);
drivers/gpu/drm/i915/display/intel_dp.c +2
-0+ temp =0x0f83e0f8 ; + intel_de_write(dev_priv, DDI_DP_COMP_PAT(pipe, 1),temp);
drivers/gpu/drm/i915/display/intel_dp.c +2
-0+ temp =0x0000f83e ; + intel_de_write(dev_priv, DDI_DP_COMP_PAT(pipe, 2),temp);
drivers/gpu/drm/i915/display/intel_dp.c +6
-0+intel_de_write (dev_priv,DDI_DP_COMP_CTL (pipe), +DDI_DP_COMP_CTL_ENABLE | +DDI_DP_COMP_CTL_CUSTOM80 ); +break ; +case DP_PHY_TEST_PATTERN_CP2520 : + DRM_DEBUG_KMS("Set HBR2 compliance Phy TestPattern\n");
drivers/gpu/drm/i915/display/intel_dp.c +3
-0+ temp =0xFB ; + intel_de_write(dev_priv, DDI_DP_COMP_CTL(pipe), + DDI_DP_COMP_CTL_ENABLE |
DDI_DP_COMP_CTL_HBR2|drivers/gpu/drm/i915/display/intel_dp.c +11
-0+ temp); +break ; +default : +WARN (1 ,"Invalid Phy Test PAttern\n" ); + } +} + +static void +intel_dp_autotest_phy_ddi_disable (struct intel_dp *intel_dp) +{ + struct intel_digital_port *intel_dig_port =
dp_to_dig_port(intel_dp);drivers/gpu/drm/i915/display/intel_dp.c +3
-0+struct drm_device *dev = intel_dig_port->base.base.dev; +struct drm_i915_private *dev_priv =to_i915 (dev); + struct intel_crtc *crtc = to_intel_crtc(intel_dig_port-Quoted 1 line
base.base.crtc);
drivers/gpu/drm/i915/display/intel_dp.c +2
-0+enum pipe pipe = crtc->pipe; + u32 trans_ddi_func_ctl_value, trans_conf_value,
dp_tp_ctl_value;drivers/gpu/drm/i915/display/intel_dp.c +3
-0+ + trans_ddi_func_ctl_value = intel_de_read(dev_priv, + TRANS_DDI_FUNC_CTL(pipe));
drivers/gpu/drm/i915/display/intel_dp.c static u8 intel_dp_prepare_phytest(struct intel_dp *intel_dp) · line 5094
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_dp.c +4
-0+ trans_conf_value =intel_de_read (dev_priv,PIPECONF (pipe)); + dp_tp_ctl_value =intel_de_read (dev_priv,TGL_DP_TP_CTL (pipe)); + + trans_ddi_func_ctl_value &= ~(0x1F <<27 );
Based on Clint suggestion:trans_ddi_func_ctl_value &= ~(TRANS_DDI_FUNC_ENABLE | TGL_TRANS_DDI_PORT_MASK);
Quoted 31 lines
drivers/gpu/drm/i915/display/intel_dp.c +11
-0+ trans_conf_value &= ~PIPECONF_ENABLE ; + dp_tp_ctl_value &= ~DP_TP_CTL_ENABLE ; + +intel_de_write (dev_priv,PIPECONF (pipe), trans_conf_value); +intel_de_write (dev_priv,TRANS_DDI_FUNC_CTL (pipe), + trans_ddi_func_ctl_value); +intel_de_write (dev_priv,TGL_DP_TP_CTL (pipe), dp_tp_ctl_value); +} + +static void +intel_dp_autotest_phy_ddi_enable(struct intel_dp *intel_dp, uint8_t
lane_cnt)drivers/gpu/drm/i915/display/intel_dp.c +2
-0+{ + struct intel_digital_port *intel_dig_port =
dp_to_dig_port(intel_dp);drivers/gpu/drm/i915/display/intel_dp.c +4
-0+struct drm_device *dev = intel_dig_port->base.base.dev; +struct drm_i915_private *dev_priv =to_i915 (dev); +enum port port = intel_dig_port->base.port; + struct intel_crtc *crtc = to_intel_crtc(intel_dig_port-Quoted 1 line
base.base.crtc);
drivers/gpu/drm/i915/display/intel_dp.c +2
-0+enum pipe pipe = crtc->pipe; + u32 trans_ddi_func_ctl_value, trans_conf_value,
dp_tp_ctl_value;drivers/gpu/drm/i915/display/intel_dp.c +3
-0+ + trans_ddi_func_ctl_value = intel_de_read(dev_priv, + TRANS_DDI_FUNC_CTL(pipe));
drivers/gpu/drm/i915/display/intel_dp.c +4
-0+ trans_conf_value =intel_de_read (dev_priv,PIPECONF (pipe)); + dp_tp_ctl_value =intel_de_read (dev_priv,TGL_DP_TP_CTL (pipe)); + + trans_ddi_func_ctl_value |= TRANS_DDI_FUNC_ENABLE | ((port + 1)
Quoted 1 line
<< 27);
Based on Manasi suggestion:trans_ddi_func_ctl_value |= TRANS_DDI_FUNC_ENABLE | TGL_TRANS_DDI_SELECT_PORT(port);
Quoted 62 lines
drivers/gpu/drm/i915/display/intel_dp.c +37
-0+ trans_conf_value |=PIPECONF_ENABLE ; + dp_tp_ctl_value |=DP_TP_CTL_ENABLE ; + +intel_de_write (dev_priv,PIPECONF (pipe), trans_conf_value); +intel_de_write (dev_priv,TGL_DP_TP_CTL (pipe), dp_tp_ctl_value); +intel_de_write (dev_priv,TRANS_DDI_FUNC_CTL (pipe), + trans_ddi_func_ctl_value); +} + +void intel_dp_process_phy_request (struct intel_dp *intel_dp) +{ +struct drm_dp_phy_test_params *data = + &intel_dp->compliance.test_data.phytest; +u8 link_status[DP_LINK_STATUS_SIZE ]; + +if (!intel_dp_get_link_status (intel_dp, link_status)) { +DRM_DEBUG_KMS ("failed to get link status\n" ); +return ; + } + +/* retrieve vswing & pre-emphasis setting */ +intel_dp_get_adjust_train (intel_dp, link_status); + +intel_dp_autotest_phy_ddi_disable (intel_dp); + +intel_dp_set_signal_levels (intel_dp); + +intel_dp_phy_pattern_update (intel_dp); + +intel_dp_autotest_phy_ddi_enable (intel_dp, data->num_lanes); + +drm_dp_set_phy_test_pattern (&intel_dp->aux, data, + link_status[DP_DPCD_REV ]); +} +static u8 intel_dp_autotest_phy_pattern (struct intel_dp *intel_dp) {u8 test_result =DP_TEST_NAK ;@@ -5028,6 +5161,8 @@ static u8 intel_dp_autotest_phy_pattern(struct intel_dp *intel_dp)if (test_result !=DP_TEST_ACK )DRM_ERROR ("Phy test preparation failed\n" ); +intel_dp_process_phy_request (intel_dp); +return test_result; }drivers/gpu/drm/i915/display/intel_dp.h +1
-0@@ -115,6 +115,7 @@ void intel_dp_hdr_metadata_enable(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state, const struct drm_connector_state *conn_state);bool intel_digital_port_connected (struct intel_encoder *encoder); +void intel_dp_process_phy_request (struct intel_dp *intel_dp);
Quoted 2 lines
static inline unsigned int
intel_dp_unused_lane_mask(int lane_count){
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v4 7/7] drm/i915/dp: Program vswing, pre-emphasis, test-pattern
In reply to Animesh MannaJust a few nits below
Quoted 29 lines · Animesh Manna
This patch process phy compliance request by programming requested vswing, pre-emphasis and test pattern.
v1: Initial patch.
v2: Fixes added during testing with test-scope. (Khaled/Clint/Manasi)
- pipe used as argument during registers programming instead of port.
-TRANS_CONFmust be disable/enable as well during ddi disable/enable.
- harcoded PLTPAT 80 bit custom pattern as the DPR-100 does not set it in the sink’s DPCDs
-TRANS_DDI_FUNC_CTLDDI_Select(Bits 27:30) need to reset/set during disable/enable.Cc Clinton Taylor <[email protected]>Cc Manasi Navare <[email protected]>Signed-off-by Animesh Manna <[email protected]>Signed-off-by Khaled Almahallawy <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 135 ++++++++++++++++++++++++ drivers/gpu/drm/i915/display/intel_dp.h | 1 + 2 files changed, 136 insertions(+)drivers/gpu/drm/i915/display/intel_dp.c +0
-0@@ -5020,6 +5020,139 @@ static u8 intel_dp_prepare_phytest(struct intel_dp *intel_dp)return DP_TEST_ACK ; }
drivers/gpu/drm/i915/display/intel_dp.c static u8 intel_dp_prepare_phytest(struct intel_dp *intel_dp) · line 5032
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_dp.c +10
-0+static void intel_dp_phy_pattern_update (struct intel_dp *intel_dp) +{ +struct drm_i915_private *dev_priv = +to_i915 (dp_to_dig_port (intel_dp)->base.base.dev); +struct intel_digital_port *intel_dig_port =dp_to_dig_port (intel_dp); +struct drm_dp_phy_test_params *data = + &intel_dp->compliance.test_data.phytest; +struct intel_crtc *crtc =to_intel_crtc (intel_dig_port->base.base.crtc); +enum pipe pipe = crtc->pipe; +u32 temp;
May be call this a custom_80_val or something not temp
Also you need to add a comment/FIXME explaining why the custom 80 PHY values are hardcoded to this explaining that DPR 100 current firmware does not write this in the blah blah DPCD correctly and hence hardcoding for now
same for CP2520
Quoted 33 lines
drivers/gpu/drm/i915/display/intel_dp.c +33
-0+ +switch (data->phy_pattern) { +case DP_PHY_TEST_PATTERN_NONE : +DRM_DEBUG_KMS ("Disable Phy Test Pattern\n" ); +intel_de_write (dev_priv,DDI_DP_COMP_CTL (pipe),0x0 ); +break ; +case DP_PHY_TEST_PATTERN_D10_2 : +DRM_DEBUG_KMS ("Set D10.2 Phy Test Pattern\n" ); +intel_de_write (dev_priv,DDI_DP_COMP_CTL (pipe), +DDI_DP_COMP_CTL_ENABLE |DDI_DP_COMP_CTL_D10_2 ); +break ; +case DP_PHY_TEST_PATTERN_ERROR_COUNT : +DRM_DEBUG_KMS ("Set Error Count Phy Test Pattern\n" ); +intel_de_write (dev_priv,DDI_DP_COMP_CTL (pipe), +DDI_DP_COMP_CTL_ENABLE | +DDI_DP_COMP_CTL_SCRAMBLED_0 ); +break ; +case DP_PHY_TEST_PATTERN_PRBS7 : +DRM_DEBUG_KMS ("Set PRBS7 Phy Test Pattern\n" ); +intel_de_write (dev_priv,DDI_DP_COMP_CTL (pipe), +DDI_DP_COMP_CTL_ENABLE |DDI_DP_COMP_CTL_PRBS7 ); +break ; +case DP_PHY_TEST_PATTERN_80BIT_CUSTOM : +DRM_DEBUG_KMS ("Set 80Bit Custom Phy Test Pattern 0x3e0f83e0 0x0f83e0f8 0x0000f83e\n" ); + temp =0x3e0f83e0 ; +intel_de_write (dev_priv,DDI_DP_COMP_PAT (pipe,0 ), temp); + temp =0x0f83e0f8 ; +intel_de_write (dev_priv,DDI_DP_COMP_PAT (pipe,1 ), temp); + temp =0x0000f83e ; +intel_de_write (dev_priv,DDI_DP_COMP_PAT (pipe,2 ), temp); +intel_de_write (dev_priv,DDI_DP_COMP_CTL (pipe), +DDI_DP_COMP_CTL_ENABLE | +DDI_DP_COMP_CTL_CUSTOM80 );
drivers/gpu/drm/i915/display/intel_dp.c static u8 intel_dp_prepare_phytest(struct intel_dp *intel_dp) · line 5075
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_dp.c +10
-0+break ; +case DP_PHY_TEST_PATTERN_CP2520 : +DRM_DEBUG_KMS ("Set HBR2 compliance Phy Test Pattern\n" ); + temp =0xFB ; +intel_de_write (dev_priv,DDI_DP_COMP_CTL (pipe), +DDI_DP_COMP_CTL_ENABLE |DDI_DP_COMP_CTL_HBR2 | + temp); +break ; +default : +WARN (1 ,"Invalid Phy Test PAttern\n" );
^^^ Pattern
Quoted 9 lines
drivers/gpu/drm/i915/display/intel_dp.c +9
-0+ } +} + +static void +intel_dp_autotest_phy_ddi_disable (struct intel_dp *intel_dp) +{ +struct intel_digital_port *intel_dig_port =dp_to_dig_port (intel_dp); +struct drm_device *dev = intel_dig_port->base.base.dev; +struct drm_i915_private *dev_priv =to_i915 (dev);
drivers/gpu/drm/i915/display/intel_dp.c static u8 intel_dp_prepare_phytest(struct intel_dp *intel_dp) · line 5094
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_dp.c +10
-0+struct intel_crtc *crtc =to_intel_crtc (intel_dig_port->base.base.crtc); +enum pipe pipe = crtc->pipe; +u32 trans_ddi_func_ctl_value, trans_conf_value, dp_tp_ctl_value; + + trans_ddi_func_ctl_value =intel_de_read (dev_priv, +TRANS_DDI_FUNC_CTL (pipe)); + trans_conf_value =intel_de_read (dev_priv,PIPECONF (pipe)); + dp_tp_ctl_value =intel_de_read (dev_priv,TGL_DP_TP_CTL (pipe)); + + trans_ddi_func_ctl_value &= ~(0x1F <<27 );
Try and use the already define macro in i915_reg.h for, Trans_ddi_func_ctl_value &= ~( TRANS_DDI_FUNC_ENABLE | TGL_TRANS_DDI_PORT_MASK)
Quoted 16 lines
drivers/gpu/drm/i915/display/intel_dp.c +16
-0+ trans_conf_value &= ~PIPECONF_ENABLE ; + dp_tp_ctl_value &= ~DP_TP_CTL_ENABLE ; + +intel_de_write (dev_priv,PIPECONF (pipe), trans_conf_value); +intel_de_write (dev_priv,TRANS_DDI_FUNC_CTL (pipe), + trans_ddi_func_ctl_value); +intel_de_write (dev_priv,TGL_DP_TP_CTL (pipe), dp_tp_ctl_value); +} + +static void +intel_dp_autotest_phy_ddi_enable (struct intel_dp *intel_dp,uint8_t lane_cnt) +{ +struct intel_digital_port *intel_dig_port =dp_to_dig_port (intel_dp); +struct drm_device *dev = intel_dig_port->base.base.dev; +struct drm_i915_private *dev_priv =to_i915 (dev); +enum port port = intel_dig_port->base.port;
drivers/gpu/drm/i915/display/intel_dp.c static u8 intel_dp_prepare_phytest(struct intel_dp *intel_dp) · line 5120
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_dp.c +10
-0+struct intel_crtc *crtc =to_intel_crtc (intel_dig_port->base.base.crtc); +enum pipe pipe = crtc->pipe; +u32 trans_ddi_func_ctl_value, trans_conf_value, dp_tp_ctl_value; + + trans_ddi_func_ctl_value =intel_de_read (dev_priv, +TRANS_DDI_FUNC_CTL (pipe)); + trans_conf_value =intel_de_read (dev_priv,PIPECONF (pipe)); + dp_tp_ctl_value =intel_de_read (dev_priv,TGL_DP_TP_CTL (pipe)); + + trans_ddi_func_ctl_value |=TRANS_DDI_FUNC_ENABLE | ((port +1 ) <<27 );
Same here please use the macros from i915_reg.h
trans_ddi_func_ctl_value |= TRANS_DDI_FUNC_ENABLE | TGL_TRANS_DDI_SELECT_PORT(port);
Regards
Manasi
Quoted 62 lines
drivers/gpu/drm/i915/display/intel_dp.c +37
-0+ trans_conf_value |=PIPECONF_ENABLE ; + dp_tp_ctl_value |=DP_TP_CTL_ENABLE ; + +intel_de_write (dev_priv,PIPECONF (pipe), trans_conf_value); +intel_de_write (dev_priv,TGL_DP_TP_CTL (pipe), dp_tp_ctl_value); +intel_de_write (dev_priv,TRANS_DDI_FUNC_CTL (pipe), + trans_ddi_func_ctl_value); +} + +void intel_dp_process_phy_request (struct intel_dp *intel_dp) +{ +struct drm_dp_phy_test_params *data = + &intel_dp->compliance.test_data.phytest; +u8 link_status[DP_LINK_STATUS_SIZE ]; + +if (!intel_dp_get_link_status (intel_dp, link_status)) { +DRM_DEBUG_KMS ("failed to get link status\n" ); +return ; + } + +/* retrieve vswing & pre-emphasis setting */ +intel_dp_get_adjust_train (intel_dp, link_status); + +intel_dp_autotest_phy_ddi_disable (intel_dp); + +intel_dp_set_signal_levels (intel_dp); + +intel_dp_phy_pattern_update (intel_dp); + +intel_dp_autotest_phy_ddi_enable (intel_dp, data->num_lanes); + +drm_dp_set_phy_test_pattern (&intel_dp->aux, data, + link_status[DP_DPCD_REV ]); +} +static u8 intel_dp_autotest_phy_pattern (struct intel_dp *intel_dp) {u8 test_result =DP_TEST_NAK ;@@ -5028,6 +5161,8 @@ static u8 intel_dp_autotest_phy_pattern(struct intel_dp *intel_dp)if (test_result !=DP_TEST_ACK )DRM_ERROR ("Phy test preparation failed\n" ); +intel_dp_process_phy_request (intel_dp); +return test_result; }drivers/gpu/drm/i915/display/intel_dp.h +1
-0@@ -115,6 +115,7 @@ void intel_dp_hdr_metadata_enable(struct intel_dp *intel_dp,const struct intel_crtc_state *crtc_state, const struct drm_connector_state *conn_state);bool intel_digital_port_connected (struct intel_encoder *encoder); +void intel_dp_process_phy_request (struct intel_dp *intel_dp);static inline unsigned int intel_dp_unused_lane_mask (int lane_count) {Signature · 1 line
2.24.0
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for DP Phy compliance auto test (rev6)
In reply to Animesh Manna== Series Details ==
== Series Details ==
Series: DP Phy compliance auto test (rev6)
URL : https://patchwork.freedesktop.org/series/71121/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8112 -> Patchwork_16909
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16909/index.html
Known issues
------------
Here are the changes found in Patchwork_16909 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_addfb_basic@bad-pitch-1024:
- fi-tgl-y: [PASS][1] -> [DMESG-WARN][2] ([CI#94] / [i915#402]) +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8112/fi-tgl-y/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16909/fi-tgl-y/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-hsw-peppy: [PASS][3] -> [DMESG-WARN][4] ([i915#44])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8112/fi-hsw-peppy/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16909/fi-hsw-peppy/igt@[email protected]
#### Possible fixes ####
* igt@kms_addfb_basic@unused-modifier:
- fi-tgl-y: [DMESG-WARN][5] ([CI#94] / [i915#402]) -> [PASS][6] +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8112/fi-tgl-y/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16909/fi-tgl-y/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][7] ([fdo#111407]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8112/fi-kbl-7500u/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16909/fi-kbl-7500u/igt@[email protected]
[CI#94]: https://gitlab.freedesktop.org/gfx-ci/i915-infra/issues/94
[fdo#111407]: https://bugs.freedesktop.org/show_bug.cgi?id=111407
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#44]: https://gitlab.freedesktop.org/drm/intel/issues/44
Participating hosts (44 -> 39)
------------------------------
Additional (3): fi-bsw-nick fi-skl-6600u fi-bsw-n3050
Missing (8): fi-hsw-4200u fi-byt-j1900 fi-byt-squawks fi-bwr-2160 fi-ilk-650 fi-cfl-guc fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_8112 -> Patchwork_16909
CI-20190529: 20190529
CI_DRM_8112: 032f2fe5c92eb1db6d417738431153c001a41bcc @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5504: d6788bf0404f76b66170e18eb26c85004b5ccb25 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_16909: b67217a256066165ac5d8d6d7ab477737bfa6899 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
b67217a25606 drm/i915/dp: Program vswing, pre-emphasis, test-pattern e15aa83e4af6 drm/i915/dp: Register definition for DP compliance register 516ef2986f4f drm/i915/dp: Add debugfs entry for DP phy compliance 2e9dd8a6a6ed drm/i915/dp: Preparation for DP phy compliance auto test ecd0fa238196 drm/i915/dp: Made intel_dp_adjust_train() non-static 0e8c1a2647cb drm/dp: get/set phy compliance pattern fcdcd8919b3b drm/amd/display: Align macro name as per DP spec
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16909/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx