/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/ |
H A D | clk_mgr.c | 197 if (ASIC_REV_IS_TONGA_P(asic_id.hw_internal_rev) || in dc_clk_mgr_create() 198 ASIC_REV_IS_FIJI_P(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 203 ASIC_REV_IS_POLARIS11_M(asic_id.hw_internal_rev) || in dc_clk_mgr_create() 204 ASIC_REV_IS_POLARIS12_V(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 208 if (ASIC_REV_IS_VEGAM(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 221 if (ASICREV_IS_VEGA20_P(asic_id.hw_internal_rev)) in dc_clk_mgr_create() 236 if (ASICREV_IS_RENOIR(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 245 if (ASICREV_IS_RAVEN2(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 249 if (ASICREV_IS_RAVEN(asic_id.hw_internal_rev) || in dc_clk_mgr_create() 250 ASICREV_IS_PICASSO(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn10/ |
H A D | dcn10_fpu.c | 140 if (ASICREV_IS_RV1_F0(dc->ctx->asic_id.hw_internal_rev)) { in dcn10_resource_construct_fp() 156 if (ASICREV_IS_RV1_F0(dc->ctx->asic_id.hw_internal_rev)) in dcn10_resource_construct_fp()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/ |
H A D | dce112_clk_mgr.c | 105 ASICREV_IS_VEGA20_P(clk_mgr_base->ctx->asic_id.hw_internal_rev))) in dce112_set_clock() 178 ASICREV_IS_VEGA20_P(clk_mgr->base.ctx->asic_id.hw_internal_rev))) in dce112_set_dprefclk()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 110 if (ASIC_REV_IS_KALINDI(asic_id.hw_internal_rev) || in resource_parse_asic_id() 111 ASIC_REV_IS_BHAVANI(asic_id.hw_internal_rev) || in resource_parse_asic_id() 112 ASIC_REV_IS_GODAVARI(asic_id.hw_internal_rev)) in resource_parse_asic_id() 123 ASIC_REV_IS_FIJI_P(asic_id.hw_internal_rev)) { in resource_parse_asic_id() 132 if (ASIC_REV_IS_VEGAM(asic_id.hw_internal_rev)) in resource_parse_asic_id() 136 if (ASICREV_IS_VEGA20_P(asic_id.hw_internal_rev)) in resource_parse_asic_id() 143 if (ASICREV_IS_RAVEN2(asic_id.hw_internal_rev)) in resource_parse_asic_id() 145 if (ASICREV_IS_RENOIR(asic_id.hw_internal_rev)) in resource_parse_asic_id() 174 if (ASICREV_IS_GC_10_3_6(asic_id.hw_internal_rev)) in resource_parse_asic_id() 178 if (ASICREV_IS_GC_10_3_7(asic_id.hw_internal_rev)) in resource_parse_asic_id() [all …]
|
H A D | dc.c | 4882 if (dc->ctx->asic_id.hw_internal_rev == YELLOW_CARP_B0 && in dc_is_dmub_outbox_supported()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_resource.c | 1009 if (ASICREV_IS_NAVI14_M(ctx->asic_id.hw_internal_rev)) { in dcn20_stream_encoder_create() 2304 uint32_t hw_internal_rev) in get_asic_rev_soc_bb() argument 2306 if (ASICREV_IS_NAVI14_M(hw_internal_rev)) in get_asic_rev_soc_bb() 2309 if (ASICREV_IS_NAVI12_P(hw_internal_rev)) in get_asic_rev_soc_bb() 2316 uint32_t hw_internal_rev) in get_asic_rev_ip_params() argument 2319 if (ASICREV_IS_NAVI14_M(hw_internal_rev)) in get_asic_rev_ip_params() 2335 get_asic_rev_soc_bb(dc->ctx->asic_id.hw_internal_rev); in init_soc_bounding_box() 2395 get_asic_rev_soc_bb(ctx->asic_id.hw_internal_rev); in dcn20_resource_construct() 2397 get_asic_rev_ip_params(ctx->asic_id.hw_internal_rev); in dcn20_resource_construct() 2399 get_dml_project_version(ctx->asic_id.hw_internal_rev); in dcn20_resource_construct() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_dio_link_encoder.c | 614 if (enc->ctx->asic_id.hw_internal_rev != YELLOW_CARP_B0) { in dcn31_link_encoder_is_in_alt_mode() 664 if (enc->ctx->asic_id.hw_internal_rev != YELLOW_CARP_B0) { in dcn31_link_encoder_get_max_link_cap()
|
H A D | dcn31_dccg.c | 88 dccg_dcn->base.ctx->asic_id.hw_internal_rev == YELLOW_CARP_B0) { in get_phy_mux_symclk()
|
H A D | dcn31_resource.c | 1982 if (dc->ctx->asic_id.hw_internal_rev == YELLOW_CARP_B0) { in dcn31_resource_construct() 2164 dc->ctx->asic_id.hw_internal_rev == YELLOW_CARP_B0 && in dcn31_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/ |
H A D | dce110_clk_mgr.c | 199 ASICREV_IS_VEGA20_P(dc->ctx->asic_id.hw_internal_rev) && (context->stream_count >= 2)) { in dce11_pplib_apply_display_requirements()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/ |
H A D | dcn32_clk_mgr.c | 666 if (ASICREV_IS_GC_11_0_2(clk_mgr->base.ctx->asic_id.hw_internal_rev)) in dcn32_get_vco_frequency_from_reg() 695 if (ASICREV_IS_GC_11_0_2(clk_mgr->base.ctx->asic_id.hw_internal_rev)) { in dcn32_dump_clk_registers() 969 if (ASICREV_IS_GC_11_0_2(clk_mgr->base.ctx->asic_id.hw_internal_rev)) { in dcn32_clk_mgr_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn303/ |
H A D | dcn303_resource.c | 870 uint32_t hw_internal_rev = dc->ctx->asic_id.hw_internal_rev; in is_soc_bounding_box_valid() local 872 if (ASICREV_IS_BEIGE_GOBY_P(hw_internal_rev)) in is_soc_bounding_box_valid()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn302/ |
H A D | dcn302_resource.c | 943 uint32_t hw_internal_rev = dc->ctx->asic_id.hw_internal_rev; in is_soc_bounding_box_valid() local 945 if (ASICREV_IS_DIMGREY_CAVEFISH_P(hw_internal_rev)) in is_soc_bounding_box_valid()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn301/ |
H A D | dcn301_resource.c | 1278 uint32_t hw_internal_rev = dc->ctx->asic_id.hw_internal_rev; in is_soc_bounding_box_valid() local 1280 if (ASICREV_IS_VANGOGH(hw_internal_rev)) in is_soc_bounding_box_valid()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_types.h | 780 uint32_t hw_internal_rev; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce112/ |
H A D | dce112_resource.c | 1215 if (ASIC_REV_IS_POLARIS11_M(asic_id->hw_internal_rev) || in dce112_resource_cap() 1216 ASIC_REV_IS_POLARIS12_V(asic_id->hw_internal_rev)) in dce112_resource_cap()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_resource.c | 866 ASICREV_IS_RAVEN2(ctx->asic_id.hw_internal_rev)) in dcn10_hwseq_create() 1470 if (ASICREV_IS_RAVEN2(dc->ctx->asic_id.hw_internal_rev)) in dcn10_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_resource.c | 566 hws->regs = ASIC_REV_IS_STONEY(ctx->asic_id.hw_internal_rev) ? in dce110_hwseq_create() 1342 if (ASIC_REV_IS_STONEY(asic_id->hw_internal_rev)) in dce110_resource_cap()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_resource.c | 1489 uint32_t hw_internal_rev = dc->ctx->asic_id.hw_internal_rev; in is_soc_bounding_box_valid() local 1491 if (ASICREV_IS_SIENNA_CICHLID_P(hw_internal_rev)) in is_soc_bounding_box_valid()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/ |
H A D | rn_clk_mgr.c | 712 is_green_sardine = ASICREV_IS_GREEN_SARDINE(ctx->asic_id.hw_internal_rev); in rn_clk_mgr_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource.c | 2454 …if (ASICREV_IS_GC_11_0_3(dc->ctx->asic_id.hw_internal_rev) && (dc->config.sdpif_request_limit_word… in dcn32_resource_construct() 2749 if (ASICREV_IS_GC_11_0_0(dc->ctx->asic_id.hw_internal_rev)) { in dcn32_calc_num_avail_chans_for_mall() 2752 } else if (ASICREV_IS_GC_11_0_2(dc->ctx->asic_id.hw_internal_rev)) { in dcn32_calc_num_avail_chans_for_mall()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_clk_mgr.c | 322 ASICREV_IS_VEGA20_P(clk_mgr->ctx->asic_id.hw_internal_rev))) in dce112_set_clock()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce120/ |
H A D | dce120_resource.c | 1062 bool is_vg20 = ASICREV_IS_VEGA20_P(ctx->asic_id.hw_internal_rev); in dce120_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dce_calcs.c | 54 if (ASIC_REV_IS_STONEY(asic_id.hw_internal_rev)) in bw_calcs_version_from_asic_id() 59 if (ASIC_REV_IS_POLARIS12_V(asic_id.hw_internal_rev)) in bw_calcs_version_from_asic_id() 61 if (ASIC_REV_IS_POLARIS10_P(asic_id.hw_internal_rev)) in bw_calcs_version_from_asic_id() 63 if (ASIC_REV_IS_POLARIS11_M(asic_id.hw_internal_rev)) in bw_calcs_version_from_asic_id() 65 if (ASIC_REV_IS_VEGAM(asic_id.hw_internal_rev)) in bw_calcs_version_from_asic_id()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 1859 if (ASICREV_IS_NAVI12_P(dc->ctx->asic_id.hw_internal_rev)) in dcn20_update_bounding_box()
|