Look what Universal does here with the marketing and positioning of Straight Outta Compton. Scott Mendelson lays it out in Forbes:

By taking a musical biopic about young black artists and treating it like an A-level summer blockbuster event, Universal basically created an Avengers-type event for black moviegoers in an otherwise lily-white summer. Now that’s not to say that Straight Outta Compton didn’t play across racial lines. It clearly did, but the film also, to its relative credit, didn’t give much care to how white audiences would react to its story of so-called “street knowledge.”