Home
last modified time | relevance | path

Searched refs:dc_ctx (Results 1 – 13 of 13) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/amd/display/include/
Dlogger_interface.h83 (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-5.19.10/drivers/gpu/drm/amd/display/dc/
Ddc_dmub_srv.c68 struct dc_context *dc_ctx = dc_dmub_srv->ctx; in dc_dmub_srv_cmd_queue() local
95 struct dc_context *dc_ctx = dc_dmub_srv->ctx; in dc_dmub_srv_cmd_execute() local
108 struct dc_context *dc_ctx = dc_dmub_srv->ctx; in dc_dmub_srv_wait_idle() local
121 struct dc_context *dc_ctx = dmub_srv->ctx; in dc_dmub_srv_clear_inbox0_ack() local
134 struct dc_context *dc_ctx = dmub_srv->ctx; in dc_dmub_srv_wait_for_inbox0_ack() local
148 struct dc_context *dc_ctx = dmub_srv->ctx; in dc_dmub_srv_send_inbox0_cmd() local
180 struct dc_context *dc_ctx = dc_dmub_srv->ctx; in dc_dmub_srv_wait_phy_init() local
223 struct dc_context *dc_ctx; in dc_dmub_srv_is_restore_required() local
231 dc_ctx = dc_dmub_srv->ctx; in dc_dmub_srv_is_restore_required()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/core/
Ddc.c846 struct dc_context *dc_ctx; in dc_construct_ctx() local
849 dc_ctx = kzalloc(sizeof(*dc_ctx), GFP_KERNEL); in dc_construct_ctx()
850 if (!dc_ctx) in dc_construct_ctx()
853 dc_ctx->cgs_device = init_params->cgs_device; in dc_construct_ctx()
854 dc_ctx->driver_context = init_params->driver; in dc_construct_ctx()
855 dc_ctx->dc = dc; in dc_construct_ctx()
856 dc_ctx->asic_id = init_params->asic_id; in dc_construct_ctx()
857 dc_ctx->dc_sink_id_count = 0; in dc_construct_ctx()
858 dc_ctx->dc_stream_id_count = 0; in dc_construct_ctx()
859 dc_ctx->dce_environment = init_params->dce_environment; in dc_construct_ctx()
[all …]
Ddc_link.c1019 struct dc_context *dc_ctx = link->ctx; in detect_link_and_local_sink() local
1020 struct dc *dc = dc_ctx->dc; in detect_link_and_local_sink()
1104 dc_ctx->dce_version == DCN_VERSION_3_01 && in detect_link_and_local_sink()
1529 struct dc_context *dc_ctx = init_params->ctx; in dc_link_construct_legacy() local
1537 DC_LOGGER_INIT(dc_ctx->logger); in dc_link_construct_legacy()
1549 link->ctx = dc_ctx; in dc_link_construct_legacy()
1679 panel_cntl_init_data.ctx = dc_ctx; in dc_link_construct_legacy()
1693 enc_init_data.ctx = dc_ctx; in dc_link_construct_legacy()
1694 bp_funcs->get_src_obj(dc_ctx->dc_bios, link->link_id, 0, in dc_link_construct_legacy()
1725 if (bp_funcs->get_device_tag(dc_ctx->dc_bios, in dc_link_construct_legacy()
[all …]
Ddc_resource.c1968 struct dc_context *dc_ctx = dc->ctx; in dc_remove_stream_from_ctx() local
2233 struct dc_context *dc_ctx = dc->ctx; in resource_map_pool_resources() local
2305 &context->res_ctx, pool, pipe_ctx->stream_res.stream_enc->id, dc_ctx->dce_version); in resource_map_pool_resources()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer_debug.c73 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()
Ddcn10_hw_sequencer.c73 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()
125 struct dc_context *dc_ctx = dc->ctx; in log_mpc_crc() local
139 struct dc_context *dc_ctx = dc->ctx; in dcn10_log_hubbub_state() local
167 struct dc_context *dc_ctx = dc->ctx; in dcn10_log_hubp_states() local
282 struct dc_context *dc_ctx = dc->ctx; in dcn10_log_hw_state() local
1958 struct dc_context *dc_ctx, in wait_for_reset_trigger_to_occur() argument
2077 struct dc_context *dc_ctx = dc->ctx; in dcn10_align_pixel_clocks() local
2168 struct dc_context *dc_ctx = dc->ctx; in dcn10_enable_vblanks_synchronization() local
[all …]
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.h161 enum dc_status dcn20_add_dsc_to_stream_resource(struct dc *dc, struct dc_state *dc_ctx, struct dc_s…
Ddcn20_resource.c1369 struct dc_state *dc_ctx, in dcn20_add_dsc_to_stream_resource() argument
1377 struct pipe_ctx *pipe_ctx = &dc_ctx->res_ctx.pipe_ctx[i]; in dcn20_add_dsc_to_stream_resource()
1385 dcn20_acquire_dsc(dc, &dc_ctx->res_ctx, &pipe_ctx->stream_res.dsc, i); in dcn20_add_dsc_to_stream_resource()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_dio_link_encoder.c421 static bool link_dpia_control(struct dc_context *dc_ctx, in link_dpia_control() argument
425 struct dc_dmub_srv *dmub = dc_ctx->dmub_srv; in link_dpia_control()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/irq/dce110/
Dirq_service_dce110.c208 struct dc_context *dc_ctx = irq_service->ctx; in dce110_vblank_set() local
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c2447 struct dc_context *dc_ctx, in wait_for_reset_trigger_to_occur() argument
2490 struct dc_context *dc_ctx = dc->ctx; in dce110_enable_timing_synchronization() local
2516 wait_for_reset_trigger_to_occur(dc_ctx, grouped_pipes[i]->stream_res.tg); in dce110_enable_timing_synchronization()
2535 struct dc_context *dc_ctx = dc->ctx; in dce110_enable_per_frame_crtc_position_reset() local
2556 wait_for_reset_trigger_to_occur(dc_ctx, grouped_pipes[i]->stream_res.tg); in dce110_enable_per_frame_crtc_position_reset()
/linux-5.19.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c2506 struct dc_context *dc_ctx = link->ctx; in emulated_link_detect() local