[RK3399] [Android 9.0] 调试2560x1440分辨率EDP显示屏,和碰到的休眠唤醒后花屏问题

屏参:

    panel: panel {
        compatible = "simple-panel";
        backlight = <&backlight>;
        power-supply = <&vcc_lcd>;
        enable-gpios = <&gpio3 16 GPIO_ACTIVE_LOW>;
        reset-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
        prepare-delay-ms = <200>;
        enable-delay-ms = <20>;

        display-timings {
            native-mode = <&timing0>;

            timing0: timing0 {
                clock-frequency = <238000000>;
                hactive = <2560>;
                vactive = <1440>;
                hfront-porch = <108>;
                hsync-len = <38>;
                hback-porch = <40>;
                vfront-porch = <12>;
                vsync-len = <4>;
                vback-porch = <4>;
                hsync-active = <0>;
                vsync-active = <0>;
                de-active = <0>;
                pixelclk-active = <0>;
            };
        };


休眠唤醒花屏  log报如下错误:

<4>[  900.438765] panel_simple_unprepare enable_gpio= 0
<6>[  900.621094] rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 2560x1440p59, type: 14
<4>[  900.621609] panel_simple_prepare enable_gpio= 1
<3>[  900.657091] rockchip-dp ff970000.edp: AUX CH command reply failed!
<3>[  900.657582] rockchip-dp ff970000.edp: Rx Max Link Rate is abnormal :c0 !
<3>[  900.657828] rockchip-dp ff970000.edp: Rx Max Lane count is abnormal :0 !
<3>[  900.660663] rockchip-dp ff970000.edp: AUX CH command reply failed!
<3>[  900.660728] rockchip-dp ff970000.edp: LT link start failed!
<3>[  900.660740] rockchip-dp ff970000.edp: eDP link training failed (-110)
<6>[  900.681445] rockchip-dp ff970000.edp: Link Training success!

要求屏端的供电比aux早,可以尝试加长prepare-delay时间到200ms。

猜你喜欢

转载自blog.csdn.net/qq1226176787/article/details/103914430