Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_display.c890 int pipes_log2 = AMD_FMT_MOD_GET(PIPE_XOR_BITS, modifier); in get_dcc_block_size() local
892 if (ver == AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS && pipes_log2 > 1 && in get_dcc_block_size()
893 AMD_FMT_MOD_GET(PACKERS, modifier) == pipes_log2) in get_dcc_block_size()
894 ++pipes_log2; in get_dcc_block_size()
896 return max(8 + (pipe_aligned ? pipes_log2 : 0), 12); in get_dcc_block_size()
/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c4388 unsigned int pipes_log2 = min(4u, mod_pipe_xor_bits); in fill_gfx9_tiling_info_from_modifier() local
4395 tiling_info->gfx9.num_pipes = 1u << pipes_log2; in fill_gfx9_tiling_info_from_modifier()
4396 tiling_info->gfx9.num_shader_engines = 1u << (mod_pipe_xor_bits - pipes_log2); in fill_gfx9_tiling_info_from_modifier()