| .. | .. |
|---|
| 81 | 81 | SRI(DP_MSE_RATE_UPDATE, DP, id), \ |
|---|
| 82 | 82 | SRI(DP_PIXEL_FORMAT, DP, id), \ |
|---|
| 83 | 83 | SRI(DP_SEC_CNTL, DP, id), \ |
|---|
| 84 | + SRI(DP_SEC_CNTL2, DP, id), \ |
|---|
| 85 | + SRI(DP_SEC_CNTL6, DP, id), \ |
|---|
| 84 | 86 | SRI(DP_STEER_FIFO, DP, id), \ |
|---|
| 85 | 87 | SRI(DP_VID_M, DP, id), \ |
|---|
| 86 | 88 | SRI(DP_VID_N, DP, id), \ |
|---|
| 87 | 89 | SRI(DP_VID_STREAM_CNTL, DP, id), \ |
|---|
| 88 | 90 | SRI(DP_VID_TIMING, DP, id), \ |
|---|
| 89 | 91 | SRI(DP_SEC_AUD_N, DP, id), \ |
|---|
| 90 | | - SRI(DP_SEC_TIMESTAMP, DP, id) |
|---|
| 92 | + SRI(DP_SEC_TIMESTAMP, DP, id), \ |
|---|
| 93 | + SRI(DIG_CLOCK_PATTERN, DIG, id) |
|---|
| 91 | 94 | |
|---|
| 92 | 95 | #define SE_DCN_REG_LIST(id)\ |
|---|
| 93 | 96 | SE_COMMON_DCN_REG_LIST(id) |
|---|
| .. | .. |
|---|
| 118 | 121 | uint32_t AFMT_60958_1; |
|---|
| 119 | 122 | uint32_t AFMT_60958_2; |
|---|
| 120 | 123 | uint32_t DIG_FE_CNTL; |
|---|
| 124 | + uint32_t DIG_FE_CNTL2; |
|---|
| 121 | 125 | uint32_t DP_MSE_RATE_CNTL; |
|---|
| 122 | 126 | uint32_t DP_MSE_RATE_UPDATE; |
|---|
| 123 | 127 | uint32_t DP_PIXEL_FORMAT; |
|---|
| 124 | 128 | uint32_t DP_SEC_CNTL; |
|---|
| 129 | + uint32_t DP_SEC_CNTL2; |
|---|
| 130 | + uint32_t DP_SEC_CNTL6; |
|---|
| 125 | 131 | uint32_t DP_STEER_FIFO; |
|---|
| 126 | 132 | uint32_t DP_VID_M; |
|---|
| 127 | 133 | uint32_t DP_VID_N; |
|---|
| .. | .. |
|---|
| 150 | 156 | uint32_t HDMI_ACR_48_1; |
|---|
| 151 | 157 | uint32_t DP_DB_CNTL; |
|---|
| 152 | 158 | uint32_t DP_MSA_MISC; |
|---|
| 159 | + uint32_t DP_MSA_VBID_MISC; |
|---|
| 153 | 160 | uint32_t DP_MSA_COLORIMETRY; |
|---|
| 154 | 161 | uint32_t DP_MSA_TIMING_PARAM1; |
|---|
| 155 | 162 | uint32_t DP_MSA_TIMING_PARAM2; |
|---|
| 156 | 163 | uint32_t DP_MSA_TIMING_PARAM3; |
|---|
| 157 | 164 | uint32_t DP_MSA_TIMING_PARAM4; |
|---|
| 158 | 165 | uint32_t HDMI_DB_CONTROL; |
|---|
| 166 | + uint32_t DP_DSC_CNTL; |
|---|
| 167 | + uint32_t DP_DSC_BYTES_PER_PIXEL; |
|---|
| 168 | + uint32_t DME_CONTROL; |
|---|
| 169 | + uint32_t DP_SEC_METADATA_TRANSMISSION; |
|---|
| 170 | + uint32_t HDMI_METADATA_PACKET_CONTROL; |
|---|
| 171 | + uint32_t DP_SEC_FRAMING4; |
|---|
| 172 | +#if defined(CONFIG_DRM_AMD_DC_DCN3_0) |
|---|
| 173 | + uint32_t DP_GSP11_CNTL; |
|---|
| 174 | + uint32_t HDMI_GENERIC_PACKET_CONTROL6; |
|---|
| 175 | + uint32_t HDMI_GENERIC_PACKET_CONTROL7; |
|---|
| 176 | + uint32_t HDMI_GENERIC_PACKET_CONTROL8; |
|---|
| 177 | + uint32_t HDMI_GENERIC_PACKET_CONTROL9; |
|---|
| 178 | + uint32_t HDMI_GENERIC_PACKET_CONTROL10; |
|---|
| 179 | +#endif |
|---|
| 180 | + uint32_t DIG_CLOCK_PATTERN; |
|---|
| 159 | 181 | }; |
|---|
| 160 | 182 | |
|---|
| 161 | 183 | |
|---|
| .. | .. |
|---|
| 175 | 197 | SE_SF(DIG0_HDMI_CONTROL, HDMI_DEEP_COLOR_ENABLE, mask_sh),\ |
|---|
| 176 | 198 | SE_SF(DIG0_HDMI_CONTROL, HDMI_DEEP_COLOR_DEPTH, mask_sh),\ |
|---|
| 177 | 199 | SE_SF(DIG0_HDMI_CONTROL, HDMI_DATA_SCRAMBLE_EN, mask_sh),\ |
|---|
| 200 | + SE_SF(DIG0_HDMI_CONTROL, HDMI_NO_EXTRA_NULL_PACKET_FILLED, mask_sh),\ |
|---|
| 178 | 201 | SE_SF(DIG0_HDMI_VBI_PACKET_CONTROL, HDMI_GC_CONT, mask_sh),\ |
|---|
| 179 | 202 | SE_SF(DIG0_HDMI_VBI_PACKET_CONTROL, HDMI_GC_SEND, mask_sh),\ |
|---|
| 180 | 203 | SE_SF(DIG0_HDMI_VBI_PACKET_CONTROL, HDMI_NULL_SEND, mask_sh),\ |
|---|
| .. | .. |
|---|
| 191 | 214 | SE_SF(DP0_DP_SEC_CNTL, DP_SEC_GSP2_ENABLE, mask_sh),\ |
|---|
| 192 | 215 | SE_SF(DP0_DP_SEC_CNTL, DP_SEC_GSP3_ENABLE, mask_sh),\ |
|---|
| 193 | 216 | SE_SF(DP0_DP_SEC_CNTL, DP_SEC_MPG_ENABLE, mask_sh),\ |
|---|
| 217 | + SE_SF(DP0_DP_SEC_CNTL2, DP_SEC_GSP4_SEND, mask_sh),\ |
|---|
| 218 | + SE_SF(DP0_DP_SEC_CNTL2, DP_SEC_GSP4_SEND_PENDING, mask_sh),\ |
|---|
| 219 | + SE_SF(DP0_DP_SEC_CNTL4, DP_SEC_GSP4_LINE_NUM, mask_sh),\ |
|---|
| 220 | + SE_SF(DP0_DP_SEC_CNTL2, DP_SEC_GSP4_SEND_ANY_LINE, mask_sh),\ |
|---|
| 194 | 221 | SE_SF(DP0_DP_VID_STREAM_CNTL, DP_VID_STREAM_DIS_DEFER, mask_sh),\ |
|---|
| 195 | 222 | SE_SF(DP0_DP_VID_STREAM_CNTL, DP_VID_STREAM_ENABLE, mask_sh),\ |
|---|
| 196 | 223 | SE_SF(DP0_DP_VID_STREAM_CNTL, DP_VID_STREAM_STATUS, mask_sh),\ |
|---|
| .. | .. |
|---|
| 245 | 272 | SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC2_FRAME_UPDATE_PENDING, mask_sh),\ |
|---|
| 246 | 273 | SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC3_FRAME_UPDATE_PENDING, mask_sh),\ |
|---|
| 247 | 274 | SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC4_FRAME_UPDATE_PENDING, mask_sh),\ |
|---|
| 275 | + SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC4_IMMEDIATE_UPDATE_PENDING, mask_sh),\ |
|---|
| 248 | 276 | SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC5_FRAME_UPDATE_PENDING, mask_sh),\ |
|---|
| 249 | 277 | SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC6_FRAME_UPDATE_PENDING, mask_sh),\ |
|---|
| 250 | 278 | SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC7_FRAME_UPDATE_PENDING, mask_sh),\ |
|---|
| .. | .. |
|---|
| 253 | 281 | SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC2_FRAME_UPDATE, mask_sh),\ |
|---|
| 254 | 282 | SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC3_FRAME_UPDATE, mask_sh),\ |
|---|
| 255 | 283 | SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC4_FRAME_UPDATE, mask_sh),\ |
|---|
| 284 | + SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC0_IMMEDIATE_UPDATE, mask_sh),\ |
|---|
| 285 | + SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC1_IMMEDIATE_UPDATE, mask_sh),\ |
|---|
| 286 | + SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC2_IMMEDIATE_UPDATE, mask_sh),\ |
|---|
| 287 | + SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC3_IMMEDIATE_UPDATE, mask_sh),\ |
|---|
| 288 | + SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC4_IMMEDIATE_UPDATE, mask_sh),\ |
|---|
| 289 | + SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC5_IMMEDIATE_UPDATE, mask_sh),\ |
|---|
| 290 | + SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC6_IMMEDIATE_UPDATE, mask_sh),\ |
|---|
| 291 | + SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC7_IMMEDIATE_UPDATE, mask_sh),\ |
|---|
| 256 | 292 | SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC5_FRAME_UPDATE, mask_sh),\ |
|---|
| 257 | 293 | SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC6_FRAME_UPDATE, mask_sh),\ |
|---|
| 258 | 294 | SE_SF(DIG0_AFMT_VBI_PACKET_CONTROL1, AFMT_GENERIC7_FRAME_UPDATE, mask_sh),\ |
|---|
| .. | .. |
|---|
| 260 | 296 | SE_SF(DP0_DP_SEC_CNTL, DP_SEC_GSP5_ENABLE, mask_sh),\ |
|---|
| 261 | 297 | SE_SF(DP0_DP_SEC_CNTL, DP_SEC_GSP6_ENABLE, mask_sh),\ |
|---|
| 262 | 298 | SE_SF(DP0_DP_SEC_CNTL, DP_SEC_GSP7_ENABLE, mask_sh),\ |
|---|
| 299 | + SE_SF(DP0_DP_SEC_CNTL2, DP_SEC_GSP7_PPS, mask_sh),\ |
|---|
| 300 | + SE_SF(DP0_DP_SEC_CNTL2, DP_SEC_GSP7_SEND, mask_sh),\ |
|---|
| 301 | + SE_SF(DP0_DP_SEC_CNTL6, DP_SEC_GSP7_LINE_NUM, mask_sh),\ |
|---|
| 263 | 302 | SE_SF(DP0_DP_DB_CNTL, DP_DB_DISABLE, mask_sh),\ |
|---|
| 264 | 303 | SE_SF(DP0_DP_MSA_COLORIMETRY, DP_MSA_MISC0, mask_sh),\ |
|---|
| 265 | 304 | SE_SF(DP0_DP_MSA_TIMING_PARAM1, DP_MSA_HTOTAL, mask_sh),\ |
|---|
| .. | .. |
|---|
| 273 | 312 | SE_SF(DP0_DP_MSA_TIMING_PARAM4, DP_MSA_HWIDTH, mask_sh),\ |
|---|
| 274 | 313 | SE_SF(DP0_DP_MSA_TIMING_PARAM4, DP_MSA_VHEIGHT, mask_sh),\ |
|---|
| 275 | 314 | SE_SF(DIG0_HDMI_DB_CONTROL, HDMI_DB_DISABLE, mask_sh),\ |
|---|
| 276 | | - SE_SF(DP0_DP_VID_TIMING, DP_VID_N_MUL, mask_sh) |
|---|
| 315 | + SE_SF(DP0_DP_VID_TIMING, DP_VID_N_MUL, mask_sh),\ |
|---|
| 316 | + SE_SF(DIG0_DIG_FE_CNTL, DIG_SOURCE_SELECT, mask_sh),\ |
|---|
| 317 | + SE_SF(DIG0_DIG_CLOCK_PATTERN, DIG_CLOCK_PATTERN, mask_sh) |
|---|
| 277 | 318 | |
|---|
| 278 | 319 | #define SE_COMMON_MASK_SH_LIST_SOC(mask_sh)\ |
|---|
| 279 | 320 | SE_COMMON_MASK_SH_LIST_SOC_BASE(mask_sh) |
|---|
| .. | .. |
|---|
| 302 | 343 | type AFMT_GENERIC2_FRAME_UPDATE_PENDING;\ |
|---|
| 303 | 344 | type AFMT_GENERIC3_FRAME_UPDATE_PENDING;\ |
|---|
| 304 | 345 | type AFMT_GENERIC4_FRAME_UPDATE_PENDING;\ |
|---|
| 346 | + type AFMT_GENERIC4_IMMEDIATE_UPDATE_PENDING;\ |
|---|
| 305 | 347 | type AFMT_GENERIC5_FRAME_UPDATE_PENDING;\ |
|---|
| 306 | 348 | type AFMT_GENERIC6_FRAME_UPDATE_PENDING;\ |
|---|
| 307 | 349 | type AFMT_GENERIC7_FRAME_UPDATE_PENDING;\ |
|---|
| .. | .. |
|---|
| 310 | 352 | type AFMT_GENERIC2_FRAME_UPDATE;\ |
|---|
| 311 | 353 | type AFMT_GENERIC3_FRAME_UPDATE;\ |
|---|
| 312 | 354 | type AFMT_GENERIC4_FRAME_UPDATE;\ |
|---|
| 355 | + type AFMT_GENERIC0_IMMEDIATE_UPDATE;\ |
|---|
| 356 | + type AFMT_GENERIC1_IMMEDIATE_UPDATE;\ |
|---|
| 357 | + type AFMT_GENERIC2_IMMEDIATE_UPDATE;\ |
|---|
| 358 | + type AFMT_GENERIC3_IMMEDIATE_UPDATE;\ |
|---|
| 359 | + type AFMT_GENERIC4_IMMEDIATE_UPDATE;\ |
|---|
| 360 | + type AFMT_GENERIC5_IMMEDIATE_UPDATE;\ |
|---|
| 361 | + type AFMT_GENERIC6_IMMEDIATE_UPDATE;\ |
|---|
| 362 | + type AFMT_GENERIC7_IMMEDIATE_UPDATE;\ |
|---|
| 313 | 363 | type AFMT_GENERIC5_FRAME_UPDATE;\ |
|---|
| 314 | 364 | type AFMT_GENERIC6_FRAME_UPDATE;\ |
|---|
| 315 | 365 | type AFMT_GENERIC7_FRAME_UPDATE;\ |
|---|
| .. | .. |
|---|
| 348 | 398 | type HDMI_GC_SEND;\ |
|---|
| 349 | 399 | type HDMI_NULL_SEND;\ |
|---|
| 350 | 400 | type HDMI_DATA_SCRAMBLE_EN;\ |
|---|
| 401 | + type HDMI_NO_EXTRA_NULL_PACKET_FILLED;\ |
|---|
| 351 | 402 | type HDMI_AUDIO_INFO_SEND;\ |
|---|
| 352 | 403 | type AFMT_AUDIO_INFO_UPDATE;\ |
|---|
| 353 | 404 | type HDMI_AUDIO_INFO_LINE;\ |
|---|
| .. | .. |
|---|
| 364 | 415 | type DP_SEC_GSP5_ENABLE;\ |
|---|
| 365 | 416 | type DP_SEC_GSP6_ENABLE;\ |
|---|
| 366 | 417 | type DP_SEC_GSP7_ENABLE;\ |
|---|
| 418 | + type DP_SEC_GSP7_PPS;\ |
|---|
| 419 | + type DP_SEC_GSP7_SEND;\ |
|---|
| 420 | + type DP_SEC_GSP4_SEND;\ |
|---|
| 421 | + type DP_SEC_GSP4_SEND_PENDING;\ |
|---|
| 422 | + type DP_SEC_GSP4_LINE_NUM;\ |
|---|
| 423 | + type DP_SEC_GSP4_SEND_ANY_LINE;\ |
|---|
| 367 | 424 | type DP_SEC_MPG_ENABLE;\ |
|---|
| 368 | 425 | type DP_VID_STREAM_DIS_DEFER;\ |
|---|
| 369 | 426 | type DP_VID_STREAM_ENABLE;\ |
|---|
| .. | .. |
|---|
| 404 | 461 | type DP_SEC_ATP_ENABLE;\ |
|---|
| 405 | 462 | type DP_SEC_AIP_ENABLE;\ |
|---|
| 406 | 463 | type DP_SEC_ACM_ENABLE;\ |
|---|
| 464 | + type DP_SEC_GSP7_LINE_NUM;\ |
|---|
| 407 | 465 | type AFMT_AUDIO_SAMPLE_SEND;\ |
|---|
| 408 | 466 | type AFMT_AUDIO_CLOCK_EN;\ |
|---|
| 409 | 467 | type TMDS_PIXEL_ENCODING;\ |
|---|
| .. | .. |
|---|
| 424 | 482 | type DP_MSA_VHEIGHT;\ |
|---|
| 425 | 483 | type HDMI_DB_DISABLE;\ |
|---|
| 426 | 484 | type DP_VID_N_MUL;\ |
|---|
| 427 | | - type DP_VID_M_DOUBLE_VALUE_EN |
|---|
| 485 | + type DP_VID_M_DOUBLE_VALUE_EN;\ |
|---|
| 486 | + type DIG_SOURCE_SELECT;\ |
|---|
| 487 | + type DIG_CLOCK_PATTERN |
|---|
| 488 | + |
|---|
| 489 | +#define SE_REG_FIELD_LIST_DCN2_0(type) \ |
|---|
| 490 | + type DP_DSC_MODE;\ |
|---|
| 491 | + type DP_DSC_SLICE_WIDTH;\ |
|---|
| 492 | + type DP_DSC_BYTES_PER_PIXEL;\ |
|---|
| 493 | + type DP_VBID6_LINE_REFERENCE;\ |
|---|
| 494 | + type DP_VBID6_LINE_NUM;\ |
|---|
| 495 | + type METADATA_ENGINE_EN;\ |
|---|
| 496 | + type METADATA_HUBP_REQUESTOR_ID;\ |
|---|
| 497 | + type METADATA_STREAM_TYPE;\ |
|---|
| 498 | + type DP_SEC_METADATA_PACKET_ENABLE;\ |
|---|
| 499 | + type DP_SEC_METADATA_PACKET_LINE_REFERENCE;\ |
|---|
| 500 | + type DP_SEC_METADATA_PACKET_LINE;\ |
|---|
| 501 | + type HDMI_METADATA_PACKET_ENABLE;\ |
|---|
| 502 | + type HDMI_METADATA_PACKET_LINE_REFERENCE;\ |
|---|
| 503 | + type HDMI_METADATA_PACKET_LINE;\ |
|---|
| 504 | + type DOLBY_VISION_EN;\ |
|---|
| 505 | + type DP_PIXEL_COMBINE;\ |
|---|
| 506 | + type DP_SST_SDP_SPLITTING |
|---|
| 507 | + |
|---|
| 508 | +#if defined(CONFIG_DRM_AMD_DC_DCN3_0) |
|---|
| 509 | +#define SE_REG_FIELD_LIST_DCN3_0(type) \ |
|---|
| 510 | + type HDMI_GENERIC8_CONT;\ |
|---|
| 511 | + type HDMI_GENERIC8_SEND;\ |
|---|
| 512 | + type HDMI_GENERIC8_LINE;\ |
|---|
| 513 | + type HDMI_GENERIC9_CONT;\ |
|---|
| 514 | + type HDMI_GENERIC9_SEND;\ |
|---|
| 515 | + type HDMI_GENERIC9_LINE;\ |
|---|
| 516 | + type HDMI_GENERIC10_CONT;\ |
|---|
| 517 | + type HDMI_GENERIC10_SEND;\ |
|---|
| 518 | + type HDMI_GENERIC10_LINE;\ |
|---|
| 519 | + type HDMI_GENERIC11_CONT;\ |
|---|
| 520 | + type HDMI_GENERIC11_SEND;\ |
|---|
| 521 | + type HDMI_GENERIC11_LINE;\ |
|---|
| 522 | + type HDMI_GENERIC12_CONT;\ |
|---|
| 523 | + type HDMI_GENERIC12_SEND;\ |
|---|
| 524 | + type HDMI_GENERIC12_LINE;\ |
|---|
| 525 | + type HDMI_GENERIC13_CONT;\ |
|---|
| 526 | + type HDMI_GENERIC13_SEND;\ |
|---|
| 527 | + type HDMI_GENERIC13_LINE;\ |
|---|
| 528 | + type HDMI_GENERIC14_CONT;\ |
|---|
| 529 | + type HDMI_GENERIC14_SEND;\ |
|---|
| 530 | + type HDMI_GENERIC14_LINE;\ |
|---|
| 531 | + type DP_SEC_GSP11_PPS;\ |
|---|
| 532 | + type DP_SEC_GSP11_ENABLE;\ |
|---|
| 533 | + type DP_SEC_GSP11_LINE_NUM |
|---|
| 534 | +#endif |
|---|
| 428 | 535 | |
|---|
| 429 | 536 | struct dcn10_stream_encoder_shift { |
|---|
| 430 | 537 | SE_REG_FIELD_LIST_DCN1_0(uint8_t); |
|---|
| 538 | + SE_REG_FIELD_LIST_DCN2_0(uint8_t); |
|---|
| 539 | +#if defined(CONFIG_DRM_AMD_DC_DCN3_0) |
|---|
| 540 | + SE_REG_FIELD_LIST_DCN3_0(uint8_t); |
|---|
| 541 | +#endif |
|---|
| 431 | 542 | }; |
|---|
| 432 | 543 | |
|---|
| 433 | 544 | struct dcn10_stream_encoder_mask { |
|---|
| 434 | 545 | SE_REG_FIELD_LIST_DCN1_0(uint32_t); |
|---|
| 546 | + SE_REG_FIELD_LIST_DCN2_0(uint32_t); |
|---|
| 547 | +#if defined(CONFIG_DRM_AMD_DC_DCN3_0) |
|---|
| 548 | + SE_REG_FIELD_LIST_DCN3_0(uint32_t); |
|---|
| 549 | +#endif |
|---|
| 435 | 550 | }; |
|---|
| 436 | 551 | |
|---|
| 437 | 552 | struct dcn10_stream_encoder { |
|---|
| .. | .. |
|---|
| 458 | 573 | void enc1_stream_encoder_dp_set_stream_attribute( |
|---|
| 459 | 574 | struct stream_encoder *enc, |
|---|
| 460 | 575 | struct dc_crtc_timing *crtc_timing, |
|---|
| 461 | | - enum dc_color_space output_color_space); |
|---|
| 576 | + enum dc_color_space output_color_space, |
|---|
| 577 | + bool use_vsc_sdp_for_colorimetry, |
|---|
| 578 | + uint32_t enable_sdp_splitting); |
|---|
| 462 | 579 | |
|---|
| 463 | 580 | void enc1_stream_encoder_hdmi_set_stream_attribute( |
|---|
| 464 | 581 | struct stream_encoder *enc, |
|---|
| .. | .. |
|---|
| 471 | 588 | struct dc_crtc_timing *crtc_timing, |
|---|
| 472 | 589 | bool is_dual_link); |
|---|
| 473 | 590 | |
|---|
| 474 | | -void enc1_stream_encoder_set_mst_bandwidth( |
|---|
| 591 | +void enc1_stream_encoder_set_throttled_vcp_size( |
|---|
| 475 | 592 | struct stream_encoder *enc, |
|---|
| 476 | 593 | struct fixed31_32 avg_time_slots_per_mtp); |
|---|
| 477 | 594 | |
|---|
| 478 | 595 | void enc1_stream_encoder_update_dp_info_packets( |
|---|
| 479 | 596 | struct stream_encoder *enc, |
|---|
| 480 | 597 | const struct encoder_info_frame *info_frame); |
|---|
| 598 | + |
|---|
| 599 | +void enc1_stream_encoder_send_immediate_sdp_message( |
|---|
| 600 | + struct stream_encoder *enc, |
|---|
| 601 | + const uint8_t *custom_sdp_message, |
|---|
| 602 | + unsigned int sdp_message_size); |
|---|
| 481 | 603 | |
|---|
| 482 | 604 | void enc1_stream_encoder_stop_dp_info_packets( |
|---|
| 483 | 605 | struct stream_encoder *enc); |
|---|
| .. | .. |
|---|
| 521 | 643 | void enc1_se_hdmi_audio_disable( |
|---|
| 522 | 644 | struct stream_encoder *enc); |
|---|
| 523 | 645 | |
|---|
| 646 | +void enc1_dig_connect_to_otg( |
|---|
| 647 | + struct stream_encoder *enc, |
|---|
| 648 | + int tg_inst); |
|---|
| 649 | + |
|---|
| 650 | +unsigned int enc1_dig_source_otg( |
|---|
| 651 | + struct stream_encoder *enc); |
|---|
| 652 | + |
|---|
| 653 | +void enc1_stream_encoder_set_stream_attribute_helper( |
|---|
| 654 | + struct dcn10_stream_encoder *enc1, |
|---|
| 655 | + struct dc_crtc_timing *crtc_timing); |
|---|
| 656 | + |
|---|
| 657 | +void enc1_se_enable_audio_clock( |
|---|
| 658 | + struct stream_encoder *enc, |
|---|
| 659 | + bool enable); |
|---|
| 660 | + |
|---|
| 661 | +void enc1_se_enable_dp_audio( |
|---|
| 662 | + struct stream_encoder *enc); |
|---|
| 663 | + |
|---|
| 664 | +void get_audio_clock_info( |
|---|
| 665 | + enum dc_color_depth color_depth, |
|---|
| 666 | + uint32_t crtc_pixel_clock_100Hz, |
|---|
| 667 | + uint32_t actual_pixel_clock_100Hz, |
|---|
| 668 | + struct audio_clock_info *audio_clock_info); |
|---|
| 669 | + |
|---|
| 670 | +void enc1_reset_hdmi_stream_attribute( |
|---|
| 671 | + struct stream_encoder *enc); |
|---|
| 672 | + |
|---|
| 673 | +bool enc1_stream_encoder_dp_get_pixel_format( |
|---|
| 674 | + struct stream_encoder *enc, |
|---|
| 675 | + enum dc_pixel_encoding *encoding, |
|---|
| 676 | + enum dc_color_depth *depth); |
|---|
| 677 | + |
|---|
| 524 | 678 | #endif /* __DC_STREAM_ENCODER_DCN10_H__ */ |
|---|