Searched refs:ib_idx (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vce.c | 586 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 …]
|
D | amdgpu_uvd.c | 100 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 …]
|
D | amdgpu_vce.h | 62 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);
|
D | amdgpu_uvd.h | 84 int amdgpu_uvd_ring_parse_cs(struct amdgpu_cs_parser *parser, uint32_t ib_idx);
|
D | amdgpu_ring.h | 150 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);
|
D | amdgpu.h | 529 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()
|
D | uvd_v7_0.c | 1260 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()
|