mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
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:
committed by
Gerrit Code Review
parent
8aeab24a36
commit
144e62cef3
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user