Skip to content
  • Sandor Yu's avatar
    ENGR00221444 HDMI: video mode wrong when bootup without HDMI cable · 073566a6
    Sandor Yu authored
    
    
    Bootup Android without HDMI cable plugin, then plugin HDMI cable,
    video mode in /sys/class/graphics/fb0/mode not same as actually
    HDMI work video mode.
    
    The root cause is in video mode point to one of video mode in
    original video modelist, but the modelist will be updated when
    HDMI cable plug to new monitor.
    If HDMI original worked video mode can work on new monitor,
    the HDMI and framebuffer will not updated, so HDMI actually
    work mode not same as /sys/class/graphics/fb0/mode
    
    Updated fbi mode pointer even if video mode no changed
    in case moselist is updated, the issue will fixed.
    
    Signed-off-by: default avatarSandor Yu <R01008@freescale.com>
    073566a6