Home
last modified time | relevance | path

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

12345

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_bios_types.h42 uint8_t (*get_connectors_number)(struct dc_bios *bios);
45 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,
76 struct dc_bios *bios,
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/bios/
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);
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()
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()
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)
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)
Dbios_parser.c88 struct dc_bios *dcb);
91 struct dc_bios *dcb,
96 struct dc_bios *bios_parser_create( in bios_parser_create()
120 static void bios_parser_destroy(struct dc_bios **dcb) in bios_parser_destroy()
149 static uint8_t bios_parser_get_connectors_number(struct dc_bios *dcb) in bios_parser_get_connectors_number()
158 struct dc_bios *dcb, in bios_parser_get_connector_id()
188 static enum bp_result bios_parser_get_src_obj(struct dc_bios *dcb, in bios_parser_get_src_obj()
217 static enum bp_result bios_parser_get_i2c_info(struct dc_bios *dcb, in bios_parser_get_i2c_info()
263 static enum bp_result bios_parser_get_hpd_info(struct dc_bios *dcb, in bios_parser_get_hpd_info()
328 struct dc_bios *dcb, in bios_parser_get_device_tag()
[all …]
Dbios_parser2.c59 struct dc_bios *dcb,
63 struct dc_bios *dcb,
97 static void firmware_parser_destroy(struct dc_bios **dcb) in firmware_parser_destroy()
135 static uint8_t bios_parser_get_connectors_number(struct dc_bios *dcb) in bios_parser_get_connectors_number()
161 struct dc_bios *dcb, in bios_parser_get_connector_id()
201 static enum bp_result bios_parser_get_src_obj(struct dc_bios *dcb, in bios_parser_get_src_obj()
383 static enum bp_result bios_parser_get_i2c_info(struct dc_bios *dcb, in bios_parser_get_i2c_info()
564 struct dc_bios *dcb, in bios_parser_get_hpd_info()
657 struct dc_bios *dcb, in bios_parser_get_gpio_pin_info()
766 struct dc_bios *dcb, in bios_parser_get_device_tag()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
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()
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,
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.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/
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.1.9/drivers/gpu/drm/amd/display/dc/virtual/
Dvirtual_stream_encoder.h32 struct dc_context *ctx, struct dc_bios *bp);
37 struct dc_bios *bp);
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.1.9/drivers/gpu/drm/amd/display/include/
Dbios_parser_interface.h38 struct dc_bios *dal_bios_parser_create(
42 void dal_bios_parser_destroy(struct dc_bios **dcb);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn302/
Ddcn302_resource.c423 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn302_stream_encoder_create()
448 static struct clock_source *dcn302_clock_source_create(struct dc_context *ctx, struct dc_bios *bios, in dcn302_clock_source_create()
985 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box()
988 if (dc->ctx->dc_bios->funcs->get_soc_bb_info( in init_soc_bounding_box()
989 dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box()
1205 ctx->dc_bios->regs = &bios_regs; in dcn302_resource_construct()
1225 …dc->caps.mall_size_total = dc->caps.mall_size_per_mem_channel * dc->ctx->dc_bios->vram_info.num_ch… in dcn302_resource_construct()
1270 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn302_resource_construct()
1274 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn302_resource_construct()
1278 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn302_resource_construct()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
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.1.9/drivers/gpu/drm/amd/display/dc/dcn303/
Ddcn303_resource.c393 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn303_stream_encoder_create()
415 static struct clock_source *dcn303_clock_source_create(struct dc_context *ctx, struct dc_bios *bios, in dcn303_clock_source_create()
913 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box()
916 if (dc->ctx->dc_bios->funcs->get_soc_bb_info( in init_soc_bounding_box()
917 dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box()
1134 ctx->dc_bios->regs = &bios_regs; in dcn303_resource_construct()
1156 dc->ctx->dc_bios->vram_info.num_chans * in dcn303_resource_construct()
1202 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn303_resource_construct()
1206 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn303_resource_construct()
1210 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn303_resource_construct()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_link_encoder.c335 if (enc->ctx->dc_bios->golden_table.dc_golden_table_ver > 0) { in enc2_hw_init()
336 AUX_REG_WRITE(AUX_DPHY_RX_CONTROL0, enc->ctx->dc_bios->golden_table.aux_dphy_rx_control0_val); in enc2_hw_init()
338 AUX_REG_WRITE(AUX_DPHY_TX_CONTROL, enc->ctx->dc_bios->golden_table.aux_dphy_tx_control_val); in enc2_hw_init()
340 AUX_REG_WRITE(AUX_DPHY_RX_CONTROL1, enc->ctx->dc_bios->golden_table.aux_dphy_rx_control1_val); in enc2_hw_init()
401 const struct dc_vbios_funcs *bp_funcs = init_data->ctx->dc_bios->funcs; in dcn20_link_encoder_construct()
483 result = bp_funcs->get_encoder_cap_info(enc10->base.ctx->dc_bios, in dcn20_link_encoder_construct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn301/
Ddcn301_resource.c1024 dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn301_stream_encoder_create()
1274 struct dc_bios *bios, in dcn301_clock_source_create()
1329 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box()
1332 if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box()
1431 ctx->dc_bios->regs = &bios_regs; in dcn301_resource_construct()
1495 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn301_resource_construct()
1499 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn301_resource_construct()
1503 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn301_resource_construct()
1507 bp_query_result = ctx->dc_bios->funcs->get_lttpr_interop(ctx->dc_bios, &is_vbios_interop_enabled); in dcn301_resource_construct()
1527 dcn301_clock_source_create(ctx, ctx->dc_bios, in dcn301_resource_construct()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dstream_encoder.h35 struct dc_bios;
106 struct dc_bios *bp;
273 struct dc_bios *bp;
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn302/
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.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce120/
Ddce120_clk_mgr.c60 struct dc_bios *bp = clk_mgr_dce->base.ctx->dc_bios; in dce121_clock_patch_xgmi_ss_info()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn321/
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 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn321_update_bw_bounding_box_fpu()
541 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.1.9/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_resource.c533 struct dc_bios *bios, in dce120_clock_source_create()
766 dce110_stream_encoder_construct(enc110, ctx, ctx->dc_bios, eng_id, in dce120_stream_encoder_create()
1064 ctx->dc_bios->regs = &bios_regs; in dce120_resource_construct()
1089 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1093 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1097 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1101 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1105 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1109 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1115 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()

12345