1. 26 9月, 2016 2 次提交
  2. 24 9月, 2016 3 次提交
    • S
      drm/bridge: analogix_dp: Improve panel on time · f2600d08
      Sean Paul 提交于
      In order to reduce the time required to turn on the panel, this patch
      makes 2 assumptions:
      1- In detect(): if there's a panel, we're connected.
      2- In get_modes(): if there's a panel, let the panel driver decide if
         it should prepare/unprepare in order to get the modes.
      
      The first is straightforward, and shouldn't need further explanation. The
      second should eliminate the prepare/unprepare delays from get_modes() in
      most cases, since panels generally hardcode their modes in the driver as
      opposed to reading EDID. If a panel does need to read EDID, it should be
      responsible for ensuring it's in a state in which it can.
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      f2600d08
    • S
      drm/bridge: analogix_dp: Don't read EDID if panel present · 8c77e2c2
      Sean Paul 提交于
      If there's a panel connected to the analogix_dp bridge, rely on
      the panel driver for modes, rather than reading EDID *and* calling
      get_modes() on the panel.
      
      This allows panels with a valid EDID to read it in the panel driver
      (e.g. simple_panel), and panels with invalid EDID to homebrew modes
      in their get_modes implementation.
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      8c77e2c2
    • T
      drm/bridge: analogix_dp: Remove duplicated code · 0d97ad03
      Tomeu Vizoso 提交于
      Remove code for reading the EDID and DPCD fields and use the helpers
      instead.
      
      Besides the obvious code reduction, other helpers are being added to the
      core that could be used in this driver and will be good to be able to
      use them instead of duplicating them.
      Signed-off-by: NTomeu Vizoso <tomeu.vizoso@collabora.com>
      Tested-by: NJavier Martinez Canillas <javier@osg.samsung.com>
      Tested-by: NSean Paul <seanpaul@chromium.org>
      Reviewed-by: NSean Paul <seanpaul@chromium.org>
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      Cc: Javier Martinez Canillas <javier@osg.samsung.com>
      Cc: Mika Kahola <mika.kahola@intel.com>
      Cc: Yakir Yang <ykk@rock-chips.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Archit Taneja <architt@codeaurora.org>
      0d97ad03
  3. 23 9月, 2016 8 次提交
  4. 22 9月, 2016 27 次提交