1. 10 7月, 2018 1 次提交
  2. 04 5月, 2018 1 次提交
  3. 25 4月, 2018 2 次提交
  4. 30 11月, 2017 1 次提交
  5. 18 10月, 2017 1 次提交
  6. 09 10月, 2017 1 次提交
  7. 16 9月, 2017 3 次提交
  8. 10 8月, 2017 1 次提交
  9. 09 8月, 2017 1 次提交
  10. 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
  11. 06 7月, 2017 1 次提交
  12. 19 1月, 2017 6 次提交
  13. 17 1月, 2017 1 次提交
  14. 29 11月, 2016 1 次提交
  15. 12 9月, 2016 1 次提交
  16. 13 7月, 2016 7 次提交
    • A
      drm/bridge: adv7533: Change number of DSI lanes dynamically · 62b2f026
      Archit Taneja 提交于
      Lower modes on ADV7533 require lower number of DSI lanes for correct
      operation. If ADV7533 is being used with 4 DSI lanes, then switch the
      lanes to 3 when the target mode's pixel clock is less than 80 Mhz.
      
      Based on patch by Andy Green <andy.green@linaro.org>
      Signed-off-by: NArchit Taneja <architt@codeaurora.org>
      62b2f026
    • A
      drm/bridge: adv7533: Use internal timing generator · 78fa479d
      Archit Taneja 提交于
      ADV7533 provides an internal timing generator for certain modes that it
      can't use the DSI clock directly.
      
      We've observed that HDMI is more stable with the internal timing
      generator, especially if there are instabilities in the DSI clock source.
      The data spec also seems to recommend the usage of the timing generator
      for all modes.
      
      However, on some platforms, it's reported that enabling the timing
      generator causes instabilities with the HDMI output.
      
      Create a DT parameter that lets a platform explicitly disable the timing
      generator. The timing generator is enabled by default.
      Signed-off-by: NArchit Taneja <architt@codeaurora.org>
      78fa479d
    • A
      drm/bridge: adv7533: Create a MIPI DSI device · 1e4d58cd
      Archit Taneja 提交于
      In order to pass DSI specific parameters to the DSI host, we need the
      driver to create a mipi_dsi_device DSI device that attaches to the
      host.
      
      Use of_graph helpers to get the DSI host DT node. Create a MIPI DSI
      device using this host. Finally, attach this device to the DSI host.
      
      Populate DT parameters (number of data lanes for now) that are required
      for DSI RX to work correctly. Hardcode few other parameters (rgb,
      embedded_sync) for now.
      
      Select DRM_MIPI_DSI config option only when ADV7533 support is enabled.
      Signed-off-by: NArchit Taneja <architt@codeaurora.org>
      1e4d58cd
    • A
      drm/bridge: adv7533: Initial support for ADV7533 · 2437e7cd
      Archit Taneja 提交于
      ADV7533 is a DSI to HDMI encoder chip. It is a derivative of ADV7511,
      with additional blocks to translate input DSI data to parallel RGB
      data. Besides the ADV7511 I2C register map, it has additional registers
      that require to be configured to activate the DSI Rx block.
      
      Create a new config that enables ADV7533 support. Use DT compatible
      strings to populate the ADV7533 type enum. Add minimal register
      configurations belonging to the DSI/CEC register map. Keep the ADV7533
      code in a separate file.
      
      Originally worked on by Lars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NArchit Taneja <architt@codeaurora.org>
      2437e7cd
    • A
      drm/bridge: adv7511: Fix mutex deadlock when interrupts are disabled · f0bfcc22
      Archit Taneja 提交于
      When the adv7511 i2c client doesn't have an interrupt line, we observe a
      deadlock on caused by trying to lock drm device's mode_config.mutex twice
      in the same context.
      
      Here is the sequence that causes it:
      
      ioctl DRM_IOCTL_MODE_GETCONNECTOR from userspace
        drm_mode_getconnector (acquires mode_config mutex)
          connector->fill_modes()
          drm_helper_probe_single_connector_modes
            connector_funcs->get_modes
      	adv7511_encoder_get_modes
      	  adv7511_get_edid_block
      	    adv7511_irq_process
      	      drm_helper_hpd_irq_event (acquires mode_config mutex again)
      
      In adv7511_irq_process, don't call drm_helper_hpd_irq_event when not
      called from the interrupt handler. It doesn't serve any purpose there
      anyway.
      Signed-off-by: NArchit Taneja <architt@codeaurora.org>
      f0bfcc22
    • A
      drm/i2c: adv7511: Move to bridge folder · c5827789
      Archit Taneja 提交于
      The driver has been converted to use drm_bridge instead of
      drm_i2c_slave_encoder. We can now move it to the bridge folder.
      
      Create a separate folder since we already have a couple of files and
      expect more when we support audio and ADV7533.
      
      Rename the driver to adv7511_drv.c. This will come in handy later
      when the driver module will need to be built from multiple object
      files.
      Signed-off-by: NArchit Taneja <architt@codeaurora.org>
      c5827789
    • A
      drm/i2c: adv7511: Convert to drm_bridge · e12c2f64
      Archit Taneja 提交于
      We don't want to use the old i2c slave encoder interface anymore.
      
      Remove that and make the i2c driver create a drm_bridge entity instead.
      Converting to bridges helps because the kms drivers don't need to
      exract encoder slave ops from this driver and use it within their
      own encoder/connector ops.
      
      The driver now creates its own connector when a kms driver attaches
      itself to the bridge. Therefore, kms drivers don't need to create
      their own connectors anymore.
      
      The old encoder slave ops are now used by the new bridge and connector
      entities.
      
      The of_node member in drm_bridge is accessible only when CONFIG_OF is
      enabled. The driver anyway only works only when OF is available. Make
      the driver depend on OF in its Kconfig.
      Signed-off-by: NArchit Taneja <architt@codeaurora.org>
      e12c2f64
  17. 02 2月, 2016 3 次提交
  18. 15 12月, 2015 1 次提交
  19. 17 7月, 2015 1 次提交
  20. 25 5月, 2015 1 次提交
  21. 19 3月, 2015 3 次提交
  22. 10 3月, 2015 1 次提交