The Miami Dolphins have agreed to a two-year, $11 million deal with Ryan Fitzpatrick.

The contract includes incentives that could increase the value of the deal to between $17 million and $20 million, according to a source.

The Dolphins have a vacancy at quarterback after trading Ryan Tannehill to the Tennessee Titans on Friday.