Besides that the whole succession of patriarchs, especially the Indian part, is a fiction, one of the Mahayana interpretation of the major disciples of the Buddha is that they were actually bodhisattvas under cover.
"While teachers of the middle way, mind only, transcendent wisdom, mantra, and other schools may have their own assertions, the fulfillment of those intentions is the same. There is not a single thing that is not contained within mind."
(Gampopa to Düsum Khyenpa, in "The First Karmapa", KTD Pub, p254)
“If you recognize the world of appearance and existence as the mind, realize the mind itself as empty, and have no grasping at the superiority of your realizations — this is the ultimate view."
(Chegom Dzongpa, in "The Book of Kadam", Wisdom Pub, p609)