Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_uvd.c354 static int radeon_uvd_cs_msg_decode(uint32_t *msg, unsigned buf_sizes[]) in radeon_uvd_cs_msg_decode() argument
437 buf_sizes[0x1] = dpb_size; in radeon_uvd_cs_msg_decode()
438 buf_sizes[0x2] = image_size; in radeon_uvd_cs_msg_decode()
466 unsigned offset, unsigned buf_sizes[]) in radeon_uvd_cs_msg() argument
536 r = radeon_uvd_cs_msg_decode(msg, buf_sizes); in radeon_uvd_cs_msg()
574 unsigned buf_sizes[], bool *has_msg_cmd) in radeon_uvd_cs_reloc() argument
606 if ((end - start) < buf_sizes[cmd]) { in radeon_uvd_cs_reloc()
608 (unsigned)(end - start), buf_sizes[cmd]); in radeon_uvd_cs_reloc()
637 r = radeon_uvd_cs_msg(p, reloc->robj, offset, buf_sizes); in radeon_uvd_cs_reloc()
651 unsigned buf_sizes[], in radeon_uvd_cs_reg() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_uvd.c106 unsigned *buf_sizes; member
554 unsigned buf_sizes[]) in amdgpu_uvd_cs_msg_decode() argument
731 buf_sizes[0x1] = dpb_size; in amdgpu_uvd_cs_msg_decode()
732 buf_sizes[0x2] = image_size; in amdgpu_uvd_cs_msg_decode()
733 buf_sizes[0x4] = min_ctx_size; in amdgpu_uvd_cs_msg_decode()
803 r = amdgpu_uvd_cs_msg_decode(adev, msg, ctx->buf_sizes); in amdgpu_uvd_cs_msg()
874 if ((end - start) < ctx->buf_sizes[cmd]) { in amdgpu_uvd_cs_pass2()
877 ctx->buf_sizes[cmd]); in amdgpu_uvd_cs_pass2()
882 if ((end - start) < ctx->buf_sizes[4]) { in amdgpu_uvd_cs_pass2()
885 ctx->buf_sizes[4]); in amdgpu_uvd_cs_pass2()
[all …]