Getty

Kenny Loggins is super pissed Donald Trump ripped his classic "Danger Zone" for a recent controversial video ... and the iconic singer is ready to take action.

Here's the deal ... Trump used the 'Top Gun' classic in an A.I. video in which DT pilots a jet while wearing a crown ... and proceeds to dump poop on No Kings protesters, who were out in several major cities this weekend. Play video content

A source close to Kenny tells TMZ … the rocker is exploring legal options to ensure Trump stops using his music … but it’s complicated in this instance ‘cause Kenny doesn’t own full copyright to the tune. Two other guys -- Giorgio Moroder and Tom Whitlock -- wrote and composed 'Danger Zone' along with Kenny for Warner Bros.

Kenny absolutely torched Trump for using the song wi

See Full Page