/Linux-v5.15/drivers/gpu/drm/amd/display/dc/ |
D | dc_bios_types.h | 42 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-v5.15/drivers/gpu/drm/amd/display/dc/bios/ |
D | bios_parser_helper.h | 31 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);
|
D | bios_parser_helper.c | 36 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()
|
D | bios_parser_interface.c | 35 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()
|
D | bios_parser_types_internal2.h | 55 struct dc_bios base; 71 #define BP_FROM_DCB(dc_bios) \ argument 72 container_of(dc_bios, struct bios_parser, base)
|
D | bios_parser_types_internal.h | 54 struct dc_bios base; 69 #define BP_FROM_DCB(dc_bios) \ argument 70 container_of(dc_bios, struct bios_parser, base)
|
D | bios_parser2.c | 86 struct dc_bios *dcb, 90 struct dc_bios *dcb, 120 static void firmware_parser_destroy(struct dc_bios **dcb) in firmware_parser_destroy() 158 static uint8_t bios_parser_get_connectors_number(struct dc_bios *dcb) in bios_parser_get_connectors_number() 172 struct dc_bios *dcb, in bios_parser_get_connector_id() 194 static enum bp_result bios_parser_get_src_obj(struct dc_bios *dcb, in bios_parser_get_src_obj() 289 static enum bp_result bios_parser_get_i2c_info(struct dc_bios *dcb, in bios_parser_get_i2c_info() 421 struct dc_bios *dcb, in bios_parser_get_hpd_info() 499 struct dc_bios *dcb, in bios_parser_get_gpio_pin_info() 624 struct dc_bios *dcb, in bios_parser_get_device_tag() [all …]
|
D | bios_parser.c | 88 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 …]
|
D | bios_parser.h | 29 struct dc_bios *bios_parser_create(
|
D | bios_parser2.h | 29 struct dc_bios *firmware_parser_create(
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/ |
D | dce112_clk_mgr.c | 74 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-v5.15/drivers/gpu/drm/amd/display/dc/virtual/ |
D | virtual_stream_encoder.h | 32 struct dc_context *ctx, struct dc_bios *bp); 37 struct dc_bios *bp);
|
D | virtual_stream_encoder.c | 143 struct dc_bios *bp) in virtual_stream_encoder_construct() 159 struct dc_context *ctx, struct dc_bios *bp) in virtual_stream_encoder_create()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/include/ |
D | bios_parser_interface.h | 38 struct dc_bios *dal_bios_parser_create( 42 void dal_bios_parser_destroy(struct dc_bios **dcb);
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_clock_source.h | 223 struct dc_bios *bios; 244 struct dc_bios *bios, 253 struct dc_bios *bios, 262 struct dc_bios *bios, 272 struct dc_bios *bios, 281 struct dc_bios *bios,
|
D | dce_clk_mgr.c | 252 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() 471 struct dc_bios *bp = clk_mgr_dce->base.ctx->dc_bios; in dce121_clock_patch_xgmi_ss_info()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/ |
D | dce_clk_mgr.c | 235 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-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_link_encoder.c | 335 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-v5.15/drivers/gpu/drm/amd/display/dc/dcn302/ |
D | dcn302_resource.c | 548 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn302_stream_encoder_create() 573 static struct clock_source *dcn302_clock_source_create(struct dc_context *ctx, struct dc_bios *bios, in dcn302_clock_source_create() 1106 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box() 1109 if (dc->ctx->dc_bios->funcs->get_soc_bb_info( in init_soc_bounding_box() 1110 dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box() 1293 if (dc->ctx->dc_bios->vram_info.num_chans) in dcn302_update_bw_bounding_box() 1294 dcn3_02_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn302_update_bw_bounding_box() 1296 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn302_update_bw_bounding_box() 1297 dcn3_02_soc.dram_channel_width_bytes = dc->ctx->dc_bios->vram_info.dram_channel_width_bytes; in dcn302_update_bw_bounding_box() 1492 ctx->dc_bios->regs = &bios_regs; in dcn302_resource_construct() [all …]
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn303/ |
D | dcn303_resource.c | 520 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn303_stream_encoder_create() 542 static struct clock_source *dcn303_clock_source_create(struct dc_context *ctx, struct dc_bios *bios, in dcn303_clock_source_create() 1036 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box() 1039 if (dc->ctx->dc_bios->funcs->get_soc_bb_info( in init_soc_bounding_box() 1040 dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box() 1227 if (dc->ctx->dc_bios->vram_info.num_chans) in dcn303_update_bw_bounding_box() 1228 dcn3_03_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn303_update_bw_bounding_box() 1230 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn303_update_bw_bounding_box() 1231 dcn3_03_soc.dram_channel_width_bytes = dc->ctx->dc_bios->vram_info.dram_channel_width_bytes; in dcn303_update_bw_bounding_box() 1422 ctx->dc_bios->regs = &bios_regs; in dcn303_resource_construct() [all …]
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dce120/ |
D | dce120_clk_mgr.c | 60 struct dc_bios *bp = clk_mgr_dce->base.ctx->dc_bios; in dce121_clock_patch_xgmi_ss_info()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_resource.c | 534 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()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_resource.c | 1170 dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn30_stream_encoder_create() 1434 struct dc_bios *bios, in dcn30_clock_source_create() 1737 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box() 1740 if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box() 2391 if (dc->ctx->dc_bios->vram_info.num_chans) in dcn30_update_bw_bounding_box() 2392 dcn3_0_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn30_update_bw_bounding_box() 2394 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn30_update_bw_bounding_box() 2395 dcn3_0_soc.dram_channel_width_bytes = dc->ctx->dc_bios->vram_info.dram_channel_width_bytes; in dcn30_update_bw_bounding_box() 2571 ctx->dc_bios->regs = &bios_regs; in dcn30_resource_construct() 2591 …dc->caps.mall_size_total = dc->caps.mall_size_per_mem_channel * dc->ctx->dc_bios->vram_info.num_ch… in dcn30_resource_construct() [all …]
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce60/ |
D | dce60_resource.c | 601 dce110_stream_encoder_construct(enc110, ctx, ctx->dc_bios, eng_id, in dce60_stream_encoder_create() 753 struct dc_bios *bios, in dce60_clock_source_create() 947 struct dc_bios *bp; in dce60_construct() 949 ctx->dc_bios->regs = &bios_regs; in dce60_construct() 971 bp = ctx->dc_bios; in dce60_construct() 1141 struct dc_bios *bp; in dce61_construct() 1143 ctx->dc_bios->regs = &bios_regs; in dce61_construct() 1164 bp = ctx->dc_bios; in dce61_construct() 1338 struct dc_bios *bp; in dce64_construct() 1340 ctx->dc_bios->regs = &bios_regs; in dce64_construct() [all …]
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce80/ |
D | dce80_resource.c | 606 dce110_stream_encoder_construct(enc110, ctx, ctx->dc_bios, eng_id, in dce80_stream_encoder_create() 758 struct dc_bios *bios, in dce80_clock_source_create() 952 struct dc_bios *bp; in dce80_construct() 954 ctx->dc_bios->regs = &bios_regs; in dce80_construct() 978 bp = ctx->dc_bios; in dce80_construct() 1152 struct dc_bios *bp; in dce81_construct() 1154 ctx->dc_bios->regs = &bios_regs; in dce81_construct() 1177 bp = ctx->dc_bios; in dce81_construct() 1351 struct dc_bios *bp; in dce83_construct() 1353 ctx->dc_bios->regs = &bios_regs; in dce83_construct() [all …]
|