drm/amdgpu: add helper func for psp ring cmd submission