Home
last modified time | relevance | path

Searched refs:num_se (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega10_powertune.c914 uint32_t num_se = 0, count, data; in vega10_enable_cac_driving_se_didt_config() local
916 num_se = adev->gfx.config.max_shader_engines; in vega10_enable_cac_driving_se_didt_config()
921 for (count = 0; count < num_se; count++) { in vega10_enable_cac_driving_se_didt_config()
965 uint32_t num_se = 0, count, data; in vega10_enable_psm_gc_didt_config() local
967 num_se = adev->gfx.config.max_shader_engines; in vega10_enable_psm_gc_didt_config()
972 for (count = 0; count < num_se; count++) { in vega10_enable_psm_gc_didt_config()
1026 uint32_t num_se = 0, count, data; in vega10_enable_se_edc_config() local
1028 num_se = adev->gfx.config.max_shader_engines; in vega10_enable_se_edc_config()
1033 for (count = 0; count < num_se; count++) { in vega10_enable_se_edc_config()
1073 uint32_t num_se = 0; in vega10_enable_psm_gc_edc_config() local
[all …]
Dsmu7_powertune.c962 uint32_t num_se = 0; in smu7_enable_didt_config() local
966 num_se = adev->gfx.config.max_shader_engines; in smu7_enable_didt_config()
977 for (count = 0; count < num_se; count++) { in smu7_enable_didt_config()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Dgfx_v6_0.c1378 unsigned num_se = max_t(unsigned, adev->gfx.config.max_shader_engines, 1); in gfx_v6_0_write_harvested_raster_configs() local
1379 unsigned rb_per_pkr = min_t(unsigned, num_rb / num_se / sh_per_se, 2); in gfx_v6_0_write_harvested_raster_configs()
1380 unsigned rb_per_se = num_rb / num_se; in gfx_v6_0_write_harvested_raster_configs()
1389 WARN_ON(!(num_se == 1 || num_se == 2 || num_se == 4)); in gfx_v6_0_write_harvested_raster_configs()
1393 for (se = 0; se < num_se; se++) { in gfx_v6_0_write_harvested_raster_configs()
1399 if ((num_se > 1) && (!se_mask[idx] || !se_mask[idx + 1])) { in gfx_v6_0_write_harvested_raster_configs()
Damdgpu_gfx.h135 uint8_t num_se; member
Dgfx_v7_0.c1675 unsigned num_se = max_t(unsigned, adev->gfx.config.max_shader_engines, 1); in gfx_v7_0_write_harvested_raster_configs() local
1676 unsigned rb_per_pkr = min_t(unsigned, num_rb / num_se / sh_per_se, 2); in gfx_v7_0_write_harvested_raster_configs()
1677 unsigned rb_per_se = num_rb / num_se; in gfx_v7_0_write_harvested_raster_configs()
1686 WARN_ON(!(num_se == 1 || num_se == 2 || num_se == 4)); in gfx_v7_0_write_harvested_raster_configs()
1690 if ((num_se > 2) && ((!se_mask[0] && !se_mask[1]) || in gfx_v7_0_write_harvested_raster_configs()
1703 for (se = 0; se < num_se; se++) { in gfx_v7_0_write_harvested_raster_configs()
1709 if ((num_se > 1) && (!se_mask[idx] || !se_mask[idx + 1])) { in gfx_v7_0_write_harvested_raster_configs()
Dgfx_v8_0.c3522 unsigned num_se = max_t(unsigned, adev->gfx.config.max_shader_engines, 1); in gfx_v8_0_write_harvested_raster_configs() local
3523 unsigned rb_per_pkr = min_t(unsigned, num_rb / num_se / sh_per_se, 2); in gfx_v8_0_write_harvested_raster_configs()
3524 unsigned rb_per_se = num_rb / num_se; in gfx_v8_0_write_harvested_raster_configs()
3533 WARN_ON(!(num_se == 1 || num_se == 2 || num_se == 4)); in gfx_v8_0_write_harvested_raster_configs()
3537 if ((num_se > 2) && ((!se_mask[0] && !se_mask[1]) || in gfx_v8_0_write_harvested_raster_configs()
3550 for (se = 0; se < num_se; se++) { in gfx_v8_0_write_harvested_raster_configs()
3556 if ((num_se > 1) && (!se_mask[idx] || !se_mask[idx + 1])) { in gfx_v8_0_write_harvested_raster_configs()
Dgfx_v9_0.c2208 adev->gfx.config.gb_addr_config_fields.num_se = 1 << in gfx_v9_0_gpu_early_init()
Dgfx_v10_0.c4276 adev->gfx.config.gb_addr_config_fields.num_se = 1 << in gfx_v10_0_gpu_early_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c3988 adev->gfx.config.gb_addr_config_fields.num_se; in fill_plane_buffer_attributes()