Home
last modified time | relevance | path

Searched refs:dcn_soc (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calcs.c641 if ((int)(dc->dcn_soc->sr_exit_time * 1000) != dc->debug.sr_exit_time_ns in dcn_bw_apply_registry_override()
644 dc->dcn_soc->sr_exit_time = dc->debug.sr_exit_time_ns / 1000.0; in dcn_bw_apply_registry_override()
647 if ((int)(dc->dcn_soc->sr_enter_plus_exit_time * 1000) in dcn_bw_apply_registry_override()
651 dc->dcn_soc->sr_enter_plus_exit_time = in dcn_bw_apply_registry_override()
655 if ((int)(dc->dcn_soc->urgent_latency * 1000) != dc->debug.urgent_latency_ns in dcn_bw_apply_registry_override()
658 dc->dcn_soc->urgent_latency = dc->debug.urgent_latency_ns / 1000.0; in dcn_bw_apply_registry_override()
661 if ((int)(dc->dcn_soc->percent_of_ideal_drambw_received_after_urg_latency * 1000) in dcn_bw_apply_registry_override()
665 dc->dcn_soc->percent_of_ideal_drambw_received_after_urg_latency = in dcn_bw_apply_registry_override()
669 if ((int)(dc->dcn_soc->dram_clock_change_latency * 1000) in dcn_bw_apply_registry_override()
673 dc->dcn_soc->dram_clock_change_latency = in dcn_bw_apply_registry_override()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c1261 dc->dcn_soc->number_of_channels == 1) in dcn10_validate_global()
1491 memcpy(dc->dcn_soc, &dcn10_soc_defaults, sizeof(dcn10_soc_defaults)); in dcn10_resource_construct()
1494 struct dcn_soc_bounding_box *dcn_soc = dc->dcn_soc; in dcn10_resource_construct() local
1500 dcn_soc->dram_clock_change_latency = 23; in dcn10_resource_construct()
1504 dc->dcn_soc->urgent_latency = 3; in dcn10_resource_construct()
1506 dc->dcn_soc->fabric_and_dram_bandwidth_vmax0p9 = 41.60f; in dcn10_resource_construct()
1510 dc->dcn_soc->number_of_channels = dc->ctx->asic_id.vram_width / ddr4_dram_width; in dcn10_resource_construct()
1511 ASSERT(dc->dcn_soc->number_of_channels < 3); in dcn10_resource_construct()
1512 if (dc->dcn_soc->number_of_channels == 0)/*old sbios bug*/ in dcn10_resource_construct()
1513 dc->dcn_soc->number_of_channels = 2; in dcn10_resource_construct()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc.c582 kfree(dc->dcn_soc); in dc_destruct()
583 dc->dcn_soc = NULL; in dc_destruct()
635 struct dcn_soc_bounding_box *dcn_soc; in dc_construct() local
666 dcn_soc = kzalloc(sizeof(*dcn_soc), GFP_KERNEL); in dc_construct()
667 if (!dcn_soc) { in dc_construct()
672 dc->dcn_soc = dcn_soc; in dc_construct()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc.h590 struct dcn_soc_bounding_box *dcn_soc; member