drm/bridge: analogix_dp: hardcode input video format to RGB10 for Rockchip platform

Rockchip LCD controller could only output the RGB101010 video
format, so just hardcode the eDP input video format to that.

Change-Id: I39673a35b439656dff7e3358b65ec835c92c4120
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
This commit is contained in:
Yakir Yang
2016-04-06 19:15:12 +08:00
committed by Gerrit Code Review
parent 8aeab24a36
commit 144e62cef3

View File

@@ -1136,6 +1136,11 @@ static void analogix_dp_bridge_mode_set(struct drm_bridge *bridge,
else
video->color_space = COLOR_RGB;
if (dp->plat_data->dev_type == RK3288_DP) {
video->color_space = COLOR_RGB;
video->color_depth = COLOR_10;
}
/*
* NOTE: those property parsing code is used for providing backward
* compatibility for samsung platform.