Searched refs:buf_sizes (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | radeon_uvd.c | 356 static int radeon_uvd_cs_msg_decode(uint32_t *msg, unsigned buf_sizes[]) in radeon_uvd_cs_msg_decode() argument 439 buf_sizes[0x1] = dpb_size; in radeon_uvd_cs_msg_decode() 440 buf_sizes[0x2] = image_size; in radeon_uvd_cs_msg_decode() 468 unsigned offset, unsigned buf_sizes[]) in radeon_uvd_cs_msg() argument 538 r = radeon_uvd_cs_msg_decode(msg, buf_sizes); in radeon_uvd_cs_msg() 576 unsigned buf_sizes[], bool *has_msg_cmd) in radeon_uvd_cs_reloc() argument 608 if ((end - start) < buf_sizes[cmd]) { in radeon_uvd_cs_reloc() 610 (unsigned)(end - start), buf_sizes[cmd]); in radeon_uvd_cs_reloc() 639 r = radeon_uvd_cs_msg(p, reloc->robj, offset, buf_sizes); in radeon_uvd_cs_reloc() 653 unsigned buf_sizes[], in radeon_uvd_cs_reg() argument [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_uvd.c | 107 unsigned *buf_sizes; member 565 unsigned buf_sizes[]) in amdgpu_uvd_cs_msg_decode() argument 742 buf_sizes[0x1] = dpb_size; in amdgpu_uvd_cs_msg_decode() 743 buf_sizes[0x2] = image_size; in amdgpu_uvd_cs_msg_decode() 744 buf_sizes[0x4] = min_ctx_size; in amdgpu_uvd_cs_msg_decode() 814 r = amdgpu_uvd_cs_msg_decode(adev, msg, ctx->buf_sizes); in amdgpu_uvd_cs_msg() 884 if ((end - start) < ctx->buf_sizes[cmd]) { in amdgpu_uvd_cs_pass2() 887 ctx->buf_sizes[cmd]); in amdgpu_uvd_cs_pass2() 892 if ((end - start) < ctx->buf_sizes[4]) { in amdgpu_uvd_cs_pass2() 895 ctx->buf_sizes[4]); in amdgpu_uvd_cs_pass2() [all …]
|