kbuild test robot | 25 Jun 06:17 2016
Picon

[drm-intel:for-linux-next 5/22] drivers/gpu/drm/i915/i915_drv.h:3612:48: error: parameter name omitted

tree:   git://anongit.freedesktop.org/drm-intel for-linux-next
head:   883445d43e45ddc5ef19274a169a1aa603428ab6
commit: 1dac891c1c95a8528f3558b481fbb9a45d653619 [5/22] drm/i915: Register debugfs interface last
config: x86_64-randconfig-s2-06251012 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout 1dac891c1c95a8528f3558b481fbb9a45d653619
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/i915/intel_dp_mst.c:27:0:
   drivers/gpu/drm/i915/i915_drv.h: In function 'i915_debugfs_register':
>> drivers/gpu/drm/i915/i915_drv.h:3612:48: error: parameter name omitted
    static inline int i915_debugfs_register(struct drm_i915_private *) {return 0;}
                                                   ^~~~~~~~~~~~~~~~
   drivers/gpu/drm/i915/i915_drv.h: In function 'i915_debugfs_unregister':
   drivers/gpu/drm/i915/i915_drv.h:3613:51: error: parameter name omitted
    static inline void i915_debugfs_unregister(struct drm_i915_private *) {}
                                                      ^~~~~~~~~~~~~~~~

vim +3612 drivers/gpu/drm/i915/i915_drv.h

  3606	#ifdef CONFIG_DEBUG_FS
  3607	int i915_debugfs_register(struct drm_i915_private *dev_priv);
  3608	void i915_debugfs_unregister(struct drm_i915_private *dev_priv);
  3609	int i915_debugfs_connector_add(struct drm_connector *connector);
  3610	void intel_display_crc_init(struct drm_device *dev);
  3611	#else
(Continue reading)

bugzilla-daemon | 25 Jun 02:12 2016

[Bug 96672] [radeonsi][LLVM 3.9] ARK: Survival Evolved, Missing text glyphs

Bug ID Summary Product Version Hardware OS Status Severity Priority Component Assignee Reporter QA Contact
96672
[radeonsi][LLVM 3.9] ARK: Survival Evolved, Missing text glyphs
Mesa
unspecified
Other
All
NEW
normal
medium
Drivers/Gallium/radeonsi
dri-devel <at> lists.freedesktop.org
shawn.starr <at> rogers.com
dri-devel <at> lists.freedesktop.org

Created attachment 124710 [details] Correct rendering I've discovered a regression in ARK. It appears our usage of LLVM 3.9 broke ARK while LLVM 3.8 is fine. Bisecting mesa from November 19th, I was unable to see any issues using LLVM 3.8, this includes Git mesa master. Attached is two screenshots using LLVM 3.8/3.9 showing the same scene. The text is missing in the top and in other places in game where certain text is used.
You are receiving this mail because:
  • You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Christian König | 24 Jun 21:51 2016
Picon

[PATCH 1/2] drm/ttm: fix stupid parameter inversion in the pipeline code

From: Christian König <christian.koenig <at> amd.com>

We want to keep the newest fence, not the oldest one.

Signed-off-by: Christian König <christian.koenig <at> amd.com>
---
 drivers/gpu/drm/ttm/ttm_bo_util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b/drivers/gpu/drm/ttm/ttm_bo_util.c
index 0c389a5..4da0e78 100644
--- a/drivers/gpu/drm/ttm/ttm_bo_util.c
+++ b/drivers/gpu/drm/ttm/ttm_bo_util.c
 <at>  <at>  -753,7 +753,7  <at>  <at>  int ttm_bo_pipeline_move(struct ttm_buffer_object *bo,
 		 */

 		spin_lock(&from->move_lock);
-		if (!from->move || fence_is_later(from->move, fence)) {
+		if (!from->move || fence_is_later(fence, from->move)) {
 			fence_put(from->move);
 			from->move = fence_get(fence);
 		}
--

-- 
2.5.0

_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Frank Binns | 24 Jun 19:15 2016
Frank Binns <frank.binns <at> imgtec.com>

Subject: [PATCH v2 0/6] Support render only drivers

[PATCH v2 0/6] Support render only drivers

This series resurrects work originally done by Thierry Reding (hence
the v2) but without taking things quite as far as the original [1].

The motivation for this series is to remove the dual meaning of
the DRIVER_MODESET feature flag, whereby it means "support kernel
modesetting" and "don't expose pre-KMS legacy behaviour". Without
this, it's necessary for render only drivers, such as etnaviv, to
choose between falsely advertising themselves as modesetting drivers
or exposing legacy behaviour. Unlike the original series, it doesn't
restrict the card-node to drivers that set DRIVER_MODESET.

As a couple of years have now passed, a number of the patches from the
original series have now either been merged (mainly clean up), are no
longer relevant or have no code changes in common with the originals.
It also means that some new patches are needed. Those patches that have
been rebased are marked as v2.

[1] https://lwn.net/Articles/588016/

Frank Binns (4):
  drm/vmwgfx: Stop checking minor type directly
  drm: Rename DRM_MINOR_LEGACY to DRM_MINOR_PRIMARY
  drm/amd/amdgpu: Set DRIVER_MODESET feature flag at build time
  drm: Separate DRIVER_MODESET and DRIVER_LEGACY

Thierry Reding (2):
  drm/qxl: Remove dead code
  drm: Introduce DRIVER_LEGACY feature

 Documentation/gpu/drm-internals.rst     |  9 ++++++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c |  3 +--
 drivers/gpu/drm/drm_bufs.c              | 22 +++++++++++-----------
 drivers/gpu/drm/drm_context.c           | 24 ++++++++++++------------
 drivers/gpu/drm/drm_dma.c               |  4 ++--
 drivers/gpu/drm/drm_drv.c               | 16 ++++++++--------
 drivers/gpu/drm/drm_fops.c              | 10 ++++++----
 drivers/gpu/drm/drm_ioctl.c             |  4 ++--
 drivers/gpu/drm/drm_irq.c               | 14 +++++++-------
 drivers/gpu/drm/drm_lock.c              |  4 ++--
 drivers/gpu/drm/drm_pci.c               | 10 +++++-----
 drivers/gpu/drm/drm_scatter.c           |  6 +++---
 drivers/gpu/drm/i810/i810_drv.c         |  3 ++-
 drivers/gpu/drm/mga/mga_drv.c           |  3 ++-
 drivers/gpu/drm/qxl/qxl_kms.c           |  4 ----
 drivers/gpu/drm/r128/r128_drv.c         |  3 ++-
 drivers/gpu/drm/savage/savage_drv.c     |  2 +-
 drivers/gpu/drm/sis/sis_drv.c           |  2 +-
 drivers/gpu/drm/tdfx/tdfx_drv.c         |  1 +
 drivers/gpu/drm/via/via_drv.c           |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c     |  3 +--
 include/drm/drmP.h                      |  5 +++--
 22 files changed, 79 insertions(+), 75 deletions(-)

--

-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Chris Wilson | 24 Jun 16:36 2016
Picon

[PATCH 1/5] drm: Unexport drm_connector_register_all()

This has now been removed from all drivers as it is performed centrally
as a part of device registration for modesetting drivers. With the last
user gone, we can unexport it from the DRM module.

Signed-off-by: Chris Wilson <chris <at> chris-wilson.co.uk>
Cc: David Airlie <airlied <at> linux.ie>
Cc: Daniel Vetter <daniel.vetter <at> ffwll.ch>
Cc: dri-devel <at> lists.freedesktop.org
---
 drivers/gpu/drm/drm_crtc.c | 19 +------------------
 include/drm/drm_crtc.h     |  1 -
 2 files changed, 1 insertion(+), 19 deletions(-)

diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index 1190638a3d53..c660ea28cf26 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
 <at>  <at>  -1109,23 +1109,7  <at>  <at>  void drm_connector_unregister(struct drm_connector *connector)
 }
 EXPORT_SYMBOL(drm_connector_unregister);

-/**
- * drm_connector_register_all - register all connectors
- *  <at> dev: drm device
- *
- * This function registers all connectors in sysfs and other places so that
- * userspace can start to access them. drm_connector_register_all() is called
- * automatically from drm_dev_register() to complete the device registration,
- * if they don't call drm_connector_register() on each connector individually.
- *
- * When a device is unplugged and should be removed from userspace access,
- * call drm_connector_unregister_all(), which is the inverse of this
- * function.
- *
- * Returns:
- * Zero on success, error code on failure.
- */
-int drm_connector_register_all(struct drm_device *dev)
+static int drm_connector_register_all(struct drm_device *dev)
 {
 	struct drm_connector *connector;
 	int ret;
 <at>  <at>  -1147,7 +1131,6  <at>  <at>  err:
 	drm_connector_unregister_all(dev);
 	return ret;
 }
-EXPORT_SYMBOL(drm_connector_register_all);

 /**
  * drm_connector_unregister_all - unregister connector userspace interfaces
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index e6ed7018e290..ddaa7243af55 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
 <at>  <at>  -2589,7 +2589,6  <at>  <at>  static inline unsigned drm_connector_index(struct drm_connector *connector)
 }

 /* helpers to {un}register all connectors from sysfs for device */
-extern int drm_connector_register_all(struct drm_device *dev);
 extern void drm_connector_unregister_all(struct drm_device *dev);

 extern __printf(5, 6)
--

-- 
2.8.1

_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Tobias Jakobi | 24 Jun 13:52 2016
Picon
Picon

[PATCH] drm/exynos: make fbdev support really optional

Currently enabling Exynos DRM support automatically pulls in
lots of fbdev dependencies. However these deps are
unnecessary since DRM core already enables them when
needed.

Signed-off-by: Tobias Jakobi <tjakobi <at> math.uni-bielefeld.de>
---
 drivers/gpu/drm/exynos/Kconfig | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig
index baddf33..590559c 100644
--- a/drivers/gpu/drm/exynos/Kconfig
+++ b/drivers/gpu/drm/exynos/Kconfig
 <at>  <at>  -2,10 +2,6  <at>  <at>  config DRM_EXYNOS
 	tristate "DRM Support for Samsung SoC EXYNOS Series"
 	depends on OF && DRM && (ARCH_S3C64XX || ARCH_EXYNOS || ARCH_MULTIPLATFORM)
 	select DRM_KMS_HELPER
-	select DRM_KMS_FB_HELPER
-	select FB_CFB_FILLRECT
-	select FB_CFB_COPYAREA
-	select FB_CFB_IMAGEBLIT
 	select VIDEOMODE_HELPERS
 	help
 	  Choose this option if you have a Samsung SoC EXYNOS chipset.
--

-- 
2.7.3

_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Frank Binns | 24 Jun 12:15 2016
Frank Binns <frank.binns <at> imgtec.com>

Subject: [PATCH] drm: fix some spelling mistakes

[PATCH] drm: fix some spelling mistakes

Signed-off-by: Frank Binns <frank.binns <at> imgtec.com>
---
 drivers/gpu/drm/drm_irq.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/drm_irq.c b/drivers/gpu/drm/drm_irq.c
index 8ca3d2b..149453c 100644
--- a/drivers/gpu/drm/drm_irq.c
+++ b/drivers/gpu/drm/drm_irq.c
 <at>  <at>  -532,7 +532,7  <at>  <at>  int drm_irq_uninstall(struct drm_device *dev)

 	/*
 	 * Wake up any waiters so they don't hang. This is just to paper over
-	 * isssues for UMS drivers which aren't in full control of their
+	 * issues for UMS drivers which aren't in full control of their
 	 * vblank/irq handling. KMS drivers must ensure that vblanks are all
 	 * disabled when uninstalling the irq handler.
 	 */
 <at>  <at>  -594,7 +594,7  <at>  <at>  int drm_control(struct drm_device *dev, void *data,
 		return 0;
 	if (drm_core_check_feature(dev, DRIVER_MODESET))
 		return 0;
-	/* UMS was only ever support on pci devices. */
+	/* UMS was only ever supported on pci devices. */
 	if (WARN_ON(!dev->pdev))
 		return -EINVAL;

--

-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Michel Dänzer | 24 Jun 09:59 2016
Picon
Gravatar

[PATCH] drm: Only handle _DRM_VBLANK_NEXTONMISS once

From: Michel Dänzer <michel.daenzer <at> amd.com>

Consolidate the _DRM_VBLANK_NEXTONMISS handling between drm_wait_vblank
and drm_queue_vblank_event.

This is a cleanup spotted while working on other changes.

(The way it was previously handled could also theoretically result in
drm_queue_vblank_event unnecessarily bumping vblwait->request.sequence,
if the vblank counter happened to increment between the
drm_vblank_count(_and_time) calls in each function, but that's unlikely)

Signed-off-by: Michel Dänzer <michel.daenzer <at> amd.com>
---
 drivers/gpu/drm/drm_irq.c | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/drivers/gpu/drm/drm_irq.c b/drivers/gpu/drm/drm_irq.c
index 3c1a6f1..39ea4fc 100644
--- a/drivers/gpu/drm/drm_irq.c
+++ b/drivers/gpu/drm/drm_irq.c
 <at>  <at>  -1685,12 +1685,6  <at>  <at>  static int drm_queue_vblank_event(struct drm_device *dev, unsigned int pipe,

 	seq = drm_vblank_count_and_time(dev, pipe, &now);

-	if ((vblwait->request.type & _DRM_VBLANK_NEXTONMISS) &&
-	    (seq - vblwait->request.sequence) <= (1 << 23)) {
-		vblwait->request.sequence = seq + 1;
-		vblwait->reply.sequence = vblwait->request.sequence;
-	}
-
 	DRM_DEBUG("event on vblank count %d, current %d, crtc %u\n",
 		  vblwait->request.sequence, seq, pipe);

 <at>  <at>  -1787,6 +1781,11  <at>  <at>  int drm_wait_vblank(struct drm_device *dev, void *data,
 		goto done;
 	}

+	if ((flags & _DRM_VBLANK_NEXTONMISS) &&
+	    (seq - vblwait->request.sequence) <= (1 << 23)) {
+		vblwait->request.sequence = seq + 1;
+	}
+
 	if (flags & _DRM_VBLANK_EVENT) {
 		/* must hold on to the vblank ref until the event fires
 		 * drm_vblank_put will be called asynchronously
 <at>  <at>  -1794,11 +1793,6  <at>  <at>  int drm_wait_vblank(struct drm_device *dev, void *data,
 		return drm_queue_vblank_event(dev, pipe, vblwait, file_priv);
 	}

-	if ((flags & _DRM_VBLANK_NEXTONMISS) &&
-	    (seq - vblwait->request.sequence) <= (1<<23)) {
-		vblwait->request.sequence = seq + 1;
-	}
-
 	DRM_DEBUG("waiting on vblank count %d, crtc %u\n",
 		  vblwait->request.sequence, pipe);
 	vblank->last_wait = vblwait->request.sequence;
--

-- 
2.8.1

_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Bibby Hsieh | 24 Jun 09:27 2016

[GIT PULL] drm/mediatek: MT8173 gamma & dither support

Hi Dave,

Please consider merging this tag, which contains the v2 MT8173 gamma & dither function patches I sent on
2016-06-17, rebased onto v4.7-rc1. There have been no further comments.

Thanks
Bibby

The following changes since commit 1a695a905c18548062509178b98bc91e67510864:

  Linux 4.7-rc1 (2016-05-29 16:29:24 GMT)

are available in the git repository at:

  git <at> github.com:BibbyHsieh/linux4.7-rc1.git

for you to fetch changes up to dd0eb773bc125f5e6bca735d19c08500dc3730f9:

  drm/mediatek: Add gamma correction

-------------------------------------------------------------------------
This is MT8173 gamma & dither support PATCH v2, based on 4.7-rc1.

Changes since v1:
 -According to the suggestion from Daniel,
  we used the new atomic color management.
 -Applied gamma function at GAMMA engine (path 2).
 -Made dithering function support hardware mirroring well.
 -Removed the bpc variable from mtk_drm_crtc struct.
-------------------------------------------------------------------------

Bibby Hsieh (2):
  drm/mediatek: Add gamma correction
  drm/mediatek: set mt8173 dithering function

 drivers/gpu/drm/mediatek/mtk_disp_ovl.c     |    3 +-
 drivers/gpu/drm/mediatek/mtk_disp_rdma.c    |    3 +-
 drivers/gpu/drm/mediatek/mtk_drm_crtc.c     |   26 ++++-
 drivers/gpu/drm/mediatek/mtk_drm_crtc.h     |    1 +
 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c |  147 ++++++++++++++++++++++++++-
 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h |   16 ++-
 6 files changed, 184 insertions(+), 12 deletions(-)

--

-- 
1.7.9.5

_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Dave Airlie | 24 Jun 05:03 2016
Picon

[git pull] drm fixes


Hi Linus,

This is the drm fixes tree for 4.7-rc5. It's a bit larger than normal,
due to fixes for production AMD Polaris GPUs. We only merged support for
these in 4.7-rc1 so it would be good if we got all the fixes into final.
The changes don't hit any other hardware.

Other than the amdgpu Polaris changes:

A single fix for atomic modesetting WARN.
Nouveau fix for when fbdev is disabled.
i915 fixes for FBC on Haswell and displayport regression.
Exynos fix for a display panel regression and some other minor changes
Atmel fixes for scaling and OF graph interaction
Allwiinner build, warning and probing fixes
AMD GPU non-polaris fix for num_rbs and some minor fixes.

Also I've just moved house, and my new place is Internet challenged
due to incompetent incumbent ISPs, hopefully sorted out in a couple of
weeks, so I might not be too responsive over the next while. It also
helps Daniel is on holidays for those couple of weeks as well.

Dave.

The following changes since commit 33688abb2802ff3a230bd2441f765477b94cc89e:

  Linux 4.7-rc4 (2016-06-19 21:30:02 -0700)

are available in the git repository at:

  git://people.freedesktop.org/~airlied/linux tags/drm-fixes-for-v4.7-rc5

for you to fetch changes up to 81e257e964268d050f8e9188becd44d50f241d72:

  drm/atomic: Make drm_atomic_legacy_backoff reset crtc->acquire_ctx (2016-06-24 11:10:36 +1000)

----------------------------------------------------------------
Alex Deucher (1):
      drm/amdgpu: fix num_rbs exposed to userspace (v2)

Arnd Bergmann (3):
      drm/sun4i: add COMMON_CLK dependency
      drm: sun4i: print DMA address correctly
      drm: sun4i: fix probe error handling

Boris Brezillon (2):
      drm: atmel-hlcdc: actually disable scaling when no scaling is required
      drm: atmel-hlcdc: Fix OF graph parsing

Chen-Yu Tsai (1):
      drm: sun4i: do cleanup if RGB output init fails

Dan Carpenter (2):
      drm/amdgpu: missing bounds check in amdgpu_set_pp_force_state()
      drm/amdgpu: precedence bug in amdgpu_device_init()

Dave Airlie (6):
      Merge branch 'linux-4.7' of git://github.com/skeggsb/linux into drm-fixes
      Merge tag 'drm-intel-fixes-2016-06-22' of git://anongit.freedesktop.org/drm-intel into drm-fixes
      Merge tag 'sunxi-drm-fixes-for-4.7' of https://git.kernel.org/.../mripard/linux into drm-fixes
      Merge tag 'drm-atmel-hlcdc-fixes/for-4.7-rc5' of github.com:bbrezillon/linux-at91 into drm-fixes
      Merge branch 'exynos-drm-fixes' of git://git.kernel.org/.../daeinki/drm-exynos into drm-fixes
      Merge branch 'drm-fixes-4.7' of git://people.freedesktop.org/~agd5f/linux into drm-fixes

Dmitrii Tcvetkov (1):
      drm/nouveau: fix for disabled fbdev emulation

Javier Martinez Canillas (2):
      drm/exynos: fimd: don't set .has_hw_trigger in s3c6400 driver data
      drm/exynos: don't use HW trigger for Exynos5420/5422/5800

Lyude (1):
      drm/i915/fbc: Disable on HSW by default for now

Maarten Lankhorst (1):
      drm/atomic: Make drm_atomic_legacy_backoff reset crtc->acquire_ctx

Maxime Ripard (6):
      drm/sun4i: request exact rates to our parents
      drm/sun4i: rgb: Validate the clock rate
      drm/sun4i: defer only if we didn't find our panel
      drm/sun4i: rgb: panel is an error pointer
      drm/sun4i: remove simplefb at probe
      drm/sun4i: Convert to connector register helpers

Mika Kahola (1):
      drm/i915: Revert DisplayPort fast link training feature

Nicolas Iooss (1):
      drm/amdgpu: initialize amdgpu_cgs_acpi_eval_object result value

Rex Zhu (12):
      drm/amd/powerplay: fix logic error.
      drm/amd/powerplay: fix bug that function parameter was incorect.
      drm/amd/powerplay: need to notify system bios pcie device ready
      drm/amd/powerplay: enable PowerContainment feature for polaris10/11.
      drm/amd/powerplay: initialize variables which were missed.
      drm/amd/powerplay: disable UVD SMU handshake for MCLK.
      drm/amd/powrplay: enable stutter_mode for polaris.
      drm/amd/powerplay: add avfs related define for polaris
      drm/amdgpu/atombios: add avfs struct for Polaris10/11
      drm/amd/powerplay: enable avfs feature for polaris
      drm/amdgpu/gfx8: update golden setting for polaris10
      drm/amd/powerplay: enable clock stretch feature for polaris

Tobias Jakobi (3):
      drm/exynos: g2d: drop the _REG postfix from the stride defines
      drm/exynos: remove superfluous inclusions of fbdev header
      drm/exynos: use logical AND in exynos_drm_plane_check_size()

Yakir Yang (1):
      drm/exynos: dp: Fix NULL pointer dereference due uninitialized connector

 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c            |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c            |   3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c             |  28 ++-
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c              |   3 +-
 drivers/gpu/drm/amd/include/atombios.h             |  72 +++++++
 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c   |   2 +
 .../gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c  |   6 +-
 .../gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c  | 228 ++++++++++++---------
 .../gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.h  |   3 +
 .../drm/amd/powerplay/hwmgr/polaris10_thermal.c    |   6 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c      |  18 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c   |  43 ++++
 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.h   |  32 +++
 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c  |   1 +
 .../gpu/drm/amd/powerplay/inc/polaris10_ppsmc.h    |   1 +
 drivers/gpu/drm/amd/powerplay/inc/pp_acpi.h        |   1 +
 drivers/gpu/drm/amd/powerplay/inc/smu74.h          |  75 ++++++-
 drivers/gpu/drm/amd/powerplay/inc/smu74_discrete.h |  42 +++-
 .../drm/amd/powerplay/smumgr/polaris10_smumgr.c    |  50 +++--
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c   |  10 +-
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c    |   2 +
 drivers/gpu/drm/drm_atomic.c                       |  27 ++-
 drivers/gpu/drm/exynos/exynos7_drm_decon.c         |   1 -
 drivers/gpu/drm/exynos/exynos_dp.c                 |   5 +-
 drivers/gpu/drm/exynos/exynos_drm_core.c           |   1 -
 drivers/gpu/drm/exynos/exynos_drm_fimd.c           |   5 -
 drivers/gpu/drm/exynos/exynos_drm_g2d.c            |  12 +-
 drivers/gpu/drm/exynos/exynos_drm_plane.c          |   2 +-
 drivers/gpu/drm/i915/intel_dp.c                    |   3 -
 drivers/gpu/drm/i915/intel_dp_link_training.c      |  26 +--
 drivers/gpu/drm/i915/intel_drv.h                   |   2 -
 drivers/gpu/drm/i915/intel_fbc.c                   |   3 +-
 drivers/gpu/drm/nouveau/nouveau_fbcon.c            |   3 +-
 drivers/gpu/drm/sun4i/Kconfig                      |   2 +-
 drivers/gpu/drm/sun4i/sun4i_backend.c              |   4 +-
 drivers/gpu/drm/sun4i/sun4i_dotclock.c             |  39 +++-
 drivers/gpu/drm/sun4i/sun4i_drv.c                  |  50 ++---
 drivers/gpu/drm/sun4i/sun4i_rgb.c                  |  16 +-
 drivers/gpu/drm/sun4i/sun4i_tcon.c                 |  23 ++-
 40 files changed, 598 insertions(+), 256 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Oded Gabbay | 23 Jun 20:53 2016
Picon
Gravatar

[PATCH] drm/amdkfd: destroy mutex if process creation fails

Signed-off-by: Oded Gabbay <oded.gabbay <at> gmail.com>
---
 drivers/gpu/drm/amd/amdkfd/kfd_process.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_process.c b/drivers/gpu/drm/amd/amdkfd/kfd_process.c
index 6482fee..771a18a 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_process.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_process.c
 <at>  <at>  -323,6 +323,7  <at>  <at>  err_process_pqm_init:
 	synchronize_rcu();
 	mmu_notifier_unregister_no_release(&process->mmu_notifier, process->mm);
 err_mmu_notifier:
+	mutex_destroy(&process->mutex);
 	kfd_pasid_free(process->pasid);
 err_alloc_pasid:
 	kfree(process->queues);
--

-- 
2.5.5

_______________________________________________
dri-devel mailing list
dri-devel <at> lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Gmane