1. 15 2月, 2016 4 次提交
  2. 01 2月, 2016 3 次提交
    • J
      drm/exynos: dp: Fix panel and bridge lookup logic · 37e11062
      Javier Martinez Canillas 提交于
      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: NJavier Martinez Canillas <javier@osg.samsung.com>
      Tested-by: NMichal Suchanek <hramrach@gmail.com>
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      37e11062
    • A
      drm: exynos: make PM functions as __maybe_unused · 010848a7
      Arnd Bergmann 提交于
      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: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      010848a7
    • A
      drm/exynos: fix building without CONFIG_PM_SLEEP · e0fea7e7
      Arnd Bergmann 提交于
      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: NArnd Bergmann <arnd@arndb.de>
      Reviewed-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      e0fea7e7
  3. 16 1月, 2016 1 次提交
  4. 12 1月, 2016 11 次提交
  5. 20 12月, 2015 1 次提交
  6. 15 12月, 2015 1 次提交
  7. 13 12月, 2015 19 次提交