Lines Matching refs:num_rings
126 unsigned num_rings = 0; in amdgpu_ctx_init() local
132 num_rings = 1; in amdgpu_ctx_init()
137 num_rings = adev->gfx.num_compute_rings; in amdgpu_ctx_init()
142 num_rings = adev->sdma.num_instances; in amdgpu_ctx_init()
146 num_rings = 1; in amdgpu_ctx_init()
150 num_rings = 1; in amdgpu_ctx_init()
154 num_rings = 1; in amdgpu_ctx_init()
160 rings[num_rings++] = &adev->vcn.inst[j].ring_dec; in amdgpu_ctx_init()
168 rings[num_rings++] = &adev->vcn.inst[j].ring_enc[k]; in amdgpu_ctx_init()
175 rings[num_rings++] = &adev->vcn.inst[j].ring_jpeg; in amdgpu_ctx_init()
180 for (j = 0; j < num_rings; ++j) { in amdgpu_ctx_init()