/linux-6.6.21/drivers/gpu/drm/amd/display/include/ |
D | logger_interface.h | 83 (void)(dc_ctx); \ 89 (void)(dc_ctx); \ 128 dm_dtn_log_begin(dc_ctx, log_ctx) 131 dm_dtn_log_append_v(dc_ctx, log_ctx, msg, ##__VA_ARGS__) 134 dm_dtn_log_end(dc_ctx, log_ctx)
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/ |
D | link_factory.c | 474 struct dc_context *dc_ctx = init_params->ctx; in construct_phy() local 482 DC_LOGGER_INIT(dc_ctx->logger); in construct_phy() 489 link->ctx = dc_ctx; in construct_phy() 618 enc_init_data.ctx = dc_ctx; in construct_phy() 619 bp_funcs->get_src_obj(dc_ctx->dc_bios, link->link_id, 0, in construct_phy() 630 link->dc->res_pool->funcs->link_enc_create(dc_ctx, &enc_init_data); in construct_phy() 652 panel_cntl_init_data.ctx = dc_ctx; in construct_phy() 666 if (bp_funcs->get_device_tag(dc_ctx->dc_bios, in construct_phy() 676 if (!bp_funcs->is_device_id_supported(dc_ctx->dc_bios, in construct_phy() 767 struct dc_context *dc_ctx = init_params->ctx; in construct_dpia() local [all …]
|
D | link_detection.c | 856 struct dc_context *dc_ctx = link->ctx; in detect_link_and_local_sink() local 857 struct dc *dc = dc_ctx->dc; in detect_link_and_local_sink() 937 dc_ctx->dce_version == DCN_VERSION_3_01 && in detect_link_and_local_sink() 1163 if (dc_ctx->dc->res_pool->funcs->get_panel_config_defaults) in detect_link_and_local_sink() 1164 dc_ctx->dc->res_pool->funcs->get_panel_config_defaults(&link->panel_config); in detect_link_and_local_sink() 1166 dm_helpers_init_panel_settings(dc_ctx, &link->panel_config, sink); in detect_link_and_local_sink() 1168 dm_helpers_override_panel_settings(dc_ctx, &link->panel_config); in detect_link_and_local_sink()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/ |
D | dc_dmub_srv.c | 72 struct dc_context *dc_ctx = dc_dmub_srv->ctx; in dc_dmub_srv_wait_idle() local 85 struct dc_context *dc_ctx = dmub_srv->ctx; in dc_dmub_srv_clear_inbox0_ack() local 98 struct dc_context *dc_ctx = dmub_srv->ctx; in dc_dmub_srv_wait_for_inbox0_ack() local 112 struct dc_context *dc_ctx = dmub_srv->ctx; in dc_dmub_srv_send_inbox0_cmd() local 129 struct dc_context *dc_ctx; in dc_dmub_srv_cmd_run_list() local 137 dc_ctx = dc_dmub_srv->ctx; in dc_dmub_srv_cmd_run_list() 188 struct dc_context *dc_ctx; in dc_dmub_srv_optimized_init_done() local 196 dc_ctx = dc_dmub_srv->ctx; in dc_dmub_srv_optimized_init_done() 226 struct dc_context *dc_ctx; in dc_dmub_srv_is_restore_required() local 234 dc_ctx = dc_dmub_srv->ctx; in dc_dmub_srv_is_restore_required()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/ |
D | dc.c | 856 struct dc_context *dc_ctx; in dc_construct_ctx() local 858 dc_ctx = kzalloc(sizeof(*dc_ctx), GFP_KERNEL); in dc_construct_ctx() 859 if (!dc_ctx) in dc_construct_ctx() 862 dc_ctx->cgs_device = init_params->cgs_device; in dc_construct_ctx() 863 dc_ctx->driver_context = init_params->driver; in dc_construct_ctx() 864 dc_ctx->dc = dc; in dc_construct_ctx() 865 dc_ctx->asic_id = init_params->asic_id; in dc_construct_ctx() 866 dc_ctx->dc_sink_id_count = 0; in dc_construct_ctx() 867 dc_ctx->dc_stream_id_count = 0; in dc_construct_ctx() 868 dc_ctx->dce_environment = init_params->dce_environment; in dc_construct_ctx() [all …]
|
D | dc_resource.c | 2448 struct dc_context *dc_ctx = dc->ctx; in dc_remove_stream_from_ctx() local 2721 struct dc_context *dc_ctx = dc->ctx; in resource_map_pool_resources() local 2792 &context->res_ctx, pool, pipe_ctx->stream_res.stream_enc->id, dc_ctx->dce_version); in resource_map_pool_resources()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hw_sequencer_debug.c | 74 struct dc_context *dc_ctx = dc->ctx; in dcn10_get_hubbub_state() local 81 const uint32_t ref_clk_mhz = dc_ctx->dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000; in dcn10_get_hubbub_state() 112 struct dc_context *dc_ctx = dc->ctx; in dcn10_get_hubp_states() local 119 const uint32_t ref_clk_mhz = dc_ctx->dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000; in dcn10_get_hubp_states()
|
D | dcn10_hw_sequencer.c | 73 print_microsec(dc_ctx, log_ctx, ref_cycle) 80 static void print_microsec(struct dc_context *dc_ctx, in print_microsec() argument 84 const uint32_t ref_clk_mhz = dc_ctx->dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000; in print_microsec() 128 struct dc_context *dc_ctx = dc->ctx; in log_mpc_crc() local 142 struct dc_context *dc_ctx = dc->ctx; in dcn10_log_hubbub_state() local 170 struct dc_context *dc_ctx = dc->ctx; in dcn10_log_hubp_states() local 285 struct dc_context *dc_ctx = dc->ctx; in dcn10_log_hw_state() local 1989 struct dc_context *dc_ctx, in wait_for_reset_trigger_to_occur() argument 2108 struct dc_context *dc_ctx = dc->ctx; in dcn10_align_pixel_clocks() local 2199 struct dc_context *dc_ctx = dc->ctx; in dcn10_enable_vblanks_synchronization() local [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.h | 163 enum dc_status dcn20_add_dsc_to_stream_resource(struct dc *dc, struct dc_state *dc_ctx, struct dc_s…
|
D | dcn20_resource.c | 1361 struct dc_state *dc_ctx, in dcn20_add_dsc_to_stream_resource() argument 1369 struct pipe_ctx *pipe_ctx = &dc_ctx->res_ctx.pipe_ctx[i]; in dcn20_add_dsc_to_stream_resource() 1380 dcn20_acquire_dsc(dc, &dc_ctx->res_ctx, &pipe_ctx->stream_res.dsc, i); in dcn20_add_dsc_to_stream_resource()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_dio_link_encoder.c | 423 static bool link_dpia_control(struct dc_context *dc_ctx, in link_dpia_control() argument 439 dm_execute_dmub_cmd(dc_ctx, &cmd, DM_DMUB_WAIT_TYPE_WAIT); in link_dpia_control()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/irq/dce110/ |
D | irq_service_dce110.c | 206 struct dc_context *dc_ctx = irq_service->ctx; in dce110_vblank_set() local
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 2461 struct dc_context *dc_ctx, in wait_for_reset_trigger_to_occur() argument 2504 struct dc_context *dc_ctx = dc->ctx; in dce110_enable_timing_synchronization() local 2530 wait_for_reset_trigger_to_occur(dc_ctx, grouped_pipes[i]->stream_res.tg); in dce110_enable_timing_synchronization() 2549 struct dc_context *dc_ctx = dc->ctx; in dce110_enable_per_frame_crtc_position_reset() local 2570 wait_for_reset_trigger_to_occur(dc_ctx, grouped_pipes[i]->stream_res.tg); in dce110_enable_per_frame_crtc_position_reset()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/protocols/ |
D | link_edp_panel_control.c | 613 struct dc_context *dc_ctx = link->ctx; in transmitter_to_phy_id() local
|
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 2682 struct dc_context *dc_ctx = link->ctx; in emulated_link_detect() local
|