From: Yakir Yang Date: Wed, 13 Apr 2016 04:17:59 +0000 (+0800) Subject: Revert "drm/bridge: analogix_dp: hardcode input video format to RGB10 for Rockchip... X-Git-Tag: firefly_0821_release~2817 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=523ed4cfc6e4e905fabc33a69c2523e573b62c96;p=firefly-linux-kernel-4.4.55.git Revert "drm/bridge: analogix_dp: hardcode input video format to RGB10 for Rockchip platform" 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 --- diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c index dc438c32082c..7699597070a1 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c @@ -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.