[GIT PULL] exynos-drm-fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dave,

   Some urgent regression fixes to booting failures Exynos DRM occured.

   Summary:
   - Fix two urgent null pointer dereference bugs in case of enabling
     or disabling IOMMU. There was two cases to these issues.
     One is that plane->crtc is accessed by exynos_disable_plane()
     when device tree binding is broken so device driver tries
     to release, which means that the mode set operation isn't invoked yet
     so plane->crtc is still NULL and exynos_disable_plane() will access
     NULL pointer. This issue is fixed by checking if the plane->crtc
     is NULL or not in exynos_disable_plane()

     Other is that fimd_wait_for_vblank() is called to avoid from page fault
     with IOMMU before the ctx object is created. At this time,
     fimd_wait_for_vblank() tries to access ctx->crtc but the ctx->crtc
     is still NULL because exynos_drm_crtc_create() isn't called yet.
     This issue is fixed by creating a crtc object and setting it to
     ctx->crtc prior to fimd_wait_for_vblank() call.

     For more details, you can refer to below an e-mail thread,
     http://www.spinics.net/lists/linux-samsung-soc/msg42436.html

   - Remove unnecessary file not used and fix trivial issues.

   Plese, kindly let me know if there is any problem.


Thanks,
Inki Dae


The following changes since commit 046d669c62f37323ef0329c41d83a03c06b2087d:

  [PATCH] drm/mm: Fix support 4 GiB and larger ranges (2015-03-16 06:28:50 +1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos exynos-drm-fixes

for you to fetch changes up to cdbfca890714c14cafb6f65cab89b3e3ffad876f:

  drm/exynos: fix the initialization order in FIMD (2015-03-18 20:41:19 +0900)

----------------------------------------------------------------
Andrzej Hajda (1):
      drm/exynos: remove unused files

Charles Keepax (1):
      drm/exynos: Check for NULL dereference of crtc

Dan Carpenter (1):
      drm/exynos: IS_ERR() vs NULL bug

Hyungwon Hwang (1):
      drm/exynos: fix the initialization order in FIMD

Inki Dae (1):
      drm/exynos: fix typo config name correctly.

 drivers/gpu/drm/exynos/Kconfig                |    2 +-
 drivers/gpu/drm/exynos/exynos7_drm_decon.c    |    4 +-
 drivers/gpu/drm/exynos/exynos_drm_connector.c |  245 -------------------------
 drivers/gpu/drm/exynos/exynos_drm_connector.h |   20 --
 drivers/gpu/drm/exynos/exynos_drm_fimd.c      |   29 ++-
 drivers/gpu/drm/exynos/exynos_drm_plane.c     |    2 +-
 6 files changed, 15 insertions(+), 287 deletions(-)
 delete mode 100644 drivers/gpu/drm/exynos/exynos_drm_connector.c
 delete mode 100644 drivers/gpu/drm/exynos/exynos_drm_connector.h
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux