.. | .. |
---|
28 | 28 | |
---|
29 | 29 | #define LINK_TRAINING_ATTEMPTS 4 |
---|
30 | 30 | #define LINK_TRAINING_RETRY_DELAY 50 /* ms */ |
---|
| 31 | +#define LINK_AUX_DEFAULT_LTTPR_TIMEOUT_PERIOD 3200 /*us*/ |
---|
| 32 | +#define LINK_AUX_DEFAULT_TIMEOUT_PERIOD 552 /*us*/ |
---|
31 | 33 | |
---|
32 | 34 | struct dc_link; |
---|
33 | 35 | struct dc_stream_state; |
---|
.. | .. |
---|
38 | 40 | struct dc_link_settings *known_limit_link_setting, |
---|
39 | 41 | int *fail_count); |
---|
40 | 42 | |
---|
| 43 | +bool dp_verify_link_cap_with_retries( |
---|
| 44 | + struct dc_link *link, |
---|
| 45 | + struct dc_link_settings *known_limit_link_setting, |
---|
| 46 | + int attempts); |
---|
| 47 | + |
---|
| 48 | +bool dp_verify_mst_link_cap( |
---|
| 49 | + struct dc_link *link); |
---|
| 50 | + |
---|
41 | 51 | bool dp_validate_mode_timing( |
---|
42 | 52 | struct dc_link *link, |
---|
43 | 53 | const struct dc_crtc_timing *timing); |
---|
.. | .. |
---|
47 | 57 | struct dc_link_settings *link_setting); |
---|
48 | 58 | |
---|
49 | 59 | bool perform_link_training_with_retries( |
---|
50 | | - struct dc_link *link, |
---|
51 | 60 | const struct dc_link_settings *link_setting, |
---|
52 | 61 | bool skip_video_pattern, |
---|
53 | | - int attempts); |
---|
| 62 | + int attempts, |
---|
| 63 | + struct pipe_ctx *pipe_ctx, |
---|
| 64 | + enum signal_type signal); |
---|
54 | 65 | |
---|
55 | 66 | bool is_mst_supported(struct dc_link *link); |
---|
56 | 67 | |
---|
.. | .. |
---|
62 | 73 | |
---|
63 | 74 | void dp_enable_mst_on_sink(struct dc_link *link, bool enable); |
---|
64 | 75 | |
---|
| 76 | +enum dp_panel_mode dp_get_panel_mode(struct dc_link *link); |
---|
| 77 | +void dp_set_panel_mode(struct dc_link *link, enum dp_panel_mode panel_mode); |
---|
| 78 | + |
---|
| 79 | +bool dp_overwrite_extended_receiver_cap(struct dc_link *link); |
---|
| 80 | + |
---|
| 81 | +void dpcd_set_source_specific_data(struct dc_link *link); |
---|
| 82 | + |
---|
| 83 | +void dp_set_fec_ready(struct dc_link *link, bool ready); |
---|
| 84 | +void dp_set_fec_enable(struct dc_link *link, bool enable); |
---|
| 85 | +bool dp_set_dsc_enable(struct pipe_ctx *pipe_ctx, bool enable); |
---|
| 86 | +bool dp_set_dsc_pps_sdp(struct pipe_ctx *pipe_ctx, bool enable); |
---|
| 87 | +void dp_set_dsc_on_stream(struct pipe_ctx *pipe_ctx, bool enable); |
---|
| 88 | +bool dp_update_dsc_config(struct pipe_ctx *pipe_ctx); |
---|
| 89 | + |
---|
65 | 90 | #endif /* __DC_LINK_DP_H__ */ |
---|