To be fair, both Ghandi and MLK Jr. showed that there is an alternative to violence that can be very effective in gaining support.
That being said, I do think the Black Panthers/Malcom X were very instrumental in the civil rights movement. I think the leadership saw two options: work with MLK Jr. or deal with the Black Panthers.
Of course, the FBI, amongst other groups in power at the time were able to successfully thwart MLK Jr.'s attempt at educating people about class consciousness. MLK Jr. wasn’t just fighting for equal rights among racial lines, but also economic lines.
Hell, Jesus Christ was able to start an entire religion based in nonviolent protest based around class consciousness. Of course, that religion has since been perverted, but the point still stands.
He was also created out of emptiness