Searched refs:sh_per_se (Results 1 – 5 of 5) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | si.c | 2997 u32 se_num, u32 sh_per_se, in si_setup_spi() argument 3004 for (j = 0; j < sh_per_se; j++) { in si_setup_spi() 3025 u32 sh_per_se) in si_get_rb_disabled() argument 3038 mask = si_create_bitmask(max_rb_num_per_se / sh_per_se); in si_get_rb_disabled() 3044 u32 se_num, u32 sh_per_se, in si_setup_rb() argument 3053 for (j = 0; j < sh_per_se; j++) { in si_setup_rb() 3055 data = si_get_rb_disabled(rdev, max_rb_num_per_se, sh_per_se); in si_setup_rb() 3056 disabled_rbs |= data << ((i * sh_per_se + j) * TAHITI_RB_BITMAP_WIDTH_PER_SH); in si_setup_rb() 3073 for (j = 0; j < sh_per_se; j++) { in si_setup_rb() 3076 data |= (RASTER_CONFIG_RB_MAP_0 << (i * sh_per_se + j) * 2); in si_setup_rb() [all …]
|
D | cik.c | 3087 u32 sh_per_se) in cik_get_rb_disabled() argument 3100 mask = cik_create_bitmask(max_rb_num_per_se / sh_per_se); in cik_get_rb_disabled() 3116 u32 se_num, u32 sh_per_se, in cik_setup_rb() argument 3125 for (j = 0; j < sh_per_se; j++) { in cik_setup_rb() 3127 data = cik_get_rb_disabled(rdev, max_rb_num_per_se, sh_per_se); in cik_setup_rb() 3129 disabled_rbs |= data << ((i * sh_per_se + j) * HAWAII_RB_BITMAP_WIDTH_PER_SH); in cik_setup_rb() 3131 disabled_rbs |= data << ((i * sh_per_se + j) * CIK_RB_BITMAP_WIDTH_PER_SH); in cik_setup_rb() 3148 for (j = 0; j < sh_per_se; j++) { in cik_setup_rb() 3157 data |= (RASTER_CONFIG_RB_MAP_0 << (i * sh_per_se + j) * 2); in cik_setup_rb() 3160 data |= (RASTER_CONFIG_RB_MAP_3 << (i * sh_per_se + j) * 2); in cik_setup_rb() [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | gfx_v6_0.c | 1377 unsigned sh_per_se = max_t(unsigned, adev->gfx.config.max_sh_per_se, 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() 1390 WARN_ON(!(sh_per_se == 1 || sh_per_se == 2)); in gfx_v6_0_write_harvested_raster_configs()
|
D | gfx_v7_0.c | 1674 unsigned sh_per_se = max_t(unsigned, adev->gfx.config.max_sh_per_se, 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() 1687 WARN_ON(!(sh_per_se == 1 || sh_per_se == 2)); in gfx_v7_0_write_harvested_raster_configs()
|
D | gfx_v8_0.c | 3538 unsigned sh_per_se = max_t(unsigned, adev->gfx.config.max_sh_per_se, 1); in gfx_v8_0_write_harvested_raster_configs() local 3540 unsigned rb_per_pkr = min_t(unsigned, num_rb / num_se / sh_per_se, 2); in gfx_v8_0_write_harvested_raster_configs() 3551 WARN_ON(!(sh_per_se == 1 || sh_per_se == 2)); in gfx_v8_0_write_harvested_raster_configs()
|