amdgpu: Add new function to get fd.