Searched refs:sh_per_se (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | si.c | 2992 u32 se_num, u32 sh_per_se, in si_setup_spi() argument 2999 for (j = 0; j < sh_per_se; j++) { in si_setup_spi() 3020 u32 sh_per_se) in si_get_rb_disabled() argument 3033 mask = si_create_bitmask(max_rb_num_per_se / sh_per_se); in si_get_rb_disabled() 3039 u32 se_num, u32 sh_per_se, in si_setup_rb() argument 3048 for (j = 0; j < sh_per_se; j++) { in si_setup_rb() 3050 data = si_get_rb_disabled(rdev, max_rb_num_per_se, sh_per_se); in si_setup_rb() 3051 disabled_rbs |= data << ((i * sh_per_se + j) * TAHITI_RB_BITMAP_WIDTH_PER_SH); in si_setup_rb() 3068 for (j = 0; j < sh_per_se; j++) { in si_setup_rb() 3071 data |= (RASTER_CONFIG_RB_MAP_0 << (i * sh_per_se + j) * 2); in si_setup_rb() [all …]
|
D | cik.c | 3073 u32 sh_per_se) in cik_get_rb_disabled() argument 3086 mask = cik_create_bitmask(max_rb_num_per_se / sh_per_se); in cik_get_rb_disabled() 3102 u32 se_num, u32 sh_per_se, in cik_setup_rb() argument 3111 for (j = 0; j < sh_per_se; j++) { in cik_setup_rb() 3113 data = cik_get_rb_disabled(rdev, max_rb_num_per_se, sh_per_se); in cik_setup_rb() 3115 disabled_rbs |= data << ((i * sh_per_se + j) * HAWAII_RB_BITMAP_WIDTH_PER_SH); in cik_setup_rb() 3117 disabled_rbs |= data << ((i * sh_per_se + j) * CIK_RB_BITMAP_WIDTH_PER_SH); in cik_setup_rb() 3134 for (j = 0; j < sh_per_se; j++) { in cik_setup_rb() 3143 data |= (RASTER_CONFIG_RB_MAP_0 << (i * sh_per_se + j) * 2); in cik_setup_rb() 3146 data |= (RASTER_CONFIG_RB_MAP_3 << (i * sh_per_se + j) * 2); in cik_setup_rb() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | gfx_v6_0.c | 1363 unsigned sh_per_se = max_t(unsigned, adev->gfx.config.max_sh_per_se, 1); in gfx_v6_0_write_harvested_raster_configs() local 1365 unsigned rb_per_pkr = min_t(unsigned, num_rb / num_se / sh_per_se, 2); in gfx_v6_0_write_harvested_raster_configs() 1376 WARN_ON(!(sh_per_se == 1 || sh_per_se == 2)); in gfx_v6_0_write_harvested_raster_configs()
|
D | gfx_v7_0.c | 1639 unsigned sh_per_se = max_t(unsigned, adev->gfx.config.max_sh_per_se, 1); in gfx_v7_0_write_harvested_raster_configs() local 1641 unsigned rb_per_pkr = min_t(unsigned, num_rb / num_se / sh_per_se, 2); in gfx_v7_0_write_harvested_raster_configs() 1652 WARN_ON(!(sh_per_se == 1 || sh_per_se == 2)); in gfx_v7_0_write_harvested_raster_configs()
|
D | gfx_v8_0.c | 3488 unsigned sh_per_se = max_t(unsigned, adev->gfx.config.max_sh_per_se, 1); in gfx_v8_0_write_harvested_raster_configs() local 3490 unsigned rb_per_pkr = min_t(unsigned, num_rb / num_se / sh_per_se, 2); in gfx_v8_0_write_harvested_raster_configs() 3501 WARN_ON(!(sh_per_se == 1 || sh_per_se == 2)); in gfx_v8_0_write_harvested_raster_configs()
|