/Linux-v6.6/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-v6.6/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_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_parser_types_internal2.h | 56 struct dc_bios base; 72 #define BP_FROM_DCB(dc_bios) \ argument 73 container_of(dc_bios, struct bios_parser, base)
|
D | bios_parser.c | 87 struct dc_bios *dcb); 90 struct dc_bios *dcb, 95 struct dc_bios *bios_parser_create( in bios_parser_create() 119 static void bios_parser_destroy(struct dc_bios **dcb) in bios_parser_destroy() 150 static uint8_t bios_parser_get_connectors_number(struct dc_bios *dcb) in bios_parser_get_connectors_number() 159 struct dc_bios *dcb, in bios_parser_get_connector_id() 190 static enum bp_result bios_parser_get_src_obj(struct dc_bios *dcb, in bios_parser_get_src_obj() 219 static enum bp_result bios_parser_get_i2c_info(struct dc_bios *dcb, in bios_parser_get_i2c_info() 265 static enum bp_result bios_parser_get_hpd_info(struct dc_bios *dcb, in bios_parser_get_hpd_info() 330 struct dc_bios *dcb, in bios_parser_get_device_tag() [all …]
|
D | bios_parser2.c | 58 struct dc_bios *dcb, 62 struct dc_bios *dcb, 96 static void firmware_parser_destroy(struct dc_bios **dcb) in firmware_parser_destroy() 134 static uint8_t bios_parser_get_connectors_number(struct dc_bios *dcb) in bios_parser_get_connectors_number() 160 struct dc_bios *dcb, in bios_parser_get_connector_id() 200 static enum bp_result bios_parser_get_src_obj(struct dc_bios *dcb, in bios_parser_get_src_obj() 381 static enum bp_result bios_parser_get_i2c_info(struct dc_bios *dcb, in bios_parser_get_i2c_info() 558 struct dc_bios *dcb, in bios_parser_get_hpd_info() 651 struct dc_bios *dcb, in bios_parser_get_gpio_pin_info() 760 struct dc_bios *dcb, in bios_parser_get_device_tag() [all …]
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_i2c.c | 35 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()
|
D | dce_clock_source.h | 238 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,
|
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() 473 struct dc_bios *bp = clk_mgr_dce->base.ctx->dc_bios; in dce121_clock_patch_xgmi_ss_info()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/protocols/ |
D | link_hpd.c | 73 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()
|
/Linux-v6.6/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() 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()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn302/ |
D | dcn302_resource.c | 414 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn302_stream_encoder_create() 439 static struct clock_source *dcn302_clock_source_create(struct dc_context *ctx, struct dc_bios *bios, in dcn302_clock_source_create() 970 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box() 973 if (dc->ctx->dc_bios->funcs->get_soc_bb_info( in init_soc_bounding_box() 974 dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box() 1203 ctx->dc_bios->regs = &bios_regs; in dcn302_resource_construct() 1223 …dc->caps.mall_size_total = dc->caps.mall_size_per_mem_channel * dc->ctx->dc_bios->vram_info.num_ch… in dcn302_resource_construct() 1271 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn302_resource_construct() 1275 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn302_resource_construct() 1279 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn302_resource_construct() [all …]
|
/Linux-v6.6/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 | 144 struct dc_bios *bp) in virtual_stream_encoder_construct() 160 struct dc_context *ctx, struct dc_bios *bp) in virtual_stream_encoder_create()
|
/Linux-v6.6/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-v6.6/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-v6.6/drivers/gpu/drm/amd/display/dc/dcn303/ |
D | dcn303_resource.c | 383 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn303_stream_encoder_create() 405 static struct clock_source *dcn303_clock_source_create(struct dc_context *ctx, struct dc_bios *bios, in dcn303_clock_source_create() 897 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box() 900 if (dc->ctx->dc_bios->funcs->get_soc_bb_info( in init_soc_bounding_box() 901 dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box() 1126 ctx->dc_bios->regs = &bios_regs; in dcn303_resource_construct() 1147 dc->ctx->dc_bios->vram_info.num_chans * in dcn303_resource_construct() 1196 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn303_resource_construct() 1200 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn303_resource_construct() 1204 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn303_resource_construct() [all …]
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_link_encoder.c | 334 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-v6.6/drivers/gpu/drm/amd/display/dc/dcn301/ |
D | dcn301_resource.c | 1006 dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn301_stream_encoder_create() 1249 struct dc_bios *bios, in dcn301_clock_source_create() 1305 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box() 1308 if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box() 1408 ctx->dc_bios->regs = &bios_regs; in dcn301_resource_construct() 1474 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn301_resource_construct() 1478 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn301_resource_construct() 1482 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn301_resource_construct() 1486 bp_query_result = ctx->dc_bios->funcs->get_lttpr_interop(ctx->dc_bios, &is_vbios_interop_enabled); in dcn301_resource_construct() 1503 dcn301_clock_source_create(ctx, ctx->dc_bios, in dcn301_resource_construct() [all …]
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn302/ |
D | dcn302_fpu.c | 211 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-v6.6/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-v6.6/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | stream_encoder.h | 34 struct dc_bios; 114 struct dc_bios *bp; 289 struct dc_bios *bp;
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_resource.c | 534 struct dc_bios *bios, in dce120_clock_source_create() 767 dce110_stream_encoder_construct(enc110, ctx, ctx->dc_bios, eng_id, in dce120_stream_encoder_create() 1065 ctx->dc_bios->regs = &bios_regs; in dce120_resource_construct() 1090 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct() 1094 dce120_clock_source_create(ctx, ctx->dc_bios, 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() 1116 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
|