Lines Matching defs:dc

38 #include "dc/dc_dmub_srv.h"
374 link->dc->hwss.edp_power_control(link, true);
376 link->dc->hwss.edp_wait_for_hpd_ready(link, true);
377 if (link->dc->hwss.edp_backlight_control)
378 link->dc->hwss.edp_backlight_control(link, true);
385 if (!link->dc->config.edp_no_power_sequencing)
386 link->dc->hwss.edp_power_control(link, true);
387 link->dc->hwss.edp_wait_for_hpd_ready(link, true);
390 if (link->dc->hwss.edp_backlight_control)
391 link->dc->hwss.edp_backlight_control(link, true);
400 if (link->dc->hwss.edp_backlight_control)
401 link->dc->hwss.edp_backlight_control(link, false);
404 if (!link->dc->config.edp_no_power_sequencing)
405 link->dc->hwss.edp_power_control(link, false);
411 if (link->connector_signal == SIGNAL_TYPE_EDP && link->dc->hwss.edp_wait_for_T12) {
412 link->dc->hwss.edp_wait_for_T12(link);
505 struct dc *dc = link->ctx->dc;
509 if (dc->current_state->res_ctx.pipe_ctx[i].stream) {
510 if (dc->current_state->res_ctx.pipe_ctx[i].stream->link == link) {
511 pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i];
524 struct dc *dc = link->ctx->dc;
546 dc->hwss.set_backlight_level(
557 struct dc *dc = link->ctx->dc;
558 struct dmcu *dmcu = dc->res_pool->dmcu;
559 struct dmub_psr *psr = dc->res_pool->psr;
565 if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst))
590 dc_z10_restore(dc);
605 struct dc *dc = link->ctx->dc;
606 struct dmcu *dmcu = dc->res_pool->dmcu;
607 struct dmub_psr *psr = dc->res_pool->psr;
610 if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst))
662 struct dc *dc;
676 dc = link->ctx->dc;
677 dmcu = dc->res_pool->dmcu;
678 psr = dc->res_pool->psr;
683 if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst))
747 if (dc->current_state->res_ctx.pipe_ctx[i].stream
753 dc->current_state->res_ctx.
781 link->dc->res_pool->timing_generator_count;
801 if (dc->debug.disable_z10 || dc->debug.psr_skip_crtc_disable)
855 struct dc *dc = link->ctx->dc;
856 struct dmub_psr *psr = dc->res_pool->psr;
859 if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst))
870 struct dc *dc = link->ctx->dc;
871 struct dmub_psr *psr = dc->res_pool->psr;
884 struct dc *dc = link->ctx->dc;
885 struct dmub_replay *replay = dc->res_pool->replay;
891 if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst))
917 struct dc *dc = link->ctx->dc;
918 struct dmub_replay *replay = dc->res_pool->replay;
922 if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst))
935 struct dc *dc;
952 dc = link->ctx->dc;
954 replay = dc->res_pool->replay;
959 if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst))
967 if (dc->current_state->res_ctx.pipe_ctx[i].stream
973 dc->current_state->res_ctx.pipe_ctx[i].stream_res.tg->inst + 1;
1017 struct dc *dc = link->ctx->dc;
1018 struct dmub_replay *replay = dc->res_pool->replay;
1026 if (dc_get_edp_link_panel_inst(dc, link, &panel_inst))
1040 struct dc *dc = link->ctx->dc;
1041 struct dmub_replay *replay = dc->res_pool->replay;
1047 if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst))
1061 struct dc *dc = link->ctx->dc;
1062 struct dmub_replay *replay = dc->res_pool->replay;
1065 if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst))
1082 struct dc *dc = link->ctx->dc;
1083 struct dmub_replay *replay = dc->res_pool->replay;
1086 if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst))
1109 struct dc *dc = link->ctx->dc;
1113 struct pipe_ctx pipe_ctx = dc->current_state->res_ctx.pipe_ctx[i];
1128 struct dc *dc = link->ctx->dc;
1129 struct dmcu *dmcu = dc->res_pool->dmcu;
1153 static void edp_set_assr_enable(const struct dc *pDC, struct dc_link *link,
1199 if (link->dc->config.use_assr_psp_message) {
1200 edp_set_assr_enable(link->dc, link, link_res, enable);