Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vce.c739 unsigned int fb_idx = 0, bs_idx = 0; in amdgpu_vce_ring_parse_cs() local
764 fb_idx = amdgpu_ib_get_value(ib, idx + 6); in amdgpu_vce_ring_parse_cs()
797 4096, fb_idx); in amdgpu_vce_ring_parse_cs()
835 fb_idx = amdgpu_ib_get_value(ib, idx + 6); in amdgpu_vce_ring_parse_cs()
913 4096, fb_idx); in amdgpu_vce_ring_parse_cs()
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_av1_req_lat_if.c856 static void vdec_av1_slice_decrease_ref_count(struct vdec_av1_slice_slot *slots, int fb_idx) in vdec_av1_slice_decrease_ref_count() argument
860 frame_info[fb_idx].ref_count--; in vdec_av1_slice_decrease_ref_count()
861 if (frame_info[fb_idx].ref_count < 0) { in vdec_av1_slice_decrease_ref_count()
862 frame_info[fb_idx].ref_count = 0; in vdec_av1_slice_decrease_ref_count()
864 __func__, fb_idx); in vdec_av1_slice_decrease_ref_count()
867 vdec_av1_slice_clear_fb(&frame_info[fb_idx]); in vdec_av1_slice_decrease_ref_count()