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

/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_uvd.c74 unsigned *buf_sizes; member in struct:amdgpu_uvd_cs_ctx
373 * @buf_sizes: returned buffer sizes
377 static int amdgpu_uvd_cs_msg_decode(uint32_t *msg, unsigned buf_sizes[]) amdgpu_uvd_cs_msg_decode() argument
503 buf_sizes[0x1] = dpb_size; amdgpu_uvd_cs_msg_decode()
504 buf_sizes[0x2] = image_size; amdgpu_uvd_cs_msg_decode()
505 buf_sizes[0x4] = min_ctx_size; amdgpu_uvd_cs_msg_decode()
579 r = amdgpu_uvd_cs_msg_decode(msg, ctx->buf_sizes); amdgpu_uvd_cs_msg()
652 if ((end - start) < ctx->buf_sizes[cmd]) { amdgpu_uvd_cs_pass2()
655 ctx->buf_sizes[cmd]); amdgpu_uvd_cs_pass2()
660 if ((end - start) < ctx->buf_sizes[4]) { amdgpu_uvd_cs_pass2()
663 ctx->buf_sizes[4]); amdgpu_uvd_cs_pass2()
791 unsigned buf_sizes[] = { amdgpu_uvd_ring_parse_cs() local
808 ctx.buf_sizes = buf_sizes; amdgpu_uvd_ring_parse_cs()
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_uvd.c310 static int radeon_uvd_cs_msg_decode(uint32_t *msg, unsigned buf_sizes[]) radeon_uvd_cs_msg_decode() argument
393 buf_sizes[0x1] = dpb_size; radeon_uvd_cs_msg_decode()
394 buf_sizes[0x2] = image_size; radeon_uvd_cs_msg_decode()
422 unsigned offset, unsigned buf_sizes[]) radeon_uvd_cs_msg()
492 r = radeon_uvd_cs_msg_decode(msg, buf_sizes); radeon_uvd_cs_msg()
530 unsigned buf_sizes[], bool *has_msg_cmd) radeon_uvd_cs_reloc()
562 if ((end - start) < buf_sizes[cmd]) { radeon_uvd_cs_reloc()
564 (unsigned)(end - start), buf_sizes[cmd]); radeon_uvd_cs_reloc()
593 r = radeon_uvd_cs_msg(p, reloc->robj, offset, buf_sizes); radeon_uvd_cs_reloc()
607 unsigned buf_sizes[], radeon_uvd_cs_reg()
623 buf_sizes, has_msg_cmd); radeon_uvd_cs_reg()
648 unsigned buf_sizes[] = { radeon_uvd_cs_parse() local
674 buf_sizes, &has_msg_cmd); radeon_uvd_cs_parse()
421 radeon_uvd_cs_msg(struct radeon_cs_parser *p, struct radeon_bo *bo, unsigned offset, unsigned buf_sizes[]) radeon_uvd_cs_msg() argument
528 radeon_uvd_cs_reloc(struct radeon_cs_parser *p, int data0, int data1, unsigned buf_sizes[], bool *has_msg_cmd) radeon_uvd_cs_reloc() argument
604 radeon_uvd_cs_reg(struct radeon_cs_parser *p, struct radeon_cs_packet *pkt, int *data0, int *data1, unsigned buf_sizes[], bool *has_msg_cmd) radeon_uvd_cs_reg() argument

Completed in 88 milliseconds