Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_display.c994 int pipes_log2 = AMD_FMT_MOD_GET(PIPE_XOR_BITS, modifier); in get_dcc_block_size() local
996 if (ver >= AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS && pipes_log2 > 1 && in get_dcc_block_size()
997 AMD_FMT_MOD_GET(PACKERS, modifier) == pipes_log2) in get_dcc_block_size()
998 ++pipes_log2; in get_dcc_block_size()
1000 return max(8 + (pipe_aligned ? pipes_log2 : 0), 12); in get_dcc_block_size()
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c239 unsigned int pipes_log2; in amdgpu_dm_plane_fill_gfx9_tiling_info_from_modifier() local
241 pipes_log2 = min(5u, mod_pipe_xor_bits); in amdgpu_dm_plane_fill_gfx9_tiling_info_from_modifier()
248 tiling_info->gfx9.num_pipes = 1u << pipes_log2; in amdgpu_dm_plane_fill_gfx9_tiling_info_from_modifier()
249 tiling_info->gfx9.num_shader_engines = 1u << (mod_pipe_xor_bits - pipes_log2); in amdgpu_dm_plane_fill_gfx9_tiling_info_from_modifier()