1. 18 11月, 2016 5 次提交
  2. 31 10月, 2016 1 次提交
    • B
      drm/i2c: tda998x: mali-dp: hdlcd: refactor connector registration · 90731c24
      Brian Starkey 提交于
      Connectors shouldn't be registered until the rest of the whole device
      is set up, so that consistent state is presented to userspace.
      
      As such, remove the calls to drm_connector_register() and
      drm_connector_unregister() from tda998x, as these are now handled by
      drm_dev_(un)register() itself.
      
      To work with this change, the mali-dp and hdlcd bind and unbind
      sequences have to be reordered, to ensure that the componentised
      encoder/connector is bound before drm_dev_register() registers all
      connectors. Similarly, the device must be unregistered before the
      component is unbound.
      
      Altogether, this allows other drivers using tda998x to be
      de-midlayered, and to have less racy initialisation of their components.
      
      Splitting this commit into three (one per driver) isn't possible without
      intermediate breakage, so it is all squashed together here.
      Suggested-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NBrian Starkey <brian.starkey@arm.com>
      Reviewed-by: NLiviu Dudau <Liviu.Dudau@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@armlinux.org.uk>
      90731c24
  3. 07 9月, 2016 2 次提交
  4. 13 7月, 2016 2 次提交
    • 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
  5. 24 6月, 2016 1 次提交
  6. 08 3月, 2016 1 次提交
    • J
      drm/i2c: tda998x: Choose between atomic or non atomic dpms helper · dad82ea3
      Jyri Sarha 提交于
      Choose between atomic or non atomic connector dpms helper. If tda998x
      is connected to a drm driver that does not support atomic modeset
      calling drm_atomic_helper_connector_dpms() causes a crash when the
      connectors atomic state is not initialized. The patch implements a
      driver specific connector dpms helper that calls
      drm_atomic_helper_connector_dpms() if driver supports DRIVER_ATOMIC
      and otherwise it calls the legacy drm_helper_connector_dpms().
      
      Fixes commit 9736e988 ("drm/i2c: tda998x: Add support for atomic
      modesetting").
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      dad82ea3
  7. 11 2月, 2016 2 次提交
  8. 09 2月, 2016 1 次提交
  9. 02 2月, 2016 3 次提交
  10. 13 1月, 2016 1 次提交
  11. 15 12月, 2015 3 次提交
  12. 11 12月, 2015 1 次提交
  13. 08 12月, 2015 1 次提交
  14. 03 12月, 2015 3 次提交
  15. 30 9月, 2015 5 次提交
  16. 15 9月, 2015 6 次提交
  17. 08 9月, 2015 2 次提交