1. 14 Apr, 2015 35 commits
  2. 13 Apr, 2015 5 commits
    • Dave Airlie's avatar
      Merge tag 'imx-drm-next-2015-03-31' of git://git.pengutronix.de/git/pza/linux into drm-next · 1d2add28
      Dave Airlie authored
      imx-drm changes to use media bus formats and LDB drm_panel support
      
      - Add media bus formats needed by imx-drm
      - Switch to use media bus formats to describe the pixel format
        on the internal parallel bus between display interface and
        encoders
      - Some preparations for TV Output via TVEv2 on i.MX5
      - Add drm_panel support to the i.MX LVDS driver, allow to
        determine the bus pixel format from the panel descriptor.
      
      * tag 'imx-drm-next-2015-03-31' of git://git.pengutronix.de/git/pza/linux:
        drm/imx: imx-ldb: allow to determine bus format from the connected panel
        drm/imx: imx-ldb: reset display clock input when disabling LVDS
        drm/imx: imx-ldb: add drm_panel support
        drm/imx: consolidate bus format variable names
        drm/imx: switch to use media bus formats
        Add RGB666_1X24_CPADHI media bus format
        Add YUV8_1X24 media bus format
        Add BGR888_1X24 and GBR888_1X24 media bus formats
        Add LVDS RGB media bus formats
        Add RGB444_1X12 and RGB565_1X16 media bus formats
        drm/imx: ipuv3-crtc: Allow to divide DI clock from TVEv2
        drm/imx: Add support for interlaced scanout
      1d2add28
    • Dave Airlie's avatar
      Merge tag 'of-graph-drm-2015-04-08' of git://git.pengutronix.de/git/pza/linux into drm-next · bb1dc08c
      Dave Airlie authored
      drm: Use of-graph helpers to loop over endpoints
      
      Convert all drm callers that use of_graph_get_next_endpoint to loop over
      of-graph endpoints to the newly introduced for_each_endpoint_of_node
      helper macro.
      
      * tag 'of-graph-drm-2015-04-08' of git://git.pengutronix.de/git/pza/linux:
        drm/rockchip: use for_each_endpoint_of_node macro, drop endpoint reference on break
        drm/rcar-du: use for_each_endpoint_of_node macro
        drm/imx: use for_each_endpoint_of_node macro in imx_drm_encoder_get_mux_id
        drm: use for_each_endpoint_of_node macro in drm_of_find_possible_crtcs
        of: Explicitly include linux/types.h in of_graph.h
        dt-bindings: brcm: rationalize Broadcom documentation naming
        of/unittest: replace 'selftest' with 'unittest'
        Documentation: rename of_selftest.txt to of_unittest.txt
        Documentation: update the of_selftest.txt
        dt: OF_UNITTEST make dependency broken
        MAINTAINERS: Pantelis Antoniou device tree overlay maintainer
        of: Add of_graph_get_port_by_id function
        of: Add for_each_endpoint_of_node helper macro
        of: Decrement refcount of previous endpoint in of_graph_get_next_endpoint
      bb1dc08c
    • Dave Airlie's avatar
      Merge branch 'exynos-drm-next' of... · a7d68836
      Dave Airlie authored
      Merge branch 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
      
         This pull request contains just cleanup for atomic pageflip/modeset
         support, and some fixeups.
      
         We wanted to merge atomic pageflip/modeset feature support, new drivers
         - MIC and DECON for exynos5433 SoC - and relevant patches this time.
         However, I'd found that these features are not only safe enough
         but also aren't tested yet. So for them, I'd like to have enough times
         for the reviews.
      
      * 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos:
        drm/exynos: Fix FIMD buffer size calculation
        drm/exynos: Enable DP clock to fix display on Exynos5250 and other
        drm/exynos: fimd: check whether exynos_drm_crtc_create succeed or not
        drm/exynos: dsi: remove the empty mode_valid callback
        drm/exynos: add ratio calculation
        drm/exynos: use src_x and src_y instead of fb_x and fb_y
        drm/exynos: mixer: add 2x scaling to mixer_graph_buffer
        drm/exynos: remove superfluous error messages
        drm/exynos: fix typos in hdmi and mixer
        drm/exynos/ipp: Validate buffer enqueue requests
        drm/exynos: track vblank events on a per crtc basis
        drm/exynos: remove leftover functions declarations
        drm/exynos: remove exynos_plane_destroy()
        drm/exynos: make zpos property immutable
        drm/exynos: preset zpos value for overlay planes
        drm/exynos: remove struct *_win_data abstraction on planes
        drm/exynos: remove unused exynos_crtc->win_enable() callback
        drm/exynos: fimd: fix alpha setting for XR24 pixel format
      a7d68836
    • Daniel Stone's avatar
      drm/exynos: Fix FIMD buffer size calculation · 68a29134
      Daniel Stone authored
      Commit adacb228 ("drm: Exynos: Respect framebuffer pitch for
      FIMD/Mixer") fixed the buffer size calculation by using the FB
      pitch value but later commit 26b9c2813ede1 ("drm/exynos: remove
      struct *_win_data abstraction on planes") added a regression so
      fix the buffer size calculation again.
      
      Tested on Chromebook Snow / Peach Pit.
      
      Fixes: 26b9c2813ede1 ("drm/exynos: remove struct *_win_data abstraction on planes")
      Signed-off-by: default avatarDaniel Stone <daniels@collabora.com>
      Tested-by: default avatarJavier Martinez Canillas <javier.martinez@collabora.co.uk>
      Reviewed-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      68a29134
    • Krzysztof Kozlowski's avatar
      drm/exynos: Enable DP clock to fix display on Exynos5250 and other · 1c363c7c
      Krzysztof Kozlowski authored
      After adding display power domain for Exynos5250 in commit
      2d2c9a8d ("ARM: dts: add display power domain for exynos5250") the
      display on Chromebook Snow and others stopped working after boot.
      
      The reason for this suggested Andrzej Hajda: the DP clock was disabled.
      This clock is required by Display Port and is enabled by bootloader.
      However when FIMD driver probing was deferred, the display power domain
      was turned off. This effectively reset the value of DP clock enable
      register.
      
      When exynos-dp is later probed, the clock is not enabled and display is
      not properly configured:
      
      exynos-dp 145b0000.dp-controller: Timeout of video streamclk ok
      exynos-dp 145b0000.dp-controller: unable to config video
      
      Fixes: 2d2c9a8d ("ARM: dts: add display power domain for exynos5250")
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Reported-by: default avatarJavier Martinez Canillas <javier.martinez@collabora.co.uk>
      Tested-by: default avatarJavier Martinez Canillas <javier.martinez@collabora.co.uk>
      Tested-by: default avatarAndreas Färber <afaerber@suse.de>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      1c363c7c