1. 18 11月, 2016 15 次提交
  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. 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
  5. 11 2月, 2016 1 次提交
  6. 13 1月, 2016 1 次提交
  7. 11 12月, 2015 1 次提交
  8. 08 12月, 2015 1 次提交
  9. 03 12月, 2015 3 次提交
  10. 30 9月, 2015 5 次提交
  11. 15 9月, 2015 6 次提交
  12. 05 8月, 2015 1 次提交
  13. 21 5月, 2015 1 次提交
    • R
      drm/i2c: tda998x: fix compiler warning for ssize_t · 5296b7f9
      Russell King 提交于
      Stephen Rothwell reports that he sees a compiler warning on x86_64:
      
      drivers/gpu/drm/i2c/tda998x_drv.c: In function 'tda998x_write_avi':
      drivers/gpu/drm/i2c/tda998x_drv.c:647:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' [-Wformat=]
         dev_err(&priv->hdmi->dev, "hdmi_avi_infoframe_pack() failed: %d\n", len);
         ^
      Fix this by using the appropriate length modifier.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      5296b7f9
  14. 30 3月, 2015 1 次提交