Revision 31a55cf145f2e3d74a7488e86bd0b33b64250fce authored by Dave Airlie on 19 March 2015, 04:01:42 UTC, committed by Dave Airlie on 19 March 2015, 04:01:42 UTC
   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.

* 'exynos-drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos:
  drm/exynos: fix the initialization order in FIMD
  drm/exynos: fix typo config name correctly.
  drm/exynos: Check for NULL dereference of crtc
  drm/exynos: IS_ERR() vs NULL bug
  drm/exynos: remove unused files
2 parent s 59caeae + cdbfca8
History
File Mode Size
configs
drivers
include
kernel
os-Linux
scripts
sys-ia64
sys-ppc
.gitignore -rw-r--r-- 53 bytes
Kconfig.char -rw-r--r-- 4.4 KB
Kconfig.common -rw-r--r-- 722 bytes
Kconfig.debug -rw-r--r-- 997 bytes
Kconfig.net -rw-r--r-- 8.5 KB
Kconfig.rest -rw-r--r-- 291 bytes
Kconfig.um -rw-r--r-- 5.2 KB
Makefile -rw-r--r-- 5.0 KB
Makefile-ia64 -rw-r--r-- 32 bytes
Makefile-os-Linux -rw-r--r-- 235 bytes
Makefile-ppc -rw-r--r-- 203 bytes
Makefile-skas -rw-r--r-- 290 bytes

back to top