drm/amdgpu: move the ring type into the funcs structure (v2)