Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_uvd.c567 unsigned image_size, tmp, min_dpb_size, num_dpb_buffer; in amdgpu_uvd_cs_msg_decode() local
607 min_dpb_size = image_size * num_dpb_buffer; in amdgpu_uvd_cs_msg_decode()
610 min_dpb_size += width_in_mb * height_in_mb * num_dpb_buffer * 192; in amdgpu_uvd_cs_msg_decode()
613 min_dpb_size += width_in_mb * height_in_mb * 32; in amdgpu_uvd_cs_msg_decode()
619 min_dpb_size = image_size * 3; in amdgpu_uvd_cs_msg_decode()
622 min_dpb_size += width_in_mb * height_in_mb * 128; in amdgpu_uvd_cs_msg_decode()
625 min_dpb_size += width_in_mb * 64; in amdgpu_uvd_cs_msg_decode()
628 min_dpb_size += width_in_mb * 128; in amdgpu_uvd_cs_msg_decode()
632 min_dpb_size += ALIGN(tmp * 7 * 16, 64); in amdgpu_uvd_cs_msg_decode()
638 min_dpb_size = image_size * 3; in amdgpu_uvd_cs_msg_decode()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_uvd.c365 unsigned image_size, tmp, min_dpb_size; in radeon_uvd_cs_msg_decode() local
375 min_dpb_size = image_size * 17; in radeon_uvd_cs_msg_decode()
378 min_dpb_size += width_in_mb * height_in_mb * 17 * 192; in radeon_uvd_cs_msg_decode()
381 min_dpb_size += width_in_mb * height_in_mb * 32; in radeon_uvd_cs_msg_decode()
387 min_dpb_size = image_size * 3; in radeon_uvd_cs_msg_decode()
390 min_dpb_size += width_in_mb * height_in_mb * 128; in radeon_uvd_cs_msg_decode()
393 min_dpb_size += width_in_mb * 64; in radeon_uvd_cs_msg_decode()
396 min_dpb_size += width_in_mb * 128; in radeon_uvd_cs_msg_decode()
400 min_dpb_size += ALIGN(tmp * 7 * 16, 64); in radeon_uvd_cs_msg_decode()
406 min_dpb_size = image_size * 3; in radeon_uvd_cs_msg_decode()
[all …]