Searched refs:buf_sizes (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/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 528 r = radeon_uvd_cs_msg_decode(msg, buf_sizes); in radeon_uvd_cs_msg() 564 unsigned buf_sizes[], bool *has_msg_cmd) in radeon_uvd_cs_reloc() argument 596 if ((end - start) < buf_sizes[cmd]) { in radeon_uvd_cs_reloc() 598 (unsigned)(end - start), buf_sizes[cmd]); in radeon_uvd_cs_reloc() 627 r = radeon_uvd_cs_msg(p, reloc->robj, offset, buf_sizes); in radeon_uvd_cs_reloc() 641 unsigned buf_sizes[], in radeon_uvd_cs_reg() argument [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_uvd.c | 108 unsigned int *buf_sizes; member 614 unsigned int buf_sizes[]) in amdgpu_uvd_cs_msg_decode() argument 791 buf_sizes[0x1] = dpb_size; in amdgpu_uvd_cs_msg_decode() 792 buf_sizes[0x2] = image_size; in amdgpu_uvd_cs_msg_decode() 793 buf_sizes[0x4] = min_ctx_size; in amdgpu_uvd_cs_msg_decode() 864 r = amdgpu_uvd_cs_msg_decode(adev, msg, ctx->buf_sizes); in amdgpu_uvd_cs_msg() 933 if ((end - start) < ctx->buf_sizes[cmd]) { in amdgpu_uvd_cs_pass2() 936 ctx->buf_sizes[cmd]); in amdgpu_uvd_cs_pass2() 941 if ((end - start) < ctx->buf_sizes[4]) { in amdgpu_uvd_cs_pass2() 944 ctx->buf_sizes[4]); in amdgpu_uvd_cs_pass2() [all …]
|