The Rays and idle Yankees, who have both clinched playoff spots, are at 94-65 going into the final weekend. Tampa Bay plays three more times at Kansas City while the Yankees have a three-game series at Boston.
If Tampa Bay and New York are tied after Sunday, the Rays win the division title because they won the season series against the Yankees.
Greinke (10-4) gave up two runs and four hits while striking out nine. He had won only one of his previous seven starts.
Joakim Soria worked the ninth for his 43rd save. He has earned saves in his past 36 opportunities since his last blown save on May 6 at Texas.
Matt Garza (15-10) gave up three runs and five hits in seven innings.
In Arlington, Texas, Vladimir Guerrero drove in the go-ahead run in the eighth for Texas and Cliff Lee pitched seven innings in his final tuneup before the playoffs.
Nelson Cruz , who had three hits, doubled to right and stole third on a pitch in the dirt with one out in the eighth. Guerrero lined a single to left off reliever Jordan Walden (0-1) to give Texas the lead.
Darren O’Day (6-2) relieved Lee and allowed a game-tying home run to Peter Bourjos .
Lee, who struck out eight without a walk, gave up four singles and an unearned run. He will start Game 1 of the AL division series Wednesday against either Tampa Bay or New York.
Neftali Feliz pitched a scoreless ninth to earn his 39th save.
Angels starter Scott Kazmir allowed two runs and six hits in 5 1-3 innings. The left-hander made his final start of the season and is 2-10 since June 24.
In Minneapolis, Jose Bautista hit home runs No. 53 and 54, including a grand slam, and Toronto went deep six times.
Edwin Encarnacion hit two homers and Jose Molina and Travis Snider added long balls for the Blue Jays, who have hit 253 homers this season, the fourth-highest total in baseball history.
Bautista’s second homer went to right field, his first this season that didn’t go to either left or left-center.
Francisco Liriano (14-10) gave up five runs and six hits, including three of those homers, with six strikeouts in 5 1-3 innings in his final start before the playoffs. The left-hander is scheduled to start Game 1 of the ALDS on Wednesday at Target Field.
The AL Central champions have lost six of seven and missed a chance to tie the Rays and Yankees for the best record in the American League.
In Chicago, Paul Konerko hit a grand slam that wrecked Jon Lester’s bid for his 20th win, and Chicago won a game delayed by a power failure.
The game was held up for 21 minutes in the sixth inning when most of the stadium lights went out. A power outage in the area was the cause.
Konerko connected for his 39th homer of the season and the ninth grand slam of his career. The fourth-inning shot off Lester (19-9) made it 6-2 and Dayan Viciedo chased the Red Sox ace with a two-run homer in the fifth.
Lester, trying to become the first Red Sox left-hander in 57 years to win 20 games, gave up eight runs and nine hits in four-plus innings in his final start of the season.
Victor Martinez homered for Boston, which has lost four of its last five.
Juan Pierre stole three bases, giving him a career-high 66, as the White Sox finished 6-1 against the Red Sox. Chicago has won seven of eight since being eliminated from the AL Central.
White Sox starter John Danks (15-11) pitched six innings and allowed two runs and five hits.
In Seattle, Oakland’s Gio Gonzalez threw seven scoreless innings.
Gonzalez (15-9) gave up four hits, walking five and striking out eight.
Jeremy Hermida of the Athletics singled to lead off the fifth inning and Rajai Davis and Daric Barton both singled with two outs to load the bases before Doug Fister (6-14) balked in a run. Mark Ellis drove in one run with a single and Jack Cust added a two-run single.
Kevin Kouzmanoff singled to lead off sixth inning and Chris Carter homered to give Oakland a 6-0 lead and chase Fister.
Seattle’s run scored in the eighth inning on two fielder’s choices.
