Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/amd/display/dc/
H A 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/drivers/gpu/drm/amd/display/dc/bios/
H 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()
H 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)
H 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)
H A Dbios_parser.c87 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()
187 static enum bp_result bios_parser_get_src_obj(struct dc_bios *dcb, in bios_parser_get_src_obj()
216 static enum bp_result bios_parser_get_i2c_info(struct dc_bios *dcb, in bios_parser_get_i2c_info()
262 static enum bp_result bios_parser_get_hpd_info(struct dc_bios *dcb, in bios_parser_get_hpd_info()
327 struct dc_bios *dcb, in bios_parser_get_device_tag()
[all …]
H A Dbios_parser.h29 struct dc_bios *bios_parser_create(
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/
H 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()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/
H A Ddcn302_resource.c448 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn302_stream_encoder_create()
473 static struct clock_source *dcn302_clock_source_create(struct dc_context *ctx, struct dc_bios *bios, in dcn302_clock_source_create()
1005 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box()
1008 if (dc->ctx->dc_bios->funcs->get_soc_bb_info( in init_soc_bounding_box()
1009 dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box()
1246 ctx->dc_bios->regs = &bios_regs; in dcn302_resource_construct()
1266 …dc->caps.mall_size_total = dc->caps.mall_size_per_mem_channel * dc->ctx->dc_bios->vram_info.num_ch… in dcn302_resource_construct()
1315 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn302_resource_construct()
1319 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn302_resource_construct()
1323 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn302_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dio/virtual/
H A Dvirtual_stream_encoder.h32 struct dc_context *ctx, struct dc_bios *bp);
37 struct dc_bios *bp);
/linux/drivers/gpu/drm/amd/display/include/
H A Dbios_parser_interface.h38 struct dc_bios *dal_bios_parser_create(
42 void dal_bios_parser_destroy(struct dc_bios **dcb);
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c435 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn303_stream_encoder_create()
457 static struct clock_source *dcn303_clock_source_create(struct dc_context *ctx, struct dc_bios *bios, in dcn303_clock_source_create()
950 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box()
953 if (dc->ctx->dc_bios->funcs->get_soc_bb_info( in init_soc_bounding_box()
954 dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box()
1187 ctx->dc_bios->regs = &bios_regs; in dcn303_resource_construct()
1208 dc->ctx->dc_bios->vram_info.num_chans * in dcn303_resource_construct()
1260 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn303_resource_construct()
1264 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn303_resource_construct()
1268 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn303_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dce120/
H A Ddce120_resource.c539 struct dc_bios *bios, in dce120_clock_source_create()
779 dce110_stream_encoder_construct(enc110, ctx, ctx->dc_bios, eng_id, in dce120_stream_encoder_create()
1077 ctx->dc_bios->regs = &bios_regs; in dce120_resource_construct()
1103 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1107 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1111 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()
1119 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1123 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
1129 dce120_clock_source_create(ctx, ctx->dc_bios, in dce120_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn301/
H A Ddcn301_resource.c1039 dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn301_stream_encoder_create()
1286 struct dc_bios *bios, in dcn301_clock_source_create()
1342 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box()
1345 if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box()
1455 ctx->dc_bios->regs = &bios_regs; in dcn301_resource_construct()
1521 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn301_resource_construct()
1525 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn301_resource_construct()
1529 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn301_resource_construct()
1533 bp_query_result = ctx->dc_bios->funcs->get_lttpr_interop(ctx->dc_bios, &is_vbios_interop_enabled); in dcn301_resource_construct()
1551 dcn301_clock_source_create(ctx, ctx->dc_bios, in dcn301_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_factory.c457 struct dc_bios *bp = link->ctx->dc_bios; in find_analog_engine()
495 struct dc_bios *bios = init_params->dc->ctx->dc_bios; in construct_phy()
588 enc_init_data.hpd_gpio = link_get_hpd_gpio(link->ctx->dc_bios, link->link_id, in construct_phy()
604 …if (link->ctx->dc_bios->funcs->get_hpd_info(link->ctx->dc_bios, link->link_id, &hpd_info) == BP_RE… in construct_phy()
752 if (bp_funcs->get_device_tag(dc_ctx->dc_bios, in construct_phy()
762 if (!bp_funcs->is_device_id_supported(dc_ctx->dc_bios, in construct_phy()
/linux/drivers/gpu/drm/amd/display/dc/resource/dce80/
H A Ddce80_resource.c618 dce110_analog_stream_encoder_construct(enc110, ctx, ctx->dc_bios, eng_id, in dce80_stream_encoder_create()
623 dce110_stream_encoder_construct(enc110, ctx, ctx->dc_bios, eng_id, in dce80_stream_encoder_create()
789 struct dc_bios *bios, in dce80_clock_source_create()
928 struct dc_bios *bp; in dce80_construct()
930 ctx->dc_bios->regs = &bios_regs; in dce80_construct()
956 bp = ctx->dc_bios; in dce80_construct()
1131 struct dc_bios *bp; in dce81_construct()
1133 ctx->dc_bios->regs = &bios_regs; in dce81_construct()
1156 bp = ctx->dc_bios; in dce81_construct()
1331 struct dc_bios *bp; in dce83_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dce60/
H A Ddce60_resource.c612 dce110_analog_stream_encoder_construct(enc110, ctx, ctx->dc_bios, eng_id, in dce60_stream_encoder_create()
617 dce110_stream_encoder_construct(enc110, ctx, ctx->dc_bios, eng_id, in dce60_stream_encoder_create()
782 struct dc_bios *bios, in dce60_clock_source_create()
921 struct dc_bios *bp; in dce60_construct()
923 ctx->dc_bios->regs = &bios_regs; in dce60_construct()
945 bp = ctx->dc_bios; in dce60_construct()
1119 struct dc_bios *bp; in dce61_construct()
1121 ctx->dc_bios->regs = &bios_regs; in dce61_construct()
1142 bp = ctx->dc_bios; in dce61_construct()
1317 struct dc_bios *bp; in dce64_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c1068 dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn30_stream_encoder_create()
1331 struct dc_bios *bios, in dcn30_clock_source_create()
2152 if (dc->ctx->dc_bios->vram_info.num_chans) in dcn30_update_bw_bounding_box()
2153 dcn3_0_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn30_update_bw_bounding_box()
2326 ctx->dc_bios->regs = &bios_regs; in dcn30_resource_construct()
2346 …dc->caps.mall_size_total = dc->caps.mall_size_per_mem_channel * dc->ctx->dc_bios->vram_info.num_ch… in dcn30_resource_construct()
2397 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn30_resource_construct()
2401 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn30_resource_construct()
2405 if (ctx->dc_bios->funcs->get_lttpr_interop) { in dcn30_resource_construct()
2409 bp_query_result = ctx->dc_bios->funcs->get_lttpr_interop(ctx->dc_bios, in dcn30_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce120/
H A Ddce120_clk_mgr.c60 struct dc_bios *bp = clk_mgr_dce->base.ctx->dc_bios; in dce121_clock_patch_xgmi_ss_info()
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_hpd.c109 struct gpio *link_get_hpd_gpio(struct dc_bios *dcb, in link_get_hpd_gpio()
141 hpd = link_get_hpd_gpio(link->ctx->dc_bios, link->link_id, in get_hpd_line()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/
H A Ddcn321_resource.c822 struct dc_bios *bios, in dcn321_clock_source_create()
1248 dcn32_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn321_stream_encoder_create()
1305 dcn31_hpo_dp_stream_encoder_construct(hpo_dp_enc31, ctx, ctx->dc_bios, in dcn321_hpo_dp_stream_encoder_create()
1705 ctx->dc_bios->regs = &bios_regs; in dcn321_resource_construct()
1747 …dc->caps.mall_size_total = dc->caps.mall_size_per_mem_channel * dc->ctx->dc_bios->vram_info.num_ch… in dcn321_resource_construct()
1755 dc, dc->ctx->dc_bios->vram_info.num_chans) * in dcn321_resource_construct()
1822 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn321_resource_construct()
1826 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn321_resource_construct()
1850 dcn321_clock_source_create(ctx, ctx->dc_bios, in dcn321_resource_construct()
1854 dcn321_clock_source_create(ctx, ctx->dc_bios, in dcn321_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dce112/
H A Ddce112_resource.c519 dce110_stream_encoder_construct(enc110, ctx, ctx->dc_bios, eng_id, in dce112_stream_encoder_create()
754 struct dc_bios *bios, in dce112_clock_source_create()
1240 ctx->dc_bios->regs = &bios_regs; in dce112_resource_construct()
1267 ctx, ctx->dc_bios, in dce112_resource_construct()
1272 ctx, ctx->dc_bios, in dce112_resource_construct()
1277 ctx, ctx->dc_bios, in dce112_resource_construct()
1282 ctx, ctx->dc_bios, in dce112_resource_construct()
1287 ctx, ctx->dc_bios, in dce112_resource_construct()
1292 ctx, ctx->dc_bios, in dce112_resource_construct()
1298 ctx, ctx->dc_bios, in dce112_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_link_encoder.c157 struct dc_bios *bp = enc110->base.ctx->dc_bios; in link_transmitter_control()
169 struct dc_bios *bios = link_enc->base.ctx->dc_bios; in link_dac_encoder_control()
866 if (enc110->base.ctx->dc_bios->fw_info_valid && in dce110_link_encoder_validate_rgb_output()
867 enc110->base.ctx->dc_bios->fw_info.max_pixel_clock) { in dce110_link_encoder_validate_rgb_output()
869 enc110->base.ctx->dc_bios->fw_info.max_pixel_clock; in dce110_link_encoder_validate_rgb_output()
893 const struct dc_vbios_funcs *bp_funcs = init_data->ctx->dc_bios->funcs; in dce110_link_encoder_construct()
990 result = bp_funcs->get_encoder_cap_info(enc110->base.ctx->dc_bios, in dce110_link_encoder_construct()
1927 const struct dc_vbios_funcs *bp_funcs = init_data->ctx->dc_bios->funcs; in dce60_link_encoder_construct()
2024 result = bp_funcs->get_encoder_cap_info(enc110->base.ctx->dc_bios, in dce60_link_encoder_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/
H A Ddcn31_resource.c1276 dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn31_stream_encoder_create()
1326 dcn31_hpo_dp_stream_encoder_construct(hpo_dp_enc31, ctx, ctx->dc_bios, in dcn31_hpo_dp_stream_encoder_create()
1621 struct dc_bios *bios, in dcn31_clock_source_create()
1897 struct dc_bios *bios, in dcn30_clock_source_create()
1928 ctx->dc_bios->regs = &bios_regs; in dcn31_resource_construct()
2010 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn31_resource_construct()
2014 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn31_resource_construct()
2038 dcn30_clock_source_create(ctx, ctx->dc_bios, in dcn31_resource_construct()
2042 dcn30_clock_source_create(ctx, ctx->dc_bios, in dcn31_resource_construct()
2048 dcn30_clock_source_create(ctx, ctx->dc_bios, in dcn31_resource_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c212 struct dc_bios *dcb, in dce110_enable_display_power_gating()
673 struct dc_bios *bios = link->ctx->dc_bios; in dce110_external_encoder_control()
712 struct dc_bios *bios = link->ctx->dc_bios; in dce110_dac_load_detect()
756 struct dc_bios *bios, in link_transmitter_control()
921 bp_result = ctx->dc_bios->funcs->enable_lvtma_control(ctx->dc_bios, in dce110_edp_power_control()
925 bp_result = ctx->dc_bios->funcs->enable_lvtma_control(ctx->dc_bios, in dce110_edp_power_control()
931 bp_result = link_transmitter_control(ctx->dc_bios, &cntl); in dce110_edp_power_control()
1077 ctx->dc_bios->funcs->enable_lvtma_control(ctx->dc_bios, in dce110_edp_backlight_control()
1081 ctx->dc_bios->funcs->enable_lvtma_control(ctx->dc_bios, in dce110_edp_backlight_control()
1086 link_transmitter_control(ctx->dc_bios, &cntl); in dce110_edp_backlight_control()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/
H A Ddcn314_resource.c1334 dcn314_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, in dcn314_stream_encoder_create()
1385 dcn31_hpo_dp_stream_encoder_construct(hpo_dp_enc31, ctx, ctx->dc_bios, in dcn31_hpo_dp_stream_encoder_create()
1679 struct dc_bios *bios, in dcn31_clock_source_create()
1824 struct dc_bios *bios, in dcn30_clock_source_create()
1855 ctx->dc_bios->regs = &bios_regs; in dcn314_resource_construct()
1936 if (ctx->dc_bios->funcs->get_lttpr_caps) { in dcn314_resource_construct()
1940 bp_query_result = ctx->dc_bios->funcs->get_lttpr_caps(ctx->dc_bios, &is_vbios_lttpr_enable); in dcn314_resource_construct()
1971 dcn30_clock_source_create(ctx, ctx->dc_bios, in dcn314_resource_construct()
1975 dcn30_clock_source_create(ctx, ctx->dc_bios, in dcn314_resource_construct()
1979 dcn30_clock_source_create(ctx, ctx->dc_bios, in dcn314_resource_construct()
[all …]

123