1. 08 Feb, 2016 5 commits
  2. 05 Feb, 2016 15 commits
  3. 03 Feb, 2016 9 commits
  4. 02 Feb, 2016 8 commits
  5. 01 Feb, 2016 3 commits
    • Javier Martinez Canillas's avatar
      drm/exynos: dp: Fix panel and bridge lookup logic · 37e11062
      Javier Martinez Canillas authored
      Commit a9fa8528 ("drm/exynos: dp: add of_graph dt binding support
      for panel") made the Exynos DP DT binding more consistent since the OF
      graph could be used to lookup either a panel or a bridge device node.
      
      Before that commit, a panel would be looked up using a phandle and a
      bridge using the OF graph which made the DT binding not consistent.
      
      But the patch broke the later case since not finding a panel dev node
      would cause the driver's to do a probe deferral instead of attempting
      to lookup a bridge device node associated with the remote endpoint.
      
      So instead of returning a -EPROBE_DEFER if a panel is not found, check
      if there's a bridge and only do a probe deferral if both aren't found.
      Signed-off-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
      Tested-by: default avatarMichal Suchanek <hramrach@gmail.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      37e11062
    • Arnd Bergmann's avatar
      drm: exynos: make PM functions as __maybe_unused · 010848a7
      Arnd Bergmann authored
      The newly added runtime-pm support for exynos-drm encloses the
      pm functions in an #ifdef, but not the functions that are called
      from them and nowhere else, which produces warnings:
      
      drm/exynos/exynos_drm_dsi.c:733:13: warning: 'exynos_dsi_disable_clock' defined but not used [-Wunused-function]
       static void exynos_dsi_disable_clock(struct exynos_dsi *dsi)
                   ^
      drm/exynos/exynos_drm_dsi.c:1291:13: warning: 'exynos_dsi_disable_irq' defined but not used [-Wunused-function]
       static void exynos_dsi_disable_irq(struct exynos_dsi *dsi)
                   ^
      
      This removes the #ifdef and instead marks the functions as
      __maybe_unused, so gcc can silently discard them and all called
      functions when CONFIG_PM is disabled.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      010848a7
    • Arnd Bergmann's avatar
      drm/exynos: fix building without CONFIG_PM_SLEEP · e0fea7e7
      Arnd Bergmann authored
      The runtime PM operations use the suspend/resume functions
      even when CONFIG_PM_SLEEP is not set, but this now fails
      for the exynos DRM driver:
      
      exynos_mixer.c:1289:61: error: 'exynos_mixer_resume' undeclared here (not in a function)
        SET_RUNTIME_PM_OPS(exynos_mixer_suspend, exynos_mixer_resume, NULL)
      
      This removes the #ifdef and instead marks the functions as
      __maybe_unused, which does the right thing in all cases and
      also looks nicer.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      e0fea7e7