Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_uvd.c667 min_dpb_size = image_size * num_dpb_buffer; in amdgpu_uvd_cs_msg_decode()
679 min_dpb_size = image_size * 3; in amdgpu_uvd_cs_msg_decode()
685 min_dpb_size += width_in_mb * 64; in amdgpu_uvd_cs_msg_decode()
688 min_dpb_size += width_in_mb * 128; in amdgpu_uvd_cs_msg_decode()
692 min_dpb_size += ALIGN(tmp * 7 * 16, 64); in amdgpu_uvd_cs_msg_decode()
698 min_dpb_size = image_size * 3; in amdgpu_uvd_cs_msg_decode()
704 min_dpb_size = image_size * 3; in amdgpu_uvd_cs_msg_decode()
749 min_dpb_size += in amdgpu_uvd_cs_msg_decode()
762 min_dpb_size = 0; in amdgpu_uvd_cs_msg_decode()
785 if (dpb_size < min_dpb_size) { in amdgpu_uvd_cs_msg_decode()
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_uvd.c367 unsigned image_size, tmp, min_dpb_size; in radeon_uvd_cs_msg_decode() local
377 min_dpb_size = image_size * 17; in radeon_uvd_cs_msg_decode()
383 min_dpb_size += width_in_mb * height_in_mb * 32; in radeon_uvd_cs_msg_decode()
389 min_dpb_size = image_size * 3; 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()
402 min_dpb_size += ALIGN(tmp * 7 * 16, 64); in radeon_uvd_cs_msg_decode()
408 min_dpb_size = image_size * 3; in radeon_uvd_cs_msg_decode()
414 min_dpb_size = image_size * 3; in radeon_uvd_cs_msg_decode()
433 if (dpb_size < min_dpb_size) { in radeon_uvd_cs_msg_decode()
[all …]