1. 29 Apr, 2016 7 commits
    • Dan Carpenter's avatar
      drm/exynos: mic: fix an error code · 943491af
      Dan Carpenter authored
      We accidentally return success instead of a negative error code here.
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      943491af
    • Marek Szyprowski's avatar
      drm/exynos: fimd: fix broken dp_clock control · 4f93eed7
      Marek Szyprowski authored
      Commit 1feafd3a ("drm/exynos: add
      exynos5420 support for fimd") add support for Exynos 5420 SoC, but it
      broke enabling display clock feature because of incorrect condition
      check. This patch fixes it, so display is working again on platforms
      requiring display clock control (i.e. Exynos5250-based SNOW platform).
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Reviewed-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      4f93eed7
    • Andrzej Hajda's avatar
      drm/exynos: build fbdev code conditionally · 25c6a853
      Andrzej Hajda authored
      Fbdev code should be compiled only if CONFIG_DRM_FBDEV_EMULATION option
      is enabled. The patch fixes exynos-drm code trying to manipulate
      fbdev data which is not initialized in case CONFIG_DRM_FBDEV_EMULATION
      is disabled.
      Signed-off-by: default avatarAndrzej Hajda <a.hajda@samsung.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      25c6a853
    • Andrzej Hajda's avatar
      drm/exynos: fix adjusted_mode pointer in exynos_plane_mode_set · 81e50bcd
      Andrzej Hajda authored
      exynos_plane_mode_set should use adjusted_mode from the same atomic state as
      plane state. Otherwise it will result in incorrect behavior in case
      crtc mode changes.
      
      The patch fixes bug with black console framebuffer in case of command mode
      panels.
      Signed-off-by: default avatarAndrzej Hajda <a.hajda@samsung.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      81e50bcd
    • Arnd Bergmann's avatar
      drm/exynos: fix error handling in exynos_drm_subdrv_open · 0a938697
      Arnd Bergmann authored
      gcc-6 warns about a pointless loop in exynos_drm_subdrv_open:
      
      drivers/gpu/drm/exynos/exynos_drm_core.c: In function 'exynos_drm_subdrv_open':
      drivers/gpu/drm/exynos/exynos_drm_core.c:104:199: error: self-comparison always evaluates to false [-Werror=tautological-compare]
        list_for_each_entry_reverse(subdrv, &subdrv->list, list) {
      
      Here, the list_for_each_entry_reverse immediately terminates because
      the subdrv pointer is compared to itself as the loop end condition.
      
      If we were to take the current subdrv pointer as the start of the
      list (as we would do if list_for_each_entry_reverse() was not a macro),
      we would iterate backwards over the &exynos_drm_subdrv_list anchor,
      which would be even worse.
      
      Instead, we need to use list_for_each_entry_continue_reverse()
      to go back over each subdrv that was successfully opened until
      the first entry.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      0a938697
    • Dave Airlie's avatar
      Merge branch 'for-next' of http://git.agner.ch/git/linux-drm-fsl-dcu into drm-next · b89359bd
      Dave Airlie authored
      This adds very rudimentary TCON (timing controller for raw LCD displays)
      support to enable the bypass mode in order to use the DCU controller on
      Freescale/NXP Vybrid SoC's.
      
      Additionally the register clock and pixel clock has been separated, but
      are currently still enabled and disabled pairwise.
      
      Other than that, fixes and cleanups accross the driver.
      
      * 'for-next' of http://git.agner.ch/git/linux-drm-fsl-dcu:
        drm/fsl-dcu: increment version and date
        drm/fsl-dcu: implement lastclose callback
        drm/fsl-dcu: disable output polling on driver unload
        drm/fsl-dcu: deallocate fbdev CMA on unload
        drm/fsl-dcu: use variable name dev for struct drm_device
        drm/fsl-dcu: handle missing panel gracefully
        drm/fsl-dcu: detach panel on destroy
        drm/layerscape: reduce excessive stack usage
        drm/fsl-dcu: add TCON driver
        drm/fsl-dcu: use common clock framework for pixel clock divider
        drm/fsl-dcu: add extra clock for pixel clock
        drm/fsl-dcu: disable clock on initialization failure and remove
      b89359bd
    • Dave Airlie's avatar
      Merge tag 'sun4i-drm-for-4.7' of... · d3a8f678
      Dave Airlie authored
      Merge tag 'sun4i-drm-for-4.7' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux into drm-next
      
      Allwinner DRM driver for 4.7
      
      This pull request introduces the sun4i driver, meant to be used on the
      older Allwinner SoCs (A10, A13, A20, A23, A31 and A33).
      
      It currently supports only the A13, which has one of the simplest video
      pipeline. Support for other video components and SoCs will be added
      eventually.
      
      It supports only a RGB or composite output. It doesn't do HDMI, VGA, LVDS
      or power management yet, but that will come in time as well.
      
      * tag 'sun4i-drm-for-4.7' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux:
        MAINTAINERS: Add a maintainer for the Allwinner DRM driver
        drm: sun4i: tv: Add NTSC output standard
        drm: sun4i: tv: Add PAL output standard
        drm: sun4i: Add composite output
        drm: sun4i: Add RGB output
        drm: Add Allwinner A10 Display Engine support
        drm: sun4i: Add DT bindings documentation
        drm: fb: Add seq_file definition
      d3a8f678
  2. 28 Apr, 2016 8 commits
  3. 26 Apr, 2016 24 commits
  4. 23 Apr, 2016 1 commit