display: fix Modes matching

migration "FindMatchedMode" from CL 1246

tower: https://tower.im/projects/8f19f0bf0e754f0b82ef2c24bc230973/todos/65dba0a1da7541e9b9514ada116b1a12/

Change-Id: I7410c3fc90d3c3b45ca9dd452cbd0e0754d067a6