Merge "Add basic inversion lock detection to DPMS." into pi-dev
am: d421e0ffdf

Change-Id: I480e170a69a5c194004b0d3746ff930da82dde59