EXCLUSIVE

"Silicon Valley" star T.J. Miller got arrested in Hollywood for allegedly making his Uber driver see stars, and not the good rating kind either.

Law enforcement sources tell us T.J.'s driver picked him up from the GQ Men of the Year party early Friday morning, and during the ride they got into an argument about President-elect Donald Trump. The driver claims T.J. slapped him in the head when they got to his house.

We're told the driver got pissed and decided to make a citizen's arrest. He called cops who showed up and took T.J. into custody. We're told the driver did NOT have any visible injuries, and it's he said/he said at this point.

T.J. was released without having to post bail. Our sources say he seemed intoxicated.

Makes sense ... he was in a festive mood Thursday night. Besides the GQ party at Chateau Marmont, T.J. also went to the Vulture Awards bash at Sunset Tower.