Skip to contentSkip to conversation

exynos-drm-fixes

GIT PULL Inki Dae 1 participant 1 message Jun 29, 2025 Arm Samsung Exynos

lore
Share & tools
lore

Inki Dae

author
#0 lore raw

Hi Dave and Daniel,

Prevented pointer leakage in printk(), fixed kernel panic by ensuring DRM driver init and resolved Chromebook lockup with runtime PM guards.

Please kindly let me know if there is any problem.

Thanks,
Inki Dae

The following changes since commit 9fbceb37c95939182e1409211447a1d3f3db9274:

Merge tag 'drm-misc-fixes-2025-06-26' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes (2025-06-28 06:53:00 +1000)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos tags/exynos-drm-fixes-for-v6.16-rc4

for you to fetch changes up to 5d91394f236167ac624b823820faf4aa928b889e:

drm/exynos: fimd: Guard display clock control with runtime PM calls (2025-06-29 16:58:16 +0900)

----------------------------------------------------------------
Fixups
- Fixed raw pointer leakage and unsafe behavior in printk() . Switch from %pK to %p for pointer formatting, as %p is now safer and prevents issues like raw pointer leakage and acquiring sleeping locks in atomic contexts.

- Fixed kernel panic during boot
. A NULL pointer dereference issue occasionally occurred
when the vblank interrupt handler was called before
the DRM driver was fully initialized during boot.
So this patch fixes the issue by adding a check in the interrupt handler to ensure the DRM driver is properly initialized.

- Fixed a lockup issue on Samsung Peach-Pit/Pi Chromebooks
. The issue occurred after commit c9b1150a68d9 changed
the call order of CRTC enable/disable and bridge pre_enable/post_disable methods, causing fimd_dp_clock_enable() to be called
before the FIMD device was activated. To fix this,
runtime PM guards were added to fimd_dp_clock_enable()
to ensure proper operation even when CRTC is not enabled.

----------------------------------------------------------------
Kaustabh Chakraborty (1):
drm/exynos: exynos7_drm_decon: add vblank check in IRQ handling

Marek Szyprowski (1):
drm/exynos: fimd: Guard display clock control with runtime PM calls

Thomas Weißschuh (1):
drm/exynos: Don't use %pK through printk

 drivers/gpu/drm/exynos/exynos7_drm_decon.c |  4 ++++
 drivers/gpu/drm/exynos/exynos_drm_fimd.c   | 12 +++++++++++
 drivers/gpu/drm/exynos/exynos_drm_gem.c    |  2 +-
 drivers/gpu/drm/exynos/exynos_drm_ipp.c    | 32 +++++++++++++++---------------
 4 files changed, 33 insertions(+), 17 deletions(-)