Home
last modified time | relevance | path

Searched refs:session_idx (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vce.c645 int session_idx = -1; in amdgpu_vce_ring_parse_cs() local
670 session_idx = amdgpu_vce_validate_handle(p, handle, in amdgpu_vce_ring_parse_cs()
672 if (session_idx < 0) { in amdgpu_vce_ring_parse_cs()
673 r = session_idx; in amdgpu_vce_ring_parse_cs()
676 size = &p->adev->vce.img_size[session_idx]; in amdgpu_vce_ring_parse_cs()
685 created |= 1 << session_idx; in amdgpu_vce_ring_parse_cs()
686 if (destroyed & (1 << session_idx)) { in amdgpu_vce_ring_parse_cs()
687 destroyed &= ~(1 << session_idx); in amdgpu_vce_ring_parse_cs()
688 allocated |= 1 << session_idx; in amdgpu_vce_ring_parse_cs()
690 } else if (!(allocated & (1 << session_idx))) { in amdgpu_vce_ring_parse_cs()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_vce.c559 int session_idx = -1; in radeon_vce_cs_parse() local
584 session_idx = radeon_vce_validate_handle(p, handle, in radeon_vce_cs_parse()
586 if (session_idx < 0) in radeon_vce_cs_parse()
587 return session_idx; in radeon_vce_cs_parse()
588 size = &p->rdev->vce.img_size[session_idx]; in radeon_vce_cs_parse()
659 if (session_idx == -1) { in radeon_vce_cs_parse()