HACK: drm: kirin960: Add DSI mode_valid hooks

This is still a bit of a hack, but its a better hack
then what we have right now.

This adds the valid mode checking to the DSI driver
which is the mode constraining component.

On the hikey board, we already have proper valid
mode calculations, so we don't need to use a whitelist,
but I've not worked out how to do the same logic
with the kirin960 driver yet.

So this patch imports the hack adv7511 valid modes
that we used in 4.9 (since we coudln't validate modes
behind a bridge in 4.9) and adds them in the dsi driver.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: Iaa1500585e42da4989e86afac5896ad6b2aa7dd5
2 files changed