1. 08 8月, 2017 1 次提交
    • D
      drm: Nuke drm_atomic_helper_connector_dpms · 7d902c05
      Daniel Vetter 提交于
      It's dead code, the core handles all this directly now.
      
      The only special case is nouveau and tda988x which used one function
      for both legacy modeset code and -nv50 atomic world instead of 2
      vtables. But amounts to exactly the same.
      
      v2: Rebase over the panel/brideg refactorings in stm/ltdc.
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      Cc: Archit Taneja <architt@codeaurora.org>
      Cc: Andrzej Hajda <a.hajda@samsung.com>
      Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
      Cc: Peter Senna Tschudin <peter.senna@collabora.com>
      Cc: Martin Donnelly <martin.donnelly@ge.com>
      Cc: Martyn Welch <martyn.welch@collabora.co.uk>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Cc: Sean Paul <seanpaul@chromium.org>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Inki Dae <inki.dae@samsung.com>
      Cc: Joonyoung Shim <jy0922.shim@samsung.com>
      Cc: Seung-Woo Kim <sw0312.kim@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Kukjin Kim <kgene@kernel.org>
      Cc: Krzysztof Kozlowski <krzk@kernel.org>
      Cc: Stefan Agner <stefan@agner.ch>
      Cc: Alison Wang <alison.wang@freescale.com>
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: Philipp Zabel <p.zabel@pengutronix.de>
      Cc: CK Hu <ck.hu@mediatek.com>
      Cc: Matthias Brugger <matthias.bgg@gmail.com>
      Cc: Neil Armstrong <narmstrong@baylibre.com>
      Cc: Carlo Caione <carlo@caione.org>
      Cc: Kevin Hilman <khilman@baylibre.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Ben Skeggs <bskeggs@redhat.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Eric Anholt <eric@anholt.net>
      Cc: Mark Yao <mark.yao@rock-chips.com>
      Cc: Heiko Stuebner <heiko@sntech.de>
      Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
      Cc: Vincent Abriou <vincent.abriou@st.com>
      Cc: Yannick Fertre <yannick.fertre@st.com>
      Cc: Philippe Cornu <philippe.cornu@st.com>
      Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
      Cc: Chen-Yu Tsai <wens@csie.org>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Jonathan Hunter <jonathanh@nvidia.com>
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: Shawn Guo <shawnguo@kernel.org>
      Cc: John Stultz <john.stultz@linaro.org>
      Cc: Lars-Peter Clausen <lars@metafoo.de>
      Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Cc: Jeffy Chen <jeffy.chen@rock-chips.com>
      Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
      Cc: Yakir Yang <kuankuan.y@gmail.com>
      Cc: Marek Szyprowski <m.szyprowski@samsung.com>
      Cc: Jose Abreu <Jose.Abreu@synopsys.com>
      Cc: Romain Perier <romain.perier@collabora.com>
      Cc: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
      Cc: Xinliang Liu <z.liuxinliang@hisilicon.com>
      Cc: Alexey Brodkin <abrodkin@synopsys.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Rongrong Zou <zourongrong@gmail.com>
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Hai Li <hali@codeaurora.org>
      Cc: "Noralf Trønnes" <noralf@tronnes.org>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-samsung-soc@vger.kernel.org
      Cc: intel-gfx@lists.freedesktop.org
      Cc: linux-mediatek@lists.infradead.org
      Cc: linux-amlogic@lists.infradead.org
      Cc: nouveau@lists.freedesktop.org
      Cc: linux-renesas-soc@vger.kernel.org
      Cc: linux-rockchip@lists.infradead.org
      Cc: linux-tegra@vger.kernel.org
      Cc: virtualization@lists.linux-foundation.org
      Cc: zain wang <wzz@rock-chips.com>
      Cc: Baoyou Xie <baoyou.xie@linaro.org>
      Cc: Boris Brezillon <boris.brezillon@free-electrons.com>
      Reviewed-by: NMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20170725080122.20548-8-daniel.vetter@ffwll.chAcked-by: NNeil Armstrong <narmstrong@baylibre.com>
      Reviewed-by: NNeil Armstrong <narmstrong@baylibre.com>
      Acked-by: NPhilipp Zabel <p.zabel@pengutronix.de>
      Acked-by: NArchit Taneja <architt@codeaurora.org>
      Tested-by: Philippe Cornu <philippe.cornu@st.com> (on stm)
      Reviewed-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Acked-by: NShawn Guo <shawnguo@kernel.org>
      Acked-by: NShawn Guo <shawnguo@kernel.org>
      Acked-by: NNoralf Trønnes <noralf@tronnes.org>
      Acked-by: NVincent Abriou <vincent.abriou@st.com>
      7d902c05
  2. 26 7月, 2017 1 次提交
    • R
      drm: Convert to using %pOF instead of full_name · 4bf99144
      Rob Herring 提交于
      Now that we have a custom printf format specifier, convert users of
      full_name to use %pOF instead. This is preparation to remove storing
      of the full path string for each node.
      Signed-off-by: NRob Herring <robh@kernel.org>
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Cc: Sean Paul <seanpaul@chromium.org>
      Cc: Inki Dae <inki.dae@samsung.com>
      Cc: Joonyoung Shim <jy0922.shim@samsung.com>
      Cc: Seung-Woo Kim <sw0312.kim@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Kukjin Kim <kgene@kernel.org>
      Cc: Krzysztof Kozlowski <krzk@kernel.org>
      Cc: Javier Martinez Canillas <javier@osg.samsung.com>
      Cc: Xinliang Liu <z.liuxinliang@hisilicon.com>
      Cc: Rongrong Zou <zourongrong@gmail.com>
      Cc: Xinwei Kong <kong.kongxinwei@hisilicon.com>
      Cc: Chen Feng <puck.chen@hisilicon.com>
      Cc: CK Hu <ck.hu@mediatek.com>
      Cc: Philipp Zabel <p.zabel@pengutronix.de>
      Cc: Matthias Brugger <matthias.bgg@gmail.com>
      Cc: Neil Armstrong <narmstrong@baylibre.com>
      Cc: Carlo Caione <carlo@caione.org>
      Cc: Kevin Hilman <khilman@baylibre.com>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Mark Yao <mark.yao@rock-chips.com>
      Cc: Heiko Stuebner <heiko@sntech.de>
      Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
      Cc: Chen-Yu Tsai <wens@csie.org>
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-samsung-soc@vger.kernel.org
      Cc: linux-mediatek@lists.infradead.org
      Cc: linux-amlogic@lists.infradead.org
      Cc: linux-renesas-soc@vger.kernel.org
      Cc: linux-rockchip@lists.infradead.org
      Partially-Reviewed-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Reviewed-by: NPhilipp Zabel <p.zabel@pengutronix.de>
      Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
      [seanpaul changed subject prefix and fixed conflict in stm/ltdc.c]
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      4bf99144
  3. 01 6月, 2017 1 次提交
  4. 29 5月, 2017 2 次提交
  5. 07 4月, 2017 1 次提交
  6. 21 3月, 2017 3 次提交
  7. 17 2月, 2017 1 次提交
  8. 18 12月, 2016 1 次提交
  9. 10 6月, 2016 1 次提交
  10. 10 5月, 2016 1 次提交
  11. 30 4月, 2016 1 次提交
  12. 01 3月, 2016 5 次提交
  13. 16 2月, 2016 1 次提交
  14. 15 2月, 2016 1 次提交
  15. 01 2月, 2016 1 次提交
    • 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
  16. 15 12月, 2015 1 次提交
  17. 13 12月, 2015 2 次提交
  18. 11 12月, 2015 1 次提交
  19. 16 8月, 2015 4 次提交
  20. 22 6月, 2015 7 次提交
  21. 19 6月, 2015 3 次提交
    • H
      drm/exynos: dsi: check whether dsi is enabled before sending data · 0e480f6f
      Hyungwon Hwang 提交于
      exynos_dsi_host_transfer() can be called through a panel driver while
      DSI is turning down. It is possible because the function checks only
      whether DSI is initialized or not, and there is a moment which DSI is
      set by uninitialized, but DSI is still turning down. To prevent it,
      DSI must be set by disabled before starting to be turned down, and
      exynos_dsi_host_transfer() must check whether DSI is enabled or not.
      
      Kernel dump:
      [ 4721.351448] Unhandled fault: synchronous external abort (0x96000210) at 0xffffff800015e018
      [ 4721.351809] Internal error: : 96000210 [#1] PREEMPT SMP
      [ 4721.352031] Modules linked in:
      [ 4721.352173] CPU: 2 PID: 300 Comm: deviced Tainted: G        W       4.0.4-01017-g7964a87 #1
      [ 4721.353989] Hardware name: Samsung DRACO board (DT)
      [ 4721.358852] task: ffffffc0a0b70000 ti: ffffffc0a00ec000 task.ti: ffffffc0a00ec000
      [ 4721.366327] PC is at exynos_dsi_enable_lane+0x14/0x5c
      [ 4721.371353] LR is at exynos_dsi_host_transfer+0x834/0x8d8
      [ 4721.376731] pc : [<ffffffc000432bcc>] lr : [<ffffffc000434590>] pstate: 60000145
      [ 4721.384107] sp : ffffffc0a00efbe0
      [ 4721.387405] x29: ffffffc0a00efbe0 x28: ffffffc0a00ec000
      [ 4721.392699] x27: ffffffc000968000 x26: 0000000000000040
      [ 4721.397994] x25: ffffffc000f74dc0 x24: ffffffc0a00efec8
      [ 4721.403290] x23: ffffffc0a4815400 x22: ffffffc0009f2729
      [ 4721.408584] x21: ffffffc0a00efcc8 x20: ffffffc0a4a2a848
      [ 4721.413879] x19: ffffffc0a4a2a818 x18: 0000000000000004
      [ 4721.419173] x17: 0000007faa5cddf0 x16: ffffffc0001a40a8
      [ 4721.424469] x15: 0000000000000009 x14: 000000000000000d
      [ 4721.429762] x13: 6e6e6f63206b726f x12: 0000000000000010
      [ 4721.435058] x11: 0101010101010101 x10: 0000000000000000
      [ 4721.440353] x9 : 000000000000000a x8 : 8386838282818381
      [ 4721.445648] x7 : ffffffc0a201efe8 x6 : 0000000000000000
      [ 4721.450943] x5 : 00000000fffffffa x4 : ffffffc0a201f170
      [ 4721.456237] x3 : ffffff800015e000 x2 : ffffff800015e018
      [ 4721.461531] x1 : 000000000000000f x0 : ffffffc0a4a2a818
      [ 4721.466826]
      [ 4721.468305] Process deviced (pid: 300, stack limit = 0xffffffc0a00ec028)
      [ 4721.474989] Stack: (0xffffffc0a00efbe0 to 0xffffffc0a00f0000)
      [ 4721.480720] fbe0: a00efca0 ffffffc0 0042c944 ffffffc0 a0f2d680 ffffffc0 00000024 00000000
      [ 4721.488895] fc00: a4b6d000 ffffffc0 009f2729 ffffffc0 a4815400 ffffffc0 a00efec8 ffffffc0
      Signed-off-by: NHyungwon Hwang <human.hwang@samsung.com>
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      0e480f6f
    • A
      drm/exynos: fix broken component binding in case of multiple pipelines · 86650408
      Andrzej Hajda 提交于
      In case there are multiple pipelines and deferred probe occurs, only components
      of the first pipeline were bound. As a result only one pipeline was available.
      The main cause of this issue was dynamic generation of component match table -
      every component driver during probe registered itself on helper list, if there
      was at least one pipeline present on this list component match table were
      created without deferred components.
      This patch removes this helper list, instead it creates match table from
      existing devices requiring exynos_drm KMS drivers. This way match table do not
      depend on probe/deferral order and contains all KMS components.
      As a side effect patch makes the code cleaner and significantly smaller.
      Signed-off-by: NAndrzej Hajda <a.hajda@samsung.com>
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      86650408
    • G
      drm/exynos: atomic dpms support · 63498e30
      Gustavo Padovan 提交于
      Run dpms operations through the atomic intefaces. This basically removes
      the .dpms() callback from econders and crtcs and use .disable() and
      .enable() to turn the crtc on and off.
      
      v2: Address comments by Joonyoung:
      	- make hdmi code call ->disable() instead of ->dpms()
      	- do not use WARN_ON on crtc enable/disable
      
      v3: - Fix build failure after the hdmi change in v2
          - Change dpms helper of ptn3460 bridge
      
      v4: - remove win_commit() call from .enable()
      
      v5: - move .atomic_check() to the atomic PageFlip patch, and transform it
      in .atomic_begin()
      Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
      Reviewed-by: NJoonyoung Shim <jy0922.shim@samsung.com>
      Tested-by: NTobias Jakobi <tjakobi@math.uni-bielefeld.de>
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      63498e30