Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vce.c592 static int amdgpu_vce_validate_bo(struct amdgpu_cs_parser *p, uint32_t ib_idx, in amdgpu_vce_validate_bo() argument
603 addr = ((uint64_t)amdgpu_get_ib_value(p, ib_idx, lo)) | in amdgpu_vce_validate_bo()
604 ((uint64_t)amdgpu_get_ib_value(p, ib_idx, hi)) << 32; in amdgpu_vce_validate_bo()
642 static int amdgpu_vce_cs_reloc(struct amdgpu_cs_parser *p, uint32_t ib_idx, in amdgpu_vce_cs_reloc() argument
653 addr = ((uint64_t)amdgpu_get_ib_value(p, ib_idx, lo)) | in amdgpu_vce_cs_reloc()
654 ((uint64_t)amdgpu_get_ib_value(p, ib_idx, hi)) << 32; in amdgpu_vce_cs_reloc()
675 amdgpu_set_ib_value(p, ib_idx, lo, lower_32_bits(addr)); in amdgpu_vce_cs_reloc()
676 amdgpu_set_ib_value(p, ib_idx, hi, upper_32_bits(addr)); in amdgpu_vce_cs_reloc()
727 int amdgpu_vce_ring_parse_cs(struct amdgpu_cs_parser *p, uint32_t ib_idx) in amdgpu_vce_ring_parse_cs() argument
729 struct amdgpu_ib *ib = &p->job->ibs[ib_idx]; in amdgpu_vce_ring_parse_cs()
[all …]
Damdgpu_uvd.c101 unsigned ib_idx; member
509 lo = amdgpu_get_ib_value(ctx->parser, ctx->ib_idx, ctx->data0); in amdgpu_uvd_get_addr_from_ctx()
510 hi = amdgpu_get_ib_value(ctx->parser, ctx->ib_idx, ctx->data1); in amdgpu_uvd_get_addr_from_ctx()
541 cmd = amdgpu_get_ib_value(ctx->parser, ctx->ib_idx, ctx->idx) >> 1; in amdgpu_uvd_cs_pass1()
877 amdgpu_set_ib_value(ctx->parser, ctx->ib_idx, ctx->data0, in amdgpu_uvd_cs_pass2()
879 amdgpu_set_ib_value(ctx->parser, ctx->ib_idx, ctx->data1, in amdgpu_uvd_cs_pass2()
882 cmd = amdgpu_get_ib_value(ctx->parser, ctx->ib_idx, ctx->idx) >> 1; in amdgpu_uvd_cs_pass2()
942 struct amdgpu_ib *ib = &ctx->parser->job->ibs[ctx->ib_idx]; in amdgpu_uvd_cs_reg()
989 struct amdgpu_ib *ib = &ctx->parser->job->ibs[ctx->ib_idx]; in amdgpu_uvd_cs_packets()
993 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.h154 int (*parse_cs)(struct amdgpu_cs_parser *p, uint32_t ib_idx);
155 int (*patch_cs_in_place)(struct amdgpu_cs_parser *p, uint32_t ib_idx);
Damdgpu.h558 uint32_t ib_idx, int idx) in amdgpu_get_ib_value() argument
560 return p->job->ibs[ib_idx].ptr[idx]; in amdgpu_get_ib_value()
564 uint32_t ib_idx, int idx, in amdgpu_set_ib_value() argument
567 p->job->ibs[ib_idx].ptr[idx] = value; in amdgpu_set_ib_value()
Duvd_v7_0.c1289 uint32_t ib_idx) in uvd_v7_0_ring_patch_cs_in_place() argument
1292 struct amdgpu_ib *ib = &p->job->ibs[ib_idx]; in uvd_v7_0_ring_patch_cs_in_place()
1300 uint32_t reg = amdgpu_get_ib_value(p, ib_idx, i); in uvd_v7_0_ring_patch_cs_in_place()
1305 amdgpu_set_ib_value(p, ib_idx, i, reg); in uvd_v7_0_ring_patch_cs_in_place()
Dvcn_v3_0.c1939 uint32_t ib_idx) in vcn_v3_0_ring_patch_cs_in_place() argument
1942 struct amdgpu_ib *ib = &p->job->ibs[ib_idx]; in vcn_v3_0_ring_patch_cs_in_place()
1952 uint32_t reg = amdgpu_get_ib_value(p, ib_idx, i); in vcn_v3_0_ring_patch_cs_in_place()
1953 uint32_t val = amdgpu_get_ib_value(p, ib_idx, i + 1); in vcn_v3_0_ring_patch_cs_in_place()