Home
last modified time | relevance | path

Searched refs:pipes_log2 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_display.c957 int pipes_log2 = AMD_FMT_MOD_GET(PIPE_XOR_BITS, modifier); in get_dcc_block_size() local
959 if (ver >= AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS && pipes_log2 > 1 && in get_dcc_block_size()
960 AMD_FMT_MOD_GET(PACKERS, modifier) == pipes_log2) in get_dcc_block_size()
961 ++pipes_log2; in get_dcc_block_size()
963 return max(8 + (pipe_aligned ? pipes_log2 : 0), 12); in get_dcc_block_size()
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c241 unsigned int pipes_log2; in fill_gfx9_tiling_info_from_modifier() local
243 pipes_log2 = min(5u, mod_pipe_xor_bits); in fill_gfx9_tiling_info_from_modifier()
250 tiling_info->gfx9.num_pipes = 1u << pipes_log2; in fill_gfx9_tiling_info_from_modifier()
251 tiling_info->gfx9.num_shader_engines = 1u << (mod_pipe_xor_bits - pipes_log2); in fill_gfx9_tiling_info_from_modifier()