Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_uvd.c626 unsigned width_in_mb = width / 16; in amdgpu_uvd_cs_msg_decode() local
628 unsigned fs_in_mb = width_in_mb * height_in_mb; in amdgpu_uvd_cs_msg_decode()
673 min_dpb_size += width_in_mb * height_in_mb * num_dpb_buffer * 192; in amdgpu_uvd_cs_msg_decode()
676 min_dpb_size += width_in_mb * height_in_mb * 32; in amdgpu_uvd_cs_msg_decode()
685 min_dpb_size += width_in_mb * height_in_mb * 128; in amdgpu_uvd_cs_msg_decode()
688 min_dpb_size += width_in_mb * 64; in amdgpu_uvd_cs_msg_decode()
691 min_dpb_size += width_in_mb * 128; in amdgpu_uvd_cs_msg_decode()
694 tmp = max(width_in_mb, height_in_mb); in amdgpu_uvd_cs_msg_decode()
710 min_dpb_size += width_in_mb * height_in_mb * 64; in amdgpu_uvd_cs_msg_decode()
713 min_dpb_size += ALIGN(width_in_mb * height_in_mb * 32, 64); in amdgpu_uvd_cs_msg_decode()
[all …]
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_uvd.c364 unsigned width_in_mb = width / 16; in radeon_uvd_cs_msg_decode() local
380 min_dpb_size += width_in_mb * height_in_mb * 17 * 192; in radeon_uvd_cs_msg_decode()
383 min_dpb_size += width_in_mb * height_in_mb * 32; in radeon_uvd_cs_msg_decode()
392 min_dpb_size += width_in_mb * height_in_mb * 128; in radeon_uvd_cs_msg_decode()
395 min_dpb_size += width_in_mb * 64; in radeon_uvd_cs_msg_decode()
398 min_dpb_size += width_in_mb * 128; in radeon_uvd_cs_msg_decode()
401 tmp = max(width_in_mb, height_in_mb); in radeon_uvd_cs_msg_decode()
417 min_dpb_size += width_in_mb * height_in_mb * 64; in radeon_uvd_cs_msg_decode()
420 min_dpb_size += ALIGN(width_in_mb * height_in_mb * 32, 64); in radeon_uvd_cs_msg_decode()