I've seen this opinion expressed a number of times on this website since the Floyd murder - the idea that violent rioting is the only way to effect change in this country. It ignores a long history of Supreme Court equal protection and due process cases expanding and affirming the rights of black Americans in the context of voting, marriage, housing, education, criminal justice, and more.
As far as I know, in none of the below cases was the majority opinion driven by violent riots. Rather, the rule of law embedded in our Constitution guided the important changes that came from:
Powell v. Alabama (1932) (affirming the right to counsel in criminal prosecutions brought by a state in the context of black men accused of raping white women)
Smith v. Allwright (1944) (extending voting rights protection in the context of all-white primary elections)
Shelley v. Kraemer (1948) (prohibiting racially restrictive housing covenants)
Sweatt v. Painter (1950) (overturning "separate but equal" and laying the foundation for Brown v. Board of Education)
Terry v. Adams (1953) (holding that racial discrimination in primary elections is unconstitutional)
Brown v. Board of Education (1954) (holding that racial segregation in public schools is unconstitutional)
Bolling v. Sharpe (1954) (ending public school segregation in the District of Columbia)
NAACP v. Alabama (1958) (protecting the NAACP from unconstitutional subpoenas issued by the state)
Boynton v. Virginia (1960) (holding that racial discrimination in public transportation is illegal)
Edwards v. South Carolina (1963) (affirming the right of Americans to peacefully assemble and protest - here in the context of racial civil rights)
Heart of Atlanta Motel v. United States (1964) (extending the Commerce Clause to provide protection to interstate travelers against racial discrimination in lodging)
Evans v. Newton (1966) (expanding equal protection under the Fourteenth Amendment to public parks)
Loving v. Virginia (1967) (striking down laws banning interracial marriage)