/linux-6.3-rc2/drivers/gpu/drm/amd/display/include/ |
A 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.3-rc2/drivers/gpu/drm/amd/display/dc/link/ |
A D | link_factory.c | 189 struct dc_context *dc_ctx = init_params->ctx; in dc_link_construct_phy() local 197 DC_LOGGER_INIT(dc_ctx->logger); in dc_link_construct_phy() 204 link->ctx = dc_ctx; in dc_link_construct_phy() 334 panel_cntl_init_data.ctx = dc_ctx; in dc_link_construct_phy() 348 enc_init_data.ctx = dc_ctx; in dc_link_construct_phy() 349 bp_funcs->get_src_obj(dc_ctx->dc_bios, link->link_id, 0, in dc_link_construct_phy() 379 if (bp_funcs->get_device_tag(dc_ctx->dc_bios, in dc_link_construct_phy() 389 if (!bp_funcs->is_device_id_supported(dc_ctx->dc_bios, in dc_link_construct_phy() 480 struct dc_context *dc_ctx = init_params->ctx; in dc_link_construct_dpia() local 482 DC_LOGGER_INIT(dc_ctx->logger); in dc_link_construct_dpia() [all …]
|
A D | link_detection.c | 852 struct dc_context *dc_ctx = link->ctx; in detect_link_and_local_sink() local 853 struct dc *dc = dc_ctx->dc; in detect_link_and_local_sink() 933 dc_ctx->dce_version == DCN_VERSION_3_01 && in detect_link_and_local_sink() 1153 if (dc_ctx->dc->res_pool->funcs->get_panel_config_defaults) in detect_link_and_local_sink() 1154 dc_ctx->dc->res_pool->funcs->get_panel_config_defaults(&link->panel_config); in detect_link_and_local_sink() 1156 dm_helpers_init_panel_settings(dc_ctx, &link->panel_config, sink); in detect_link_and_local_sink() 1158 dm_helpers_override_panel_settings(dc_ctx, &link->panel_config); in detect_link_and_local_sink()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc.c | 848 struct dc_context *dc_ctx; in dc_construct_ctx() local 851 dc_ctx = kzalloc(sizeof(*dc_ctx), GFP_KERNEL); in dc_construct_ctx() 852 if (!dc_ctx) in dc_construct_ctx() 857 dc_ctx->dc = dc; in dc_construct_ctx() 871 if (!dc_ctx->perf_trace) { in dc_construct_ctx() 872 kfree(dc_ctx); in dc_construct_ctx() 877 dc->ctx = dc_ctx; in dc_construct_ctx() 938 dc_ctx = dc->ctx; in dc_construct() 955 if (!dc_ctx->dc_bios) { in dc_construct() 967 dc_ctx->dce_version, in dc_construct() [all …]
|
A D | dc_resource.c | 2197 struct dc_context *dc_ctx = dc->ctx; in dc_remove_stream_from_ctx() local 2470 struct dc_context *dc_ctx = dc->ctx; in resource_map_pool_resources() local 2540 &context->res_ctx, pool, pipe_ctx->stream_res.stream_enc->id, dc_ctx->dce_version); in resource_map_pool_resources()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/ |
A D | dc_dmub_srv.c | 72 struct dc_context *dc_ctx = dc_dmub_srv->ctx; in dc_dmub_srv_cmd_queue() local 99 struct dc_context *dc_ctx = dc_dmub_srv->ctx; in dc_dmub_srv_cmd_execute() local 112 struct dc_context *dc_ctx = dc_dmub_srv->ctx; in dc_dmub_srv_wait_idle() local 125 struct dc_context *dc_ctx = dmub_srv->ctx; in dc_dmub_srv_clear_inbox0_ack() local 138 struct dc_context *dc_ctx = dmub_srv->ctx; in dc_dmub_srv_wait_for_inbox0_ack() local 152 struct dc_context *dc_ctx = dmub_srv->ctx; in dc_dmub_srv_send_inbox0_cmd() local 184 struct dc_context *dc_ctx = dc_dmub_srv->ctx; in dc_dmub_srv_wait_phy_init() local 227 struct dc_context *dc_ctx; in dc_dmub_srv_is_restore_required() local 235 dc_ctx = dc_dmub_srv->ctx; in dc_dmub_srv_is_restore_required()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/ |
A D | dcn10_hw_sequencer_debug.c | 73 struct dc_context *dc_ctx = dc->ctx; in dcn10_get_hubbub_state() local 80 const uint32_t ref_clk_mhz = dc_ctx->dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000; in dcn10_get_hubbub_state() 111 struct dc_context *dc_ctx = dc->ctx; in dcn10_get_hubp_states() local 118 const uint32_t ref_clk_mhz = dc_ctx->dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000; in dcn10_get_hubp_states()
|
A 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 127 struct dc_context *dc_ctx = dc->ctx; in log_mpc_crc() local 141 struct dc_context *dc_ctx = dc->ctx; in dcn10_log_hubbub_state() local 169 struct dc_context *dc_ctx = dc->ctx; in dcn10_log_hubp_states() local 284 struct dc_context *dc_ctx = dc->ctx; in dcn10_log_hw_state() local 1998 struct dc_context *dc_ctx, in wait_for_reset_trigger_to_occur() argument 2117 struct dc_context *dc_ctx = dc->ctx; in dcn10_align_pixel_clocks() local 2208 struct dc_context *dc_ctx = dc->ctx; in dcn10_enable_vblanks_synchronization() local 2271 struct dc_context *dc_ctx = dc->ctx; in dcn10_enable_timing_synchronization() local [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_resource.h | 162 enum dc_status dcn20_add_dsc_to_stream_resource(struct dc *dc, struct dc_state *dc_ctx, struct dc_s…
|
A D | dcn20_resource.c | 1382 struct dc_state *dc_ctx, in dcn20_add_dsc_to_stream_resource() argument 1390 struct pipe_ctx *pipe_ctx = &dc_ctx->res_ctx.pipe_ctx[i]; in dcn20_add_dsc_to_stream_resource() 1401 dcn20_acquire_dsc(dc, &dc_ctx->res_ctx, &pipe_ctx->stream_res.dsc, i); in dcn20_add_dsc_to_stream_resource()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn31/ |
A D | dcn31_dio_link_encoder.c | 423 static bool link_dpia_control(struct dc_context *dc_ctx, in link_dpia_control() argument 427 struct dc_dmub_srv *dmub = dc_ctx->dmub_srv; in link_dpia_control()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/irq/dce110/ |
A D | irq_service_dce110.c | 206 struct dc_context *dc_ctx = irq_service->ctx; in dce110_vblank_set() local
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce110/ |
A D | dce110_hw_sequencer.c | 2439 struct dc_context *dc_ctx, in wait_for_reset_trigger_to_occur() argument 2482 struct dc_context *dc_ctx = dc->ctx; in dce110_enable_timing_synchronization() local 2508 wait_for_reset_trigger_to_occur(dc_ctx, grouped_pipes[i]->stream_res.tg); in dce110_enable_timing_synchronization() 2527 struct dc_context *dc_ctx = dc->ctx; in dce110_enable_per_frame_crtc_position_reset() local 2548 wait_for_reset_trigger_to_occur(dc_ctx, grouped_pipes[i]->stream_res.tg); in dce110_enable_per_frame_crtc_position_reset()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/protocols/ |
A D | link_edp_panel_control.c | 526 struct dc_context *dc_ctx = link->ctx; in transmitter_to_phy_id() local
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm.c | 2580 struct dc_context *dc_ctx = link->ctx; in emulated_link_detect() local
|