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.c958 int pipes_log2 = AMD_FMT_MOD_GET(PIPE_XOR_BITS, modifier); in get_dcc_block_size() local
960 if (ver >= AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS && pipes_log2 > 1 && in get_dcc_block_size()
961 AMD_FMT_MOD_GET(PACKERS, modifier) == pipes_log2) in get_dcc_block_size()
962 ++pipes_log2; in get_dcc_block_size()
964 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.c240 unsigned int pipes_log2; in fill_gfx9_tiling_info_from_modifier() local
242 pipes_log2 = min(5u, mod_pipe_xor_bits); in fill_gfx9_tiling_info_from_modifier()
249 tiling_info->gfx9.num_pipes = 1u << pipes_log2; in fill_gfx9_tiling_info_from_modifier()
250 tiling_info->gfx9.num_shader_engines = 1u << (mod_pipe_xor_bits - pipes_log2); in fill_gfx9_tiling_info_from_modifier()