The Lakers agreed to terms with free-agent power forward Ed Davis on a two-year contract worth $2 million, adding some depth to a severely understaffed frontcourt.