Proposed fixes for LTSI 3.10.28-rc1

* drm: remove FASYNC support

  Remove FASYNC as it no longer compiles due to the backport of
  bb70c080a8924ee ("drm/prime: proper locking+refcounting for
  obj->dma_buf link").

* drm: Pass page flip ioctl flags to driver

  A backport of the non drm/rcar-du portions of this patch is present
  in LTSI 3.10. Add the drm/rcar-du to remove build breakage caused
  by the backport of the other portions.

* drm/gem: create drm_gem_dumb_destroy

  A backport of the non drm/rcar-du portions of this patch is present
  in LTSI 3.10. Add the drm/rcar-du to remove build breakage caused
  by the backport of the other portions.

* drm/cma: add low-level hook functions to use prime helpers

  This is in preparation for using these functions in drm/rcar-du instead
  of GEM CMA specific dma_buf functionality which no longer compiles due to
  the backport of bb70c080a8924ee ("drm/prime: proper locking+refcounting
  for obj->dma_buf link").

* drm/cma: remove GEM CMA specific dma_buf functionality

  Remove GEM CMA specific dma_buf functionality as it no longer
  compiles due to the backport of bb70c080a8924ee ("drm/prime: proper
  locking+refcounting for obj->dma_buf link").

* drm: add mmap function to prime helpers

  This is in preparation for using this helper in drm/rcar-du instead
  of GEM CMA specific dma_buf functionality which no longer compiles due to
  the backport of bb70c080a8924ee ("drm/prime: proper locking+refcounting
  for obj->dma_buf link").

* drm/rcar-du: Use the GEM PRIME helpers

  Use GEM PRIME helpers in drm/rcar-du instead of GEM CMA specific dma_buf
  functionality which no longer compiles due to the backport of
  bb70c080a8924ee ("drm/prime: proper locking+refcounting for obj->dma_buf
  link").

  This uses new helpers added by the two patches added immediately above.

* fb: make fp_get_options name argument const

  Fix for compile warning introduced by backport of
  64d0abb6ad25bad2 ("drm: Constify the pretty-print functions").

* ARM: shmobile: r7s72100 Genmai DT reference DTS bits

  Correct build error when building shmobile multiplatform
  (which is not the case for any defconfig) introduced by me
  in the backport of b95a74cd3f44985b ("ARM: shmobile: Let Koelsch
  multiplatform boot with Koelsch DTB).

* i2c: mv64xxx: Do not use writel_relaxed

  This resolves a build error on powerpc for prpmc2800_defconfig and
  c2k_defconfig introduced by the backport of 8a46f4f7f95f2bec
  ("of: remove #ifdef from linux/of_platform.h").
i2c: mv64xxx: Do not use writel_relaxed()

The driver is used on PowerPC which don't provide writel_relaxed(). This
breaks the c2k and prpmc2800 default configurations. To fix the build,
turn the calls to writel_relaxed() into writel(). The impacts for ARM
should be minimal.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
(cherry picked from commit 85b3a9356e84f683dd27fe8b73ad15608b4fc2c5)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
1 file changed