Searched refs:dcn_soc (Results 1 – 5 of 5) sorted by relevance
131 struct dcn_soc_bounding_box *dcn_soc = dc->dcn_soc; in dcn10_resource_construct_fp() local137 dcn_soc->dram_clock_change_latency = 23; in dcn10_resource_construct_fp()141 dc->dcn_soc->urgent_latency = 3; in dcn10_resource_construct_fp()143 dc->dcn_soc->fabric_and_dram_bandwidth_vmax0p9 = 41.60f; in dcn10_resource_construct_fp()146 dc->dcn_soc->number_of_channels = dc->ctx->asic_id.vram_width / ddr4_dram_width; in dcn10_resource_construct_fp()147 ASSERT(dc->dcn_soc->number_of_channels < 3); in dcn10_resource_construct_fp()148 if (dc->dcn_soc->number_of_channels == 0)/*old sbios bug*/ in dcn10_resource_construct_fp()149 dc->dcn_soc->number_of_channels = 2; in dcn10_resource_construct_fp()151 if (dc->dcn_soc->number_of_channels == 1) { in dcn10_resource_construct_fp()152 dc->dcn_soc->fabric_and_dram_bandwidth_vmax0p9 = 19.2f; in dcn10_resource_construct_fp()[all …]
642 if ((int)(dc->dcn_soc->sr_exit_time * 1000) != dc->debug.sr_exit_time_ns in dcn_bw_apply_registry_override()645 dc->dcn_soc->sr_exit_time = dc->debug.sr_exit_time_ns / 1000.0; in dcn_bw_apply_registry_override()648 if ((int)(dc->dcn_soc->sr_enter_plus_exit_time * 1000) in dcn_bw_apply_registry_override()652 dc->dcn_soc->sr_enter_plus_exit_time = in dcn_bw_apply_registry_override()656 if ((int)(dc->dcn_soc->urgent_latency * 1000) != dc->debug.urgent_latency_ns in dcn_bw_apply_registry_override()659 dc->dcn_soc->urgent_latency = dc->debug.urgent_latency_ns / 1000.0; in dcn_bw_apply_registry_override()662 if ((int)(dc->dcn_soc->percent_of_ideal_drambw_received_after_urg_latency * 1000) in dcn_bw_apply_registry_override()666 dc->dcn_soc->percent_of_ideal_drambw_received_after_urg_latency = in dcn_bw_apply_registry_override()670 if ((int)(dc->dcn_soc->dram_clock_change_latency * 1000) in dcn_bw_apply_registry_override()674 dc->dcn_soc->dram_clock_change_latency = in dcn_bw_apply_registry_override()[all …]
842 kfree(dc->dcn_soc); in dc_destruct()843 dc->dcn_soc = NULL; in dc_destruct()898 struct dcn_soc_bounding_box *dcn_soc; in dc_construct() local927 dcn_soc = kzalloc(sizeof(*dcn_soc), GFP_KERNEL); in dc_construct()928 if (!dcn_soc) { in dc_construct()933 dc->dcn_soc = dcn_soc; in dc_construct()
1212 dc->dcn_soc->number_of_channels == 1) in dcn10_validate_global()1463 memcpy(dc->dcn_soc, &dcn10_soc_defaults, sizeof(dcn10_soc_defaults)); in dcn10_resource_construct()
952 struct dcn_soc_bounding_box *dcn_soc; member