From 523ed4cfc6e4e905fabc33a69c2523e573b62c96 Mon Sep 17 00:00:00 2001 From: Yakir Yang Date: Wed, 13 Apr 2016 12:17:59 +0800 Subject: [PATCH] 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 --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 5 ----- 1 file changed, 5 deletions(-) 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. -- 2.34.1