/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/ |
D | clk_mgr.c | 193 if (ASIC_REV_IS_TONGA_P(asic_id.hw_internal_rev) || in dc_clk_mgr_create() 194 ASIC_REV_IS_FIJI_P(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 198 if (ASIC_REV_IS_POLARIS10_P(asic_id.hw_internal_rev) || in dc_clk_mgr_create() 199 ASIC_REV_IS_POLARIS11_M(asic_id.hw_internal_rev) || in dc_clk_mgr_create() 200 ASIC_REV_IS_POLARIS12_V(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 204 if (ASIC_REV_IS_VEGAM(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 217 if (ASICREV_IS_VEGA20_P(asic_id.hw_internal_rev)) in dc_clk_mgr_create() 232 if (ASICREV_IS_RENOIR(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 237 if (ASICREV_IS_GREEN_SARDINE(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() 241 if (ASICREV_IS_RAVEN2(asic_id.hw_internal_rev)) { in dc_clk_mgr_create() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 82 if (ASIC_REV_IS_TAHITI_P(asic_id.hw_internal_rev) || in resource_parse_asic_id() 83 ASIC_REV_IS_PITCAIRN_PM(asic_id.hw_internal_rev) || in resource_parse_asic_id() 84 ASIC_REV_IS_CAPEVERDE_M(asic_id.hw_internal_rev)) in resource_parse_asic_id() 86 else if (ASIC_REV_IS_OLAND_M(asic_id.hw_internal_rev)) in resource_parse_asic_id() 96 if (ASIC_REV_IS_KALINDI(asic_id.hw_internal_rev) || in resource_parse_asic_id() 97 ASIC_REV_IS_BHAVANI(asic_id.hw_internal_rev) || in resource_parse_asic_id() 98 ASIC_REV_IS_GODAVARI(asic_id.hw_internal_rev)) in resource_parse_asic_id() 108 if (ASIC_REV_IS_TONGA_P(asic_id.hw_internal_rev) || in resource_parse_asic_id() 109 ASIC_REV_IS_FIJI_P(asic_id.hw_internal_rev)) { in resource_parse_asic_id() 113 if (ASIC_REV_IS_POLARIS10_P(asic_id.hw_internal_rev) || in resource_parse_asic_id() [all …]
|
D | dc_link_ddc.c | 690 ASICREV_IS_YELLOW_CARP(ddc->ctx->asic_id.hw_internal_rev)) { in dc_link_aux_try_to_configure_timeout()
|
D | dc.c | 4351 uint32_t hw_internal_rev = dc->ctx->asic_id.hw_internal_rev; in dc_enable_dcmode_clk_limit() local 4355 if (!ASICREV_IS_BEIGE_GOBY_P(hw_internal_rev)) in dc_enable_dcmode_clk_limit() 4429 dc->ctx->asic_id.hw_internal_rev == YELLOW_CARP_B0 && in dc_is_dmub_outbox_supported()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/ |
D | dce112_clk_mgr.c | 105 ASICREV_IS_VEGA20_P(clk_mgr_base->ctx->asic_id.hw_internal_rev))) in dce112_set_clock() 182 ASICREV_IS_VEGA20_P(clk_mgr->base.ctx->asic_id.hw_internal_rev))) in dce112_set_dprefclk()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.c | 1019 if (ASICREV_IS_NAVI14_M(ctx->asic_id.hw_internal_rev)) { in dcn20_stream_encoder_create() 2303 uint32_t hw_internal_rev) in get_asic_rev_soc_bb() argument 2305 if (ASICREV_IS_NAVI14_M(hw_internal_rev)) in get_asic_rev_soc_bb() 2308 if (ASICREV_IS_NAVI12_P(hw_internal_rev)) in get_asic_rev_soc_bb() 2315 uint32_t hw_internal_rev) in get_asic_rev_ip_params() argument 2318 if (ASICREV_IS_NAVI14_M(hw_internal_rev)) in get_asic_rev_ip_params() 2325 static enum dml_project get_dml_project_version(uint32_t hw_internal_rev) in get_dml_project_version() argument 2334 get_asic_rev_soc_bb(dc->ctx->asic_id.hw_internal_rev); in init_soc_bounding_box() 2336 get_asic_rev_ip_params(dc->ctx->asic_id.hw_internal_rev); in init_soc_bounding_box() 2394 get_asic_rev_soc_bb(ctx->asic_id.hw_internal_rev); in dcn20_resource_construct() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/ |
D | dcn32_clk_mgr.c | 485 if (ASICREV_IS_GC_11_0_2(clk_mgr->base.ctx->asic_id.hw_internal_rev)) in dcn32_get_vco_frequency_from_reg() 514 if (ASICREV_IS_GC_11_0_2(clk_mgr->base.ctx->asic_id.hw_internal_rev)) { in dcn32_dump_clk_registers() 761 if (ASICREV_IS_GC_11_0_2(clk_mgr->base.ctx->asic_id.hw_internal_rev)) { in dcn32_clk_mgr_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_dio_link_encoder.c | 618 if (enc->ctx->asic_id.hw_internal_rev != YELLOW_CARP_B0) { in dcn31_link_encoder_is_in_alt_mode() 668 if (enc->ctx->asic_id.hw_internal_rev != YELLOW_CARP_B0) { in dcn31_link_encoder_get_max_link_cap()
|
D | dcn31_dccg.c | 88 if (dccg_dcn->base.ctx->asic_id.hw_internal_rev == YELLOW_CARP_B0) { in get_phy_mux_symclk()
|
D | dcn31_resource.c | 1986 if (dc->ctx->asic_id.hw_internal_rev == YELLOW_CARP_B0) { in dcn31_resource_construct() 2160 dc->ctx->asic_id.hw_internal_rev == YELLOW_CARP_B0 && in dcn31_resource_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_resource.c | 867 ASICREV_IS_RAVEN2(ctx->asic_id.hw_internal_rev)) in dcn10_hwseq_create() 1316 if (ASICREV_IS_RV1_F0(dc->ctx->asic_id.hw_internal_rev)) { in dcn10_resource_construct_fp() 1333 if (ASICREV_IS_RV1_F0(dc->ctx->asic_id.hw_internal_rev)) { in dcn10_resource_construct_fp() 1517 if (ASICREV_IS_RAVEN2(dc->ctx->asic_id.hw_internal_rev)) in dcn10_resource_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/ |
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()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn302/ |
D | dcn302_resource.c | 958 uint32_t hw_internal_rev = dc->ctx->asic_id.hw_internal_rev; in is_soc_bounding_box_valid() local 960 if (ASICREV_IS_DIMGREY_CAVEFISH_P(hw_internal_rev)) in is_soc_bounding_box_valid()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn303/ |
D | dcn303_resource.c | 886 uint32_t hw_internal_rev = dc->ctx->asic_id.hw_internal_rev; in is_soc_bounding_box_valid() local 888 if (ASICREV_IS_BEIGE_GOBY_P(hw_internal_rev)) in is_soc_bounding_box_valid()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn301/ |
D | dcn301_resource.c | 1302 uint32_t hw_internal_rev = dc->ctx->asic_id.hw_internal_rev; in is_soc_bounding_box_valid() local 1304 if (ASICREV_IS_VANGOGH(hw_internal_rev)) in is_soc_bounding_box_valid()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/ |
D | dc_types.h | 846 uint32_t hw_internal_rev; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_resource.c | 1209 if (ASIC_REV_IS_POLARIS11_M(asic_id->hw_internal_rev) || in dce112_resource_cap() 1210 ASIC_REV_IS_POLARIS12_V(asic_id->hw_internal_rev)) in dce112_resource_cap()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_resource.c | 565 hws->regs = ASIC_REV_IS_STONEY(ctx->asic_id.hw_internal_rev) ? in dce110_hwseq_create() 1339 if (ASIC_REV_IS_STONEY(asic_id->hw_internal_rev)) in dce110_resource_cap()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_resource.c | 1502 uint32_t hw_internal_rev = dc->ctx->asic_id.hw_internal_rev; in is_soc_bounding_box_valid() local 1504 if (ASICREV_IS_SIENNA_CICHLID_P(hw_internal_rev)) in is_soc_bounding_box_valid()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_clk_mgr.c | 322 ASICREV_IS_VEGA20_P(clk_mgr->ctx->asic_id.hw_internal_rev))) in dce112_set_clock()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/ |
D | rn_clk_mgr.c | 710 is_green_sardine = ASICREV_IS_GREEN_SARDINE(ctx->asic_id.hw_internal_rev); in rn_clk_mgr_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_resource.c | 1061 bool is_vg20 = ASICREV_IS_VEGA20_P(ctx->asic_id.hw_internal_rev); in dce120_resource_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
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()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | dcn20_fpu.c | 1706 if (ASICREV_IS_NAVI12_P(dc->ctx->asic_id.hw_internal_rev)) in dcn20_update_bounding_box()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 1457 init_data.asic_id.hw_internal_rev = adev->external_rev_id; in amdgpu_dm_init()
|