Home
last modified time | relevance | path

Searched refs:dc_bios (Results 1 – 25 of 111) sorted by relevance

12345

/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/
A Ddc_bios_types.h45 struct dc_bios *bios,
48 struct dc_bios *bios,
52 struct dc_bios *dcb,
56 struct dc_bios *bios,
60 struct dc_bios *bios,
65 struct dc_bios *bios,
70 struct dc_bios *bios,
73 struct dc_bios *bios,
131 struct dc_bios *dcb,
134 struct dc_bios *dcb,
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/bios/
A Dbios_parser_helper.h31 uint8_t *bios_get_image(struct dc_bios *bp, uint32_t offset,
34 bool bios_is_accelerated_mode(struct dc_bios *bios);
35 void bios_set_scratch_acc_mode_change(struct dc_bios *bios, uint32_t state);
36 void bios_set_scratch_critical_state(struct dc_bios *bios, bool state);
37 uint32_t bios_get_vga_enabled_displays(struct dc_bios *bios);
A Dbios_parser_helper.c36 uint8_t *bios_get_image(struct dc_bios *bp, in bios_get_image()
58 struct dc_bios *bios) in bios_is_accelerated_mode()
67 struct dc_bios *bios, in bios_set_scratch_acc_mode_change()
75 struct dc_bios *bios, in bios_set_scratch_critical_state()
83 struct dc_bios *bios) in bios_get_vga_enabled_displays()
A Dbios_parser_interface.c35 struct dc_bios *dal_bios_parser_create( in dal_bios_parser_create()
39 struct dc_bios *bios = NULL; in dal_bios_parser_create()
50 void dal_bios_parser_destroy(struct dc_bios **dcb) in dal_bios_parser_destroy()
52 struct dc_bios *bios = *dcb; in dal_bios_parser_destroy()
A Dbios_parser_types_internal.h54 struct dc_bios base;
69 #define BP_FROM_DCB(dc_bios) \ argument
70 container_of(dc_bios, struct bios_parser, base)
A Dbios_parser_types_internal2.h56 struct dc_bios base;
72 #define BP_FROM_DCB(dc_bios) \ argument
73 container_of(dc_bios, struct bios_parser, base)
A Dbios_parser.c87 struct dc_bios *dcb);
90 struct dc_bios *dcb,
159 struct dc_bios *dcb, in bios_parser_get_connector_id()
330 struct dc_bios *dcb, in bios_parser_get_device_tag()
378 struct dc_bios *dcb, in bios_parser_get_firmware_info()
730 struct dc_bios *dcb, in bios_parser_transmitter_control()
742 struct dc_bios *dcb, in bios_parser_encoder_control()
754 struct dc_bios *dcb, in bios_parser_adjust_pixel_clock()
766 struct dc_bios *dcb, in bios_parser_set_pixel_clock()
778 struct dc_bios *dcb, in bios_parser_set_dce_clock()
[all …]
A Dbios_parser2.c58 struct dc_bios *dcb,
62 struct dc_bios *dcb,
160 struct dc_bios *dcb, in bios_parser_get_connector_id()
563 struct dc_bios *dcb, in bios_parser_get_hpd_info()
656 struct dc_bios *dcb, in bios_parser_get_gpio_pin_info()
765 struct dc_bios *dcb, in bios_parser_get_device_tag()
1062 struct dc_bios *dcb, in bios_parser_get_spread_spectrum_info()
1160 struct dc_bios *dcb, in bios_parser_get_soc_bb_info()
1323 struct dc_bios *dcb, in bios_parser_get_lttpr_interop()
1373 struct dc_bios *dcb, in bios_parser_get_lttpr_caps()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce/
A Ddce_i2c.c35 struct dc_bios *dcb = dc->ctx->dc_bios; in dce_i2c_oem_device_present()
39 if (!dc->ctx->dc_bios->fw_info.oem_i2c_present) in dce_i2c_oem_device_present()
42 id.id = dc->ctx->dc_bios->fw_info.oem_i2c_obj_id; in dce_i2c_oem_device_present()
A Ddce_clock_source.h244 struct dc_bios *bios;
265 struct dc_bios *bios,
274 struct dc_bios *bios,
283 struct dc_bios *bios,
292 struct dc_bios *bios,
301 struct dc_bios *bios,
310 struct dc_bios *bios,
A Ddce_clk_mgr.c252 struct dc_bios *bp = clk_mgr->ctx->dc_bios; in dce_set_clock()
292 struct dc_bios *bp = clk_mgr->ctx->dc_bios; in dce112_set_clock()
346 struct dc_bios *bp = clk_mgr_dce->base.ctx->dc_bios; in dce_clock_read_integrated_info()
403 struct dc_bios *bp = clk_mgr_dce->base.ctx->dc_bios; in dce_clock_read_ss_info()
473 struct dc_bios *bp = clk_mgr_dce->base.ctx->dc_bios; in dce121_clock_patch_xgmi_ss_info()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/protocols/
A Dlink_hpd.c73 hpd = link_get_hpd_gpio(link->ctx->dc_bios, link->link_id, link->ctx->gpio_service); in dc_link_enable_hpd_filter()
96 struct gpio *link_get_hpd_gpio(struct dc_bios *dcb, in link_get_hpd_gpio()
123 link->ctx->dc_bios, link->link_id, in query_hpd_status()
142 hpd = link_get_hpd_gpio(link->ctx->dc_bios, link->link_id, in get_hpd_line()
214 hpd = link_get_hpd_gpio(link->ctx->dc_bios, link->link_id, in program_hpd_filter()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/
A Ddce112_clk_mgr.c74 struct dc_bios *bp = clk_mgr_base->ctx->dc_bios; in dce112_set_clock()
129 struct dc_bios *bp = clk_mgr->base.ctx->dc_bios; in dce112_set_dispclk()
172 struct dc_bios *bp = clk_mgr->base.ctx->dc_bios; in dce112_set_dprefclk()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/virtual/
A Dvirtual_stream_encoder.h32 struct dc_context *ctx, struct dc_bios *bp);
37 struct dc_bios *bp);
A Dvirtual_stream_encoder.c144 struct dc_bios *bp) in virtual_stream_encoder_construct()
160 struct dc_context *ctx, struct dc_bios *bp) in virtual_stream_encoder_create()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/include/
A Dbios_parser_interface.h38 struct dc_bios *dal_bios_parser_create(
42 void dal_bios_parser_destroy(struct dc_bios **dcb);
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn302/
A Ddcn302_resource.c995 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box()
998 if (dc->ctx->dc_bios->funcs->get_soc_bb_info( in init_soc_bounding_box()
1225 ctx->dc_bios->regs = &bios_regs; in dcn302_resource_construct()
1292 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn302_resource_construct()
1296 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn302_resource_construct()
1300 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn302_resource_construct()
1304 bp_query_result = ctx->dc_bios->funcs->get_lttpr_interop(ctx->dc_bios, in dcn302_resource_construct()
1324 dcn302_clock_source_create(ctx, ctx->dc_bios, in dcn302_resource_construct()
1328 dcn302_clock_source_create(ctx, ctx->dc_bios, in dcn302_resource_construct()
1332 dcn302_clock_source_create(ctx, ctx->dc_bios, in dcn302_resource_construct()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
A Ddce_clk_mgr.c235 struct dc_bios *bp = clk_mgr_base->ctx->dc_bios; in dce_set_clock()
275 struct dc_bios *bp = clk_mgr_dce->base.ctx->dc_bios; in dce_clock_read_integrated_info()
327 struct dc_bios *bp = clk_mgr_dce->base.ctx->dc_bios; in dce_clock_read_ss_info()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn303/
A Ddcn303_resource.c922 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box()
925 if (dc->ctx->dc_bios->funcs->get_soc_bb_info( in init_soc_bounding_box()
1148 ctx->dc_bios->regs = &bios_regs; in dcn303_resource_construct()
1170 dc->ctx->dc_bios->vram_info.num_chans * in dcn303_resource_construct()
1218 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn303_resource_construct()
1222 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn303_resource_construct()
1226 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn303_resource_construct()
1230 bp_query_result = ctx->dc_bios->funcs->get_lttpr_interop(ctx->dc_bios, &is_vbios_interop_enabled); in dcn303_resource_construct()
1249 dcn303_clock_source_create(ctx, ctx->dc_bios, in dcn303_resource_construct()
1253 dcn303_clock_source_create(ctx, ctx->dc_bios, in dcn303_resource_construct()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_link_encoder.c334 if (enc->ctx->dc_bios->golden_table.dc_golden_table_ver > 0) { in enc2_hw_init()
335 AUX_REG_WRITE(AUX_DPHY_RX_CONTROL0, enc->ctx->dc_bios->golden_table.aux_dphy_rx_control0_val); in enc2_hw_init()
337 AUX_REG_WRITE(AUX_DPHY_TX_CONTROL, enc->ctx->dc_bios->golden_table.aux_dphy_tx_control_val); in enc2_hw_init()
339 AUX_REG_WRITE(AUX_DPHY_RX_CONTROL1, enc->ctx->dc_bios->golden_table.aux_dphy_rx_control1_val); in enc2_hw_init()
400 const struct dc_vbios_funcs *bp_funcs = init_data->ctx->dc_bios->funcs; in dcn20_link_encoder_construct()
482 result = bp_funcs->get_encoder_cap_info(enc10->base.ctx->dc_bios, in dcn20_link_encoder_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/
A Dlink_factory.c193 struct dc_bios *bios = init_params->dc->ctx->dc_bios; in dc_link_construct_phy()
235 link->hpd_gpio = link_get_hpd_gpio(link->ctx->dc_bios, link->link_id, 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()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn301/
A Ddcn301_resource.c1275 struct dc_bios *bios, in dcn301_clock_source_create()
1331 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box()
1334 if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box()
1434 ctx->dc_bios->regs = &bios_regs; in dcn301_resource_construct()
1500 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn301_resource_construct()
1504 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn301_resource_construct()
1508 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn301_resource_construct()
1512 bp_query_result = ctx->dc_bios->funcs->get_lttpr_interop(ctx->dc_bios, &is_vbios_interop_enabled); in dcn301_resource_construct()
1532 dcn301_clock_source_create(ctx, ctx->dc_bios, in dcn301_resource_construct()
1536 dcn301_clock_source_create(ctx, ctx->dc_bios, in dcn301_resource_construct()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn302/
A Ddcn302_fpu.c211 if (dc->ctx->dc_bios->vram_info.num_chans) in dcn302_fpu_update_bw_bounding_box()
212 dcn3_02_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn302_fpu_update_bw_bounding_box()
214 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn302_fpu_update_bw_bounding_box()
215 dcn3_02_soc.dram_channel_width_bytes = dc->ctx->dc_bios->vram_info.dram_channel_width_bytes; in dcn302_fpu_update_bw_bounding_box()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn321/
A Ddcn321_fpu.c518 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in dcn321_update_bw_bounding_box_fpu()
521 if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in dcn321_update_bw_bounding_box_fpu()
537 if (dc->ctx->dc_bios->vram_info.num_chans) { in dcn321_update_bw_bounding_box_fpu()
538 dcn3_21_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn321_update_bw_bounding_box_fpu()
540 dc->ctx->dc_bios->vram_info.num_chans) * dc->caps.mall_size_per_mem_channel); in dcn321_update_bw_bounding_box_fpu()
543 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn321_update_bw_bounding_box_fpu()
544 dcn3_21_soc.dram_channel_width_bytes = dc->ctx->dc_bios->vram_info.dram_channel_width_bytes; in dcn321_update_bw_bounding_box_fpu()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dce120/
A Ddce120_clk_mgr.c60 struct dc_bios *bp = clk_mgr_dce->base.ctx->dc_bios; in dce121_clock_patch_xgmi_ss_info()

Completed in 41 milliseconds

12345