Home
last modified time | relevance | path

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

123456

/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 …]
/drivers/gpu/drm/amd/display/dc/bios/
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_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);
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()
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.c85 struct dc_bios *dcb);
88 struct dc_bios *dcb,
157 struct dc_bios *dcb, in bios_parser_get_connector_id()
328 struct dc_bios *dcb, in bios_parser_get_device_tag()
376 struct dc_bios *dcb, in bios_parser_get_firmware_info()
731 struct dc_bios *dcb, in bios_parser_transmitter_control()
743 struct dc_bios *dcb, in bios_parser_encoder_control()
755 struct dc_bios *dcb, in bios_parser_adjust_pixel_clock()
767 struct dc_bios *dcb, in bios_parser_set_pixel_clock()
779 struct dc_bios *dcb, in bios_parser_set_dce_clock()
[all …]
A Dbios_parser2.c58 struct dc_bios *dcb,
62 struct dc_bios *dcb,
164 struct dc_bios *dcb, in bios_parser_get_connector_id()
562 struct dc_bios *dcb, in bios_parser_get_hpd_info()
654 struct dc_bios *dcb, in bios_parser_get_gpio_pin_info()
763 struct dc_bios *dcb, in bios_parser_get_device_tag()
1067 struct dc_bios *dcb, in bios_parser_get_spread_spectrum_info()
1165 struct dc_bios *dcb, in bios_parser_get_soc_bb_info()
1328 struct dc_bios *dcb, in bios_parser_get_lttpr_interop()
1378 struct dc_bios *dcb, in bios_parser_get_lttpr_caps()
[all …]
/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.h238 struct dc_bios *bios;
259 struct dc_bios *bios,
268 struct dc_bios *bios,
277 struct dc_bios *bios,
286 struct dc_bios *bios,
295 struct dc_bios *bios,
304 struct dc_bios *bios,
313 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()
/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()
127 struct dc_bios *bp = clk_mgr->base.ctx->dc_bios; in dce112_set_dispclk()
168 struct dc_bios *bp = clk_mgr->base.ctx->dc_bios; in dce112_set_dprefclk()
/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 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()
/drivers/gpu/drm/amd/display/dc/resource/dcn302/
A Ddcn302_resource.c972 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box()
975 if (dc->ctx->dc_bios->funcs->get_soc_bb_info( in init_soc_bounding_box()
1207 ctx->dc_bios->regs = &bios_regs; in dcn302_resource_construct()
1276 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn302_resource_construct()
1280 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn302_resource_construct()
1284 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn302_resource_construct()
1288 bp_query_result = ctx->dc_bios->funcs->get_lttpr_interop(ctx->dc_bios, in dcn302_resource_construct()
1306 dcn302_clock_source_create(ctx, ctx->dc_bios, in dcn302_resource_construct()
1310 dcn302_clock_source_create(ctx, ctx->dc_bios, in dcn302_resource_construct()
1314 dcn302_clock_source_create(ctx, ctx->dc_bios, in dcn302_resource_construct()
[all …]
/drivers/gpu/drm/amd/display/dc/resource/dcn303/
A Ddcn303_resource.c918 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box()
921 if (dc->ctx->dc_bios->funcs->get_soc_bb_info( in init_soc_bounding_box()
1149 ctx->dc_bios->regs = &bios_regs; in dcn303_resource_construct()
1170 dc->ctx->dc_bios->vram_info.num_chans * in dcn303_resource_construct()
1222 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn303_resource_construct()
1226 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn303_resource_construct()
1230 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn303_resource_construct()
1234 bp_query_result = ctx->dc_bios->funcs->get_lttpr_interop(ctx->dc_bios, &is_vbios_interop_enabled); in dcn303_resource_construct()
1251 dcn303_clock_source_create(ctx, ctx->dc_bios, in dcn303_resource_construct()
1255 dcn303_clock_source_create(ctx, ctx->dc_bios, in dcn303_resource_construct()
[all …]
/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()
280 struct dc_bios *bp = clk_mgr_dce->base.ctx->dc_bios; in dce_clock_read_integrated_info()
332 struct dc_bios *bp = clk_mgr_dce->base.ctx->dc_bios; in dce_clock_read_ss_info()
/drivers/gpu/drm/amd/display/dc/dio/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()
/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);
/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);
/drivers/gpu/drm/amd/display/dc/resource/dcn301/
A Ddcn301_resource.c1252 struct dc_bios *bios, in dcn301_clock_source_create()
1308 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box()
1311 if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box()
1420 ctx->dc_bios->regs = &bios_regs; in dcn301_resource_construct()
1486 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn301_resource_construct()
1490 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn301_resource_construct()
1494 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn301_resource_construct()
1498 bp_query_result = ctx->dc_bios->funcs->get_lttpr_interop(ctx->dc_bios, &is_vbios_interop_enabled); in dcn301_resource_construct()
1515 dcn301_clock_source_create(ctx, ctx->dc_bios, in dcn301_resource_construct()
1519 dcn301_clock_source_create(ctx, ctx->dc_bios, in dcn301_resource_construct()
[all …]
/drivers/gpu/drm/amd/display/dc/resource/dce120/
A Ddce120_resource.c535 struct dc_bios *bios, in dce120_clock_source_create()
1073 ctx->dc_bios->regs = &bios_regs; in dce120_resource_construct()
1098 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1102 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1106 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1110 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1114 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1118 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1124 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1268 if (dc->ctx->dc_bios->fw_info.oem_i2c_present) { in dce120_resource_construct()
[all …]
/drivers/gpu/drm/amd/display/dc/resource/dcn30/
A Ddcn30_resource.c1297 struct dc_bios *bios, in dcn30_clock_source_create()
2116 if (dc->ctx->dc_bios->vram_info.num_chans) in dcn30_update_bw_bounding_box()
2289 ctx->dc_bios->regs = &bios_regs; in dcn30_resource_construct()
2360 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn30_resource_construct()
2364 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn30_resource_construct()
2368 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn30_resource_construct()
2372 bp_query_result = ctx->dc_bios->funcs->get_lttpr_interop(ctx->dc_bios, in dcn30_resource_construct()
2391 dcn30_clock_source_create(ctx, ctx->dc_bios, in dcn30_resource_construct()
2395 dcn30_clock_source_create(ctx, ctx->dc_bios, in dcn30_resource_construct()
2399 dcn30_clock_source_create(ctx, ctx->dc_bios, in dcn30_resource_construct()
[all …]
/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()
/drivers/gpu/drm/amd/display/dc/resource/dce60/
A Ddce60_resource.c601 dce110_stream_encoder_construct(enc110, ctx, ctx->dc_bios, eng_id, in dce60_stream_encoder_create()
754 struct dc_bios *bios, in dce60_clock_source_create()
948 struct dc_bios *bp; in dce60_construct()
950 ctx->dc_bios->regs = &bios_regs; in dce60_construct()
972 bp = ctx->dc_bios; in dce60_construct()
1146 struct dc_bios *bp; in dce61_construct()
1148 ctx->dc_bios->regs = &bios_regs; in dce61_construct()
1169 bp = ctx->dc_bios; in dce61_construct()
1344 struct dc_bios *bp; in dce64_construct()
1346 ctx->dc_bios->regs = &bios_regs; in dce64_construct()
[all …]
/drivers/gpu/drm/amd/display/dc/resource/dce80/
A Ddce80_resource.c607 dce110_stream_encoder_construct(enc110, ctx, ctx->dc_bios, eng_id, in dce80_stream_encoder_create()
760 struct dc_bios *bios, in dce80_clock_source_create()
954 struct dc_bios *bp; in dce80_construct()
956 ctx->dc_bios->regs = &bios_regs; in dce80_construct()
981 bp = ctx->dc_bios; in dce80_construct()
1156 struct dc_bios *bp; in dce81_construct()
1158 ctx->dc_bios->regs = &bios_regs; in dce81_construct()
1181 bp = ctx->dc_bios; in dce81_construct()
1356 struct dc_bios *bp; in dce83_construct()
1358 ctx->dc_bios->regs = &bios_regs; in dce83_construct()
[all …]

Completed in 57 milliseconds

123456