Updated

San Diego, CA (SportsNetwork.com) - Alex Gordon's RBI single was part of a two-run 11th inning as the Kansas City Royals snapped a five-game losing streak with a 3-1 win over the San Diego Padres on Tuesday.

Eric Hosmer led off the 11th with a double to left off Nick Vincent (0-1), then Gordon brought Hosmer home with a single through the hole on the right side.

Pinch-hitter Billy Butler crushed a double to right in the next at-bat that plated Gordon and gave the visitors a two-run cushion.

Wade Davis (2-1) pitched two scoreless innings in relief to earn the win and Greg Holland made amends for blowing a save on Monday night by firing a scoreless 11th for his eighth save of the season.

Salvador Perez homered for Kansas City, which saw starter Jeremy Guthrie receive a no-decision after eight innings of one-run ball.

"The pitching was tremendous," said Royals manager Ned Yost. "(Guthrie) did a really nice job of changing speeds. Wade Davis came in with pure stuff. That was impressive."

Yasmani Grandal homered to account for San Diego's only run. Padres starter Robbie Erlin allowed one run on three hits over seven innings of work in the setback.

"He made pitches," said San Diego manager Bud Black on Erlin's performance. "That's just what we needed. He did what he needed to do with the state of our bullpen."

Grandal homered on a fly ball to right for his fourth dinger of the year to give the Padres a 1-0 lead after four.

Perez led off the sixth with a long drive to left that knotted the score at 1-1.

Alcides Escobar singled with one out in the ninth and proceeded to steal second and third. Lorenzo Cain popped out to Kyle Blanks in foul territory, and Blanks alertly fired it to the plate to nab Escobar attempting to tag up and score.

With one out in the bottom of the 11th, Will Venable singled to center, but was caught stealing second during Everth Cabrera's at-bat.

"Will is always on his own," said Black of the steal. "That is not what we're looking for there."

Holland struck out Cabrera with a slider in the dirt to stop the Royals' skid.

Game Notes

Royals' James Shields will oppose San Diego's Andrew Cashner in the rubber game on Wednesday ... The Royals were 2-for-11 with runners in scoring position ... The Padres were 1-for-4 with RISP.