Searched refs:session_idx (Results 1 – 2 of 2) sorted by relevance
741 int session_idx = -1; in amdgpu_vce_ring_parse_cs() local826 session_idx = amdgpu_vce_validate_handle(p, handle, in amdgpu_vce_ring_parse_cs()828 if (session_idx < 0) { in amdgpu_vce_ring_parse_cs()829 r = session_idx; in amdgpu_vce_ring_parse_cs()832 size = &p->adev->vce.img_size[session_idx]; in amdgpu_vce_ring_parse_cs()841 created |= 1 << session_idx; in amdgpu_vce_ring_parse_cs()842 if (destroyed & (1 << session_idx)) { in amdgpu_vce_ring_parse_cs()843 destroyed &= ~(1 << session_idx); in amdgpu_vce_ring_parse_cs()844 allocated |= 1 << session_idx; in amdgpu_vce_ring_parse_cs()846 } else if (!(allocated & (1 << session_idx))) { in amdgpu_vce_ring_parse_cs()[all …]
558 int session_idx = -1; in radeon_vce_cs_parse() local583 session_idx = radeon_vce_validate_handle(p, handle, in radeon_vce_cs_parse()585 if (session_idx < 0) in radeon_vce_cs_parse()586 return session_idx; in radeon_vce_cs_parse()587 size = &p->rdev->vce.img_size[session_idx]; in radeon_vce_cs_parse()658 if (session_idx == -1) { in radeon_vce_cs_parse()