Skip to main content

amd_vce

Function amd_vce 

Source
fn amd_vce(fd: c_int) -> bool
Expand description

Whether the render node fd is an amdgpu device whose video encoder is VCE rather than VCN. The kernel reports the video blocks a device carries (AMDGPU_INFO_HW_IP_COUNT, the query Mesa reads to pick its encoder): a VCE-generation part answers for VCE and refuses the query for VCN’s encoder. Any other driver is not asked.