Revert "drm/bridge: analogix_dp: hardcode input video format to RGB10 for Rockchip...
authorYakir Yang <ykk@rock-chips.com>
Wed, 13 Apr 2016 04:17:59 +0000 (12:17 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Thu, 14 Apr 2016 06:36:27 +0000 (14:36 +0800)
On RK3399 EVB board, the LG panel only support RGB888. so with previous
changes, VOP would send the RGB10 video format to panel, and then panel
just display abnormally.

This reverts commit 144e62cef352d9670f09de3ac1da53ca6182835c.

Change-Id: I09a5ab0aa8758e87e8b7f2fc20fbbaa113fe1d33
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c

index dc438c32082c6e672c85b5732b7d06abc9bad474..7699597070a13d09909e64780faba937a2b13b8c 100644 (file)
@@ -1136,11 +1136,6 @@ 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.