Home
last modified time | relevance | path

Searched refs:ib_idx (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vce.c586 static int amdgpu_vce_validate_bo(struct amdgpu_cs_parser *p, uint32_t ib_idx, in amdgpu_vce_validate_bo() argument
597 addr = ((uint64_t)amdgpu_get_ib_value(p, ib_idx, lo)) | in amdgpu_vce_validate_bo()
598 ((uint64_t)amdgpu_get_ib_value(p, ib_idx, hi)) << 32; in amdgpu_vce_validate_bo()
634 static int amdgpu_vce_cs_reloc(struct amdgpu_cs_parser *p, uint32_t ib_idx, in amdgpu_vce_cs_reloc() argument
645 addr = ((uint64_t)amdgpu_get_ib_value(p, ib_idx, lo)) | in amdgpu_vce_cs_reloc()
646 ((uint64_t)amdgpu_get_ib_value(p, ib_idx, hi)) << 32; in amdgpu_vce_cs_reloc()
667 amdgpu_set_ib_value(p, ib_idx, lo, lower_32_bits(addr)); in amdgpu_vce_cs_reloc()
668 amdgpu_set_ib_value(p, ib_idx, hi, upper_32_bits(addr)); in amdgpu_vce_cs_reloc()
719 int amdgpu_vce_ring_parse_cs(struct amdgpu_cs_parser *p, uint32_t ib_idx) in amdgpu_vce_ring_parse_cs() argument
721 struct amdgpu_ib *ib = &p->job->ibs[ib_idx]; in amdgpu_vce_ring_parse_cs()
[all …]
Damdgpu_uvd.c100 unsigned ib_idx; member
499 lo = amdgpu_get_ib_value(ctx->parser, ctx->ib_idx, ctx->data0); in amdgpu_uvd_get_addr_from_ctx()
500 hi = amdgpu_get_ib_value(ctx->parser, ctx->ib_idx, ctx->data1); in amdgpu_uvd_get_addr_from_ctx()
531 cmd = amdgpu_get_ib_value(ctx->parser, ctx->ib_idx, ctx->idx) >> 1; in amdgpu_uvd_cs_pass1()
867 amdgpu_set_ib_value(ctx->parser, ctx->ib_idx, ctx->data0, in amdgpu_uvd_cs_pass2()
869 amdgpu_set_ib_value(ctx->parser, ctx->ib_idx, ctx->data1, in amdgpu_uvd_cs_pass2()
872 cmd = amdgpu_get_ib_value(ctx->parser, ctx->ib_idx, ctx->idx) >> 1; in amdgpu_uvd_cs_pass2()
932 struct amdgpu_ib *ib = &ctx->parser->job->ibs[ctx->ib_idx]; in amdgpu_uvd_cs_reg()
979 struct amdgpu_ib *ib = &ctx->parser->job->ibs[ctx->ib_idx]; in amdgpu_uvd_cs_packets()
983 uint32_t cmd = amdgpu_get_ib_value(ctx->parser, ctx->ib_idx, ctx->idx); in amdgpu_uvd_cs_packets()
[all …]
Damdgpu_vce.h62 int amdgpu_vce_ring_parse_cs(struct amdgpu_cs_parser *p, uint32_t ib_idx);
63 int amdgpu_vce_ring_parse_cs_vm(struct amdgpu_cs_parser *p, uint32_t ib_idx);
Damdgpu_uvd.h84 int amdgpu_uvd_ring_parse_cs(struct amdgpu_cs_parser *parser, uint32_t ib_idx);
Damdgpu_ring.h150 int (*parse_cs)(struct amdgpu_cs_parser *p, uint32_t ib_idx);
151 int (*patch_cs_in_place)(struct amdgpu_cs_parser *p, uint32_t ib_idx);
Damdgpu.h529 uint32_t ib_idx, int idx) in amdgpu_get_ib_value() argument
531 return p->job->ibs[ib_idx].ptr[idx]; in amdgpu_get_ib_value()
535 uint32_t ib_idx, int idx, in amdgpu_set_ib_value() argument
538 p->job->ibs[ib_idx].ptr[idx] = value; in amdgpu_set_ib_value()
Duvd_v7_0.c1260 uint32_t ib_idx) in uvd_v7_0_ring_patch_cs_in_place() argument
1263 struct amdgpu_ib *ib = &p->job->ibs[ib_idx]; in uvd_v7_0_ring_patch_cs_in_place()
1271 uint32_t reg = amdgpu_get_ib_value(p, ib_idx, i); in uvd_v7_0_ring_patch_cs_in_place()
1276 amdgpu_set_ib_value(p, ib_idx, i, reg); in uvd_v7_0_ring_patch_cs_in_place()