Home
last modified time | relevance | path

Searched refs:dc_dmub_srv (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/display/dc/
Ddc_dmub_srv.h47 struct dc_dmub_srv { struct
55 void dc_dmub_srv_cmd_queue(struct dc_dmub_srv *dc_dmub_srv, argument
58 void dc_dmub_srv_cmd_execute(struct dc_dmub_srv *dc_dmub_srv);
60 void dc_dmub_srv_wait_idle(struct dc_dmub_srv *dc_dmub_srv);
62 void dc_dmub_srv_wait_phy_init(struct dc_dmub_srv *dc_dmub_srv);
64 bool dc_dmub_srv_cmd_with_reply_data(struct dc_dmub_srv *dc_dmub_srv, union dmub_rb_cmd *cmd);
66 bool dc_dmub_srv_notify_stream_mask(struct dc_dmub_srv *dc_dmub_srv,
69 bool dc_dmub_srv_is_restore_required(struct dc_dmub_srv *dc_dmub_srv);
82 void dc_dmub_srv_clear_inbox0_ack(struct dc_dmub_srv *dmub_srv);
83 void dc_dmub_srv_wait_for_inbox0_ack(struct dc_dmub_srv *dmub_srv);
[all …]
Ddc_dmub_srv.c35 #define CTX dc_dmub_srv->ctx
38 static void dc_dmub_srv_construct(struct dc_dmub_srv *dc_srv, struct dc *dc, in dc_dmub_srv_construct()
45 struct dc_dmub_srv *dc_dmub_srv_create(struct dc *dc, struct dmub_srv *dmub) in dc_dmub_srv_create()
47 struct dc_dmub_srv *dc_srv = in dc_dmub_srv_create()
48 kzalloc(sizeof(struct dc_dmub_srv), GFP_KERNEL); in dc_dmub_srv_create()
60 void dc_dmub_srv_destroy(struct dc_dmub_srv **dmub_srv) in dc_dmub_srv_destroy()
68 void dc_dmub_srv_cmd_queue(struct dc_dmub_srv *dc_dmub_srv, in dc_dmub_srv_cmd_queue() argument
71 struct dmub_srv *dmub = dc_dmub_srv->dmub; in dc_dmub_srv_cmd_queue()
72 struct dc_context *dc_ctx = dc_dmub_srv->ctx; in dc_dmub_srv_cmd_queue()
83 dc_dmub_srv_cmd_execute(dc_dmub_srv); in dc_dmub_srv_cmd_queue()
[all …]
Ddm_services.h42 struct dc_dmub_srv;
126 struct dc_dmub_srv *dc_dmub_srv_create(struct dc *dc, struct dmub_srv *dmub);
127 void dc_dmub_srv_destroy(struct dc_dmub_srv **dmub_srv);
DMakefile80 DC_DMUB += dc_dmub_srv.o
Ddc_types.h50 struct dc_dmub_srv;
875 struct dc_dmub_srv *dmub_srv;
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_panel_cntl.c44 struct dc_dmub_srv *dc_dmub_srv = panel_cntl->ctx->dmub_srv; in dcn31_query_backlight_info() local
46 if (!dc_dmub_srv) in dcn31_query_backlight_info()
55 return dc_dmub_srv_cmd_with_reply_data(dc_dmub_srv, cmd); in dcn31_query_backlight_info()
71 struct dc_dmub_srv *dc_dmub_srv = panel_cntl->ctx->dmub_srv; in dcn31_panel_cntl_hw_init() local
74 if (!dc_dmub_srv) in dcn31_panel_cntl_hw_init()
88 if (!dc_dmub_srv_cmd_with_reply_data(dc_dmub_srv, &cmd)) in dcn31_panel_cntl_hw_init()
Ddcn31_dio_link_encoder.c105 struct dc_dmub_srv *dc_dmub_srv = enc->ctx->dmub_srv; in has_query_dp_alt() local
111 return dc_dmub_srv && in has_query_dp_alt()
112 !(dc_dmub_srv->dmub->fw_version >= DMUB_FW_VERSION(4, 0, 0) && in has_query_dp_alt()
113 dc_dmub_srv->dmub->fw_version <= DMUB_FW_VERSION(4, 0, 10)); in has_query_dp_alt()
120 struct dc_dmub_srv *dc_dmub_srv = enc->ctx->dmub_srv; in query_dp_alt_from_dmub() local
129 if (!dc_dmub_srv_cmd_with_reply_data(dc_dmub_srv, cmd)) in query_dp_alt_from_dmub()
428 struct dc_dmub_srv *dmub = dc_ctx->dmub_srv; in link_dpia_control()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dce/
Ddmub_outbox.h29 struct dc_dmub_srv;
31 void dmub_enable_outbox_notification(struct dc_dmub_srv *dmub_srv);
Ddmub_hw_lock_mgr.h32 void dmub_hw_lock_mgr_cmd(struct dc_dmub_srv *dmub_srv,
37 void dmub_hw_lock_mgr_inbox0_cmd(struct dc_dmub_srv *dmub_srv,
Ddmub_hw_lock_mgr.c31 void dmub_hw_lock_mgr_cmd(struct dc_dmub_srv *dmub_srv, in dmub_hw_lock_mgr_cmd()
55 void dmub_hw_lock_mgr_inbox0_cmd(struct dc_dmub_srv *dmub_srv, in dmub_hw_lock_mgr_inbox0_cmd()
Ddmub_outbox.c39 void dmub_enable_outbox_notification(struct dc_dmub_srv *dmub_srv) in dmub_enable_outbox_notification()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/bios/
Dcommand_table2.c111 struct dc_dmub_srv *dmcub, in encoder_control_dmcub()
249 struct dc_dmub_srv *dmcub, in transmitter_control_dmcub()
313 struct dc_dmub_srv *dmcub, in transmitter_control_dmcub_v1_7()
424 struct dc_dmub_srv *dmcub, in set_pixel_clock_dmcub()
792 struct dc_dmub_srv *dmcub, in enable_disp_power_gating_dmcub()
999 struct dc_dmub_srv *dmcub, in enable_lvtma_control_dmcub()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_dpia.c76 struct dc_dmub_srv *dmub_srv = link->ctx->dmub_srv; in dc_link_dpia_query_hpd_status()
Ddc.c4480 struct dc_dmub_srv *dmub_srv = dc->ctx->dmub_srv; in dc_process_dmub_aux_transfer_async()
4578 struct dc_dmub_srv *dmub_srv = dc->ctx->dmub_srv; in dc_process_dmub_set_config_async()
4628 struct dc_dmub_srv *dmub_srv = dc->ctx->dmub_srv; in dc_process_dmub_set_mst_slots()
4678 struct dc_dmub_srv *dmub_srv = dc->ctx->dmub_srv; in dc_process_dmub_dpia_hpd_int_enable()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_hubp.c670 struct dc_dmub_srv *dmcub = hubp->ctx->dmub_srv; in dmcub_PLAT_54186_wa()