SAN DIEGO (AP) -- Justin Upton homered and Odrisamer Despaigne pitched six solid innings as the San Diego Padres beat the Miami Marlins 3-2 on Sunday.
Upton, mentioned in various trade rumors, hit his 16th home run and also singled. Yonder Alonso also had two hits.
Despaigne (4-7) gave up a run and two hits with two walks and struck out three. He also hit a batter. The win was San Diego's third straight and Despaigne's first since beating the Pirates on May 31.
More from FoxSports
The Padres have won nine of the last 11 games against the Marlins at Petco Park.
Mat Latos (4-7) failed in his fourth attempt to beat his former team. He gave up all three runs and six hits while striking out six in six innings.
J.T. Realmuto homered in the sixth off reliever Brandon Maurer to pull the Marlins to 3-2.
Joaquin Benoit pitched the eighth and Craig Kimbrel got the last three outs for his 29th save in 30 chances.
The Padres went ahead 3-1 in the sixth as Will Venable scored on Matt Kemp's ground out. Venable doubled and advanced to third on Yangervis Solarte's sacrifice bunt.
Despaigne, using a variety of speeds and arm angles, didn't allow a hit until Realmuto's single to open the fifth. Realmuto came around on Ichiro Suzuki's sacrifice fly, slicing the Padres' edge to 2-1. Kemp's running catch in right on Christian Yelich's drive ended the inning and prevented Miguel Rojas from scoring.
Upton led off the second with a homer. Alonso followed with a single and eventually scored on Alex Amarista's sacrifice fly for a 2-0 advantage.
Marlins: SS Miguel Rojas left the game with a right shoulder strain after making a diving play in the sixth inning. He is day-to-day. ... 2B Dee Gordon (thumb) could be activated on Tuesday.
Padres: OF Wil Myers (wrist) suffered a setback in his post-surgery phase after taking short swings and will consult with his surgeon. ... RHP Brandon Morrow (shoulder) threw 40 pitches for Triple-A El Paso on Saturday and reported no pain.
Marlins: RHP Jose Fernandez (3-0, 2.77) seeks his fourth straight win since returning from Tommy John surgery as he faces the Nationals on Tuesday in Washington.
Padres: RHP James Shields (8-3, 3.77) has split two decisions over his last five starts as his inability to go deep into games has been an issue. He hasn't pitched more than seven innings in an outing this season. He goes against the Mets in New York.