Platform: RK3399
OS: Android 7.1
Kernel: v4.4.83
现象:
添加好LVDS屏幕之后,显示画面mirror.
解决方法:
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.cindex 087034d..fab5671 100644--- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c+++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c@@ -1956,6 +1957,8 @@ static void vop_crtc_enable(struct drm_crtc *crtc)!!(s->output_flags & ROCKCHIP_OUTPUT_DSI_DUAL_CHANNEL));VOP_CTRL_SET(vop, data01_swap,!!(s->output_flags & ROCKCHIP_OUTPUT_DSI_DUAL_LINK));+//Kris, 191113, mirror display.+VOP_CTRL_SET(vop, x