1. 24 Aug, 2017 3 commits
    • Dave Airlie's avatar
      Merge tag 'omapdrm-4.14-fixes' of... · 72d45a76
      Dave Airlie authored
      Merge tag 'omapdrm-4.14-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux into drm-next
      
      omapdrm fixes for 4.14
      
      * fix compilation when compiling omapfb driver
      * WA for OMAP3 endless sync lost issue
      * WA for OMAP5 DSI PLL issue
      * fix analog TV out modecheck
      
      * tag 'omapdrm-4.14-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux:
        ARM: OMAP2+: fix missing variable declaration
        drm/omap: work-around for omap3 display enable
        drm/omap: fix i886 work-around
        drm/omap: fix analog tv-out modecheck
      72d45a76
    • Dave Airlie's avatar
      Merge tag 'drm-msm-next-2017-08-22' of git://people.freedesktop.org/~robclark/linux into drm-next · cfcfb65a
      Dave Airlie authored
      Updates for 4.14..  I have some further patches from Jordan to add
      multiple priority levels and pre-emption, but those will probably be
      for 4.15 to give me time for the mesa parts.
      
      * tag 'drm-msm-next-2017-08-22' of git://people.freedesktop.org/~robclark/linux:
        drm/msm/mdp5: mark runtime_pm functions as __maybe_unused
        drm/msm: remove unused variable
        drm/msm/mdp5: make helper function static
        drm/msm: make msm_framebuffer_init() static
        drm/msm: add helper to allocate stolen fb
        drm/msm: don't track fbdev's gem object separately
        drm/msm: add modeset module param
        drm/msm/mdp5: add tracking for clk enable-count
        drm/msm: remove unused define
        drm/msm: Add a helper function for in-kernel buffer allocations
        drm/msm: Attach the GPU MMU when it is created
        drm/msm: Add A5XX hardware fault detection
        drm/msm: Remove uneeded platform dev members
        drm/msm/mdp5: Set up runtime PM for MDSS
        drm/msm/mdp5: Write to SMP registers even if allocations don't change
        drm/msm/mdp5: Don't use mode_set helper funcs for encoders and CRTCs
        drm/msm/dsi: Implement RPM suspend/resume callbacks
        drm/msm/dsi: Set up runtime PM for DSI
        drm/msm/hdmi: Set up runtime PM for HDMI
        drm/msm/mdp5: Use runtime PM get/put API instead of toggling clocks
      cfcfb65a
    • Arnd Bergmann's avatar
      ARM: OMAP2+: fix missing variable declaration · d1bbc823
      Arnd Bergmann authored
      The function that was added doesn't actually build:
      
      arch/arm/mach-omap2/display.c: In function 'omapdss_init_fbdev':
      arch/arm/mach-omap2/display.c:184:2: error: 'r' undeclared (first use in this function)
      
      This adds a declaration for 'r' to fix it.
      
      Fixes: 5ce78302 ("ARM: OMAP2+: Don't register omapdss device for omapdrm")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Acked-by: default avatarTony Lindgren <tony@atomide.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      d1bbc823
  2. 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
  3. 22 Aug, 2017 34 commits