[GIT PULL] exynos-drm-next

Inki Dae <[email protected]> Sun, 2 Aug 2026 15:10:39 +0900
Newsgroups org.kernel.vger.linux-samsung-soc,org.freedesktop.lists.dri-devel
Message-ID <[email protected]>
Hi Dave and Daniel,

  This PR brings an encoder cleanup series for Exynos DRM along with a
  refcounting fix for the HDMI DDC adapter.

  Major changes are:
      - drop the deprecated DRM simple KMS helper dependency and initialize
        the encoders directly,
      - handle the drm_encoder_init() return code so that a failure no longer
        goes unnoticed or leads to cleanup of an uninitialized encoder,
      - take a module reference to the DDC i2c adapter so that unloading the
        adapter driver while in use fails gracefully instead of blocking
        uninterruptibly.

Please kindly let me know if there is any problem.

Thanks,
Inki Dae

The following changes since commit 82cb10c8bc506a4d2093e0e59672fd307f549d38:

  Merge tag 'drm-xe-next-2026-07-30' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-next (2026-08-01 07:06:36 +1000)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos tags/exynos-drm-next-for-v7.3

for you to fetch changes up to 99b1947ba2f82b30c0a4ef3e457eacc31d1b0220:

  drm/exynos: hdmi: take i2c adapter module reference (2026-08-02 14:54:06 +0900)

----------------------------------------------------------------
  Cleanup and modernization for Exynos encoders
  - Remove dependency on deprecated DRM simple KMS helpers
    . Replaces drm_simple_encoder_init() with drm_encoder_init() across dp,
      dpi, dsi, vidi and hdmi.
    . Adds per-driver drm_encoder_funcs with .destroy = drm_encoder_cleanup,
      removing the intermediate layer between the drivers and atomic modesetting.
  - Add error handling to drm_encoder_init()
    . Checks the return code at every call site instead of ignoring it.
    . Prevents silent encoder creation failures and drm_encoder_cleanup() on an
      uninitialized encoder.

  Bug fix for Exynos HDMI DDC adapter refcounting
  - Take an i2c adapter module reference
    . Switches to of_get_i2c_adapter_by_node() / i2c_put_adapter() so the
      adapter module reference is held while the DDC bus is in use.
    . Makes an unload attempt fail gracefully with -EBUSY instead of blocking
      uninterruptibly in i2c_del_adapter().

----------------------------------------------------------------
Diogo Silva (2):
      drm/exynos: Remove dependency on DRM simple helpers
      drm/exynos: Add error handling to drm_encoder_init()

Johan Hovold (1):
      drm/exynos: hdmi: take i2c adapter module reference

 drivers/gpu/drm/exynos/exynos_dp.c       | 13 +++++++++++--
 drivers/gpu/drm/exynos/exynos_drm_dpi.c  | 14 ++++++++++++--
 drivers/gpu/drm/exynos/exynos_drm_dsi.c  | 11 +++++++++--
 drivers/gpu/drm/exynos/exynos_drm_vidi.c | 14 ++++++++++++--
 drivers/gpu/drm/exynos/exynos_hdmi.c     | 20 +++++++++++++++-----
 5 files changed, 59 insertions(+), 13 deletions(-)