1. 23 Aug, 2017 3 commits
    • Tomi Valkeinen's avatar
      drm/omap: work-around for omap3 display enable · fc5cc967
      Tomi Valkeinen authored
      Seems that on omap3 enabling a crtc without any planes causes a sync
      lost flood. This only happens on the first enable, and after that it
      works. This looks like an HW issue and it's unclear why this is
      happening or how to fix it.
      
      This started happening after 897145d0
      ("drm/omapdrm: Move commit_modeset_enables() before commit_planes()")
      which, as a work-around, changed omapdrm first to do the modeset enable,
      and plane set only after that. This WA should be fine on all DSS
      versions, but apparently OMAP3 DSS is an exception.
      
      This patch reverts that work-around for OMAP3 DSS.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      fc5cc967
    • Tomi Valkeinen's avatar
      drm/omap: fix i886 work-around · 0c43f1e0
      Tomi Valkeinen authored
      7d267f06 ("drm/omap: work-around for
      errata i886") changed how the PLL dividers and multipliers are
      calculated. While the new way should work fine for all the PLLs, it
      breaks omap5 PLLs. The issues seen are rather odd: seemed that the
      output clock rate is half of what we asked. It is unclear what's causing
      there issues.
      
      As a work-around this patch adds a "errata_i886" flag, which is set only
      for DRA7's PLLs, and the PLL setup is done according to that flag.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      Tested-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
      0c43f1e0
    • Tomi Valkeinen's avatar
      drm/omap: fix analog tv-out modecheck · beea6214
      Tomi Valkeinen authored
      omapdrm rejects all venc (analog tv-out) videomodes, due to somewhat
      strict checking of the values, making tv-out unusable.
      
      We only support two videomodes, one for PAL and one for NTSC, so instead
      of trying to check every field in the videomode struct, this patch makes
      the driver check only the pixel clock and the size of the display.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      beea6214
  2. 16 Aug, 2017 16 commits
  3. 15 Aug, 2017 21 commits