[PATCH] gpu: host1x: Fix error handling

2017-04-10 Thread Christophe JAILLET
If 'devm_reset_control_get' returns an error, then we erroneously return success because error code is taken from 'host->clk' instead of 'host->rst'. Fixes: b386c6b73ac6 ("gpu: host1x: Support module reset") Signed-off-by: Christophe JAILLET --- drivers/gpu/host1x/dev.c | 2 +- 1 file changed,

Re: [PATCH 0/2] drm: dw-hdmi: various improvements

2017-04-10 Thread Russell King - ARM Linux
On Mon, Apr 10, 2017 at 02:08:44PM +0200, Daniel Vetter wrote: > On Mon, Apr 10, 2017 at 12:35:43PM +0200, Neil Armstrong wrote: > > On 04/10/2017 12:08 PM, Russell King - ARM Linux wrote: > > > On Mon, Apr 10, 2017 at 10:49:18AM +0530, Archit Taneja wrote: > > >> Hi, > > >> > > >> On 04/07/2017 07

Re: [PATCH v4 2/2] crypto: hw_random - Add new Exynos RNG driver

2017-04-10 Thread Herbert Xu
On Sat, Apr 08, 2017 at 03:32:45PM +0200, Krzysztof Kozlowski wrote: > > +static struct rng_alg exynos_rng_alg = { > + .generate = exynos_rng_generate, > + .seed = exynos_rng_seed, > + .seedsize = EXYNOS_RNG_SEED_SIZE, > + .base

[Bug 100646] System hang on Mullins hardware with Linux 4.11-rc6

2017-04-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100646 Platin changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[PATCH v5] drm/pl111: Initial drm/kms driver for pl111

2017-04-10 Thread Eric Anholt
From: Tom Cooksey This is a modesetting driver for the pl111 CLCD display controller found on various ARM platforms such as the Versatile Express. The driver has only been tested on the bcm911360_entphn platform so far, with PRIME-based buffer sharing between vc4 and clcd. It reuses the existing

[PATCH 1/3] drm/msm: Expose our reservation object when exporting a dmabuf.

2017-04-10 Thread Eric Anholt
Without this, polling on the dma-buf (and presumably other devices synchronizing against our rendering) would return immediately, even while the BO was busy. Signed-off-by: Eric Anholt Cc: sta...@vger.kernel.org Cc: Rob Clark Cc: linux-arm-...@vger.kernel.org Cc: freedr...@lists.freedesktop.org

[PATCH 2/3] drm/etnaviv: Expose our reservation object when exporting a dmabuf.

2017-04-10 Thread Eric Anholt
Without this, polling on the dma-buf (and presumably other devices synchronizing against our rendering) would return immediately, even while the BO was busy. Signed-off-by: Eric Anholt Cc: sta...@vger.kernel.org Cc: Lucas Stach Cc: Russell King Cc: Christian Gmeiner Cc: etna...@lists.freedeskt

[PATCH 3/3] drm/vc4: Add support for dma-buf fencing.

2017-04-10 Thread Eric Anholt
This is needed for proper synchronization with display on another DRM device (pl111 or tinydrm) with buffers produced by vc4 V3D. Fixes the new igt vc4_dmabuf_poll testcase, and rendering of one of the glmark2 desktop tests on pl111+vc4. This doesn't yet introduce waits on other device's fences b

[Bug 100618] Dead Island crash after starting a new game

2017-04-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100618 --- Comment #7 from Michel Dänzer --- That's it, thanks. There is no direct reference to any driver code in the backtrace. It's still possible that the crash is at least indirectly related to driver code, but the backtrace isn't enough to find

Re: [PATCH 4/8] sync_file: add a mutex to protect fence and callback members. (v4)

2017-04-10 Thread Dave Airlie
On 4 April 2017 at 18:07, Christian König wrote: > Am 04.04.2017 um 06:27 schrieb Dave Airlie: >> >> From: Dave Airlie >> >> This patch allows the underlying fence in a sync_file to be changed >> or set to NULL. This isn't currently required but for Vulkan >> semaphores we need to be able to swap

Re: Vulkan WSI+VK_KHR_display for KMS/DRM?

2017-04-10 Thread Michel Dänzer
On 04/04/17 11:45 PM, Jason Ekstrand wrote: > On Mon, Apr 3, 2017 at 12:56 PM, Keith Packard > wrote: > > Chad Versace > writes: > > > The real path forward should be implemented on top of > > VK_KHX_external_memory. If

Re: [PATCH 8/8] amdgpu: use sync file for shared semaphores (v2)

2017-04-10 Thread Dave Airlie
On 4 April 2017 at 21:05, Christian König wrote: > Am 04.04.2017 um 10:10 schrieb Daniel Vetter: >> >> On Tue, Apr 04, 2017 at 09:40:57AM +0200, Christian König wrote: >>> >>> Am 04.04.2017 um 06:27 schrieb Dave Airlie: From: Dave Airlie This creates a new interface for amdgpu

[repost] drm sync objects cleaned up

2017-04-10 Thread Dave Airlie
This set of sync object patches should address most of the issues raised in review. The major changes: Race on destroy should be gone, Documentation fixups amdgpu internal use p instead of adev fixups My plans are to write some igt tests this week, and try to get some more review on what the API

[PATCH 1/8] sync_file: add type/flags to sync file object creation.

2017-04-10 Thread Dave Airlie
From: Dave Airlie This allows us to create sync files with different semantics, and clearly define the interoperation between them it also provides flags to allow for tweaks on those semantics. This provides a validation interface for drivers that accept types from userspace so they can return E

[PATCH 2/8] sync_file: export some interfaces needed by drm sync objects.

2017-04-10 Thread Dave Airlie
From: Dave Airlie These are just alloc and fdget interfaces needed by the drm sync objects code. Reviewed-by: Christian König Reviewed-by: Daniel Vetter Signed-off-by: Dave Airlie --- drivers/dma-buf/sync_file.c | 21 +++-- include/linux/sync_file.h | 3 ++- 2 files change

[PATCH 4/8] sync_file: add a mutex to protect fence and callback members. (v4)

2017-04-10 Thread Dave Airlie
From: Dave Airlie This patch allows the underlying fence in a sync_file to be changed or set to NULL. This isn't currently required but for Vulkan semaphores we need to be able to swap and reset the fence. In order to faciliate this, it uses rcu to protect the fence, along with a new mutex. The

[PATCH 5/8] sync_file: add support for a semaphore object

2017-04-10 Thread Dave Airlie
From: Dave Airlie This object can be used to implement the Vulkan semaphores. The object behaviour differs from fence, in that you can replace the underlying fence, and you cannot merge semaphores. Signed-off-by: Dave Airlie --- drivers/dma-buf/sync_file.c| 36

[PATCH 7/8] amdgpu/cs: split out fence dependency checking

2017-04-10 Thread Dave Airlie
From: Dave Airlie This just splits out the fence depenency checking into it's own function to make it easier to add semaphore dependencies. Reviewed-by: Christian König Signed-off-by: Dave Airlie --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 85 +++--- 1 file change

[PATCH 6/8] drm/syncobj: add semaphore support helpers.

2017-04-10 Thread Dave Airlie
From: Dave Airlie This just adds two helper interfaces to bridge the gap from drivers to sync_file for the semaphore objects. These will be used by the amdgpu driver. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_syncobj.c | 77 +++ include/drm/drm

[PATCH 3/8] drm: introduce sync objects as sync file objects with no fd (v2)

2017-04-10 Thread Dave Airlie
From: Dave Airlie Sync objects are new toplevel drm object, that have the same semantics as sync_file objects, but without requiring an fd to be consumed to support them. This patch just enables the DRM interface to create these objects, it doesn't actually provide any semaphore objects or new f

[PATCH 8/8] amdgpu: use sync file for shared semaphores (v2.1)

2017-04-10 Thread Dave Airlie
From: Dave Airlie This creates a new command submission chunk for amdgpu to add wait and signal sync objects around the submission. Sync objects are managed via the drm syncobj ioctls. The command submission interface is enhanced with two new chunks, one for semaphore waiting, one for semaphore

Static inline DRM functions calling into GPL-only code

2017-04-10 Thread Nikhil Mahale
Hi, My name is Nikhil Mahale, and I work at NVIDIA in the Linux drivers team. I have been working on adding DRM KMS support to our driver. The NVIDIA GPU driver package (364.12 and higher) provides a kernel module, nvidia-drm.ko, which is licensed as "MIT". This module registers a DRM driver

Re: [PATCH] drm: panels: Add MAINTAINERS entry for LVS panel driver

2017-04-10 Thread Laurent Pinchart
Hi Dave, (CC'ing Rob) On Tuesday 11 Apr 2017 05:27:04 Dave Airlie wrote: > On 10 April 2017 at 19:03, Laurent Pinchart wrote: > > On Monday 10 Apr 2017 09:17:59 Thierry Reding wrote: > >> On Sun, Apr 09, 2017 at 01:31:40PM +0100, Emil Velikov wrote: > >>> Hi Thierry, > >>> > >>> I don't mean to

Re: [PATCH] drm: panels: Add MAINTAINERS entry for LVS panel driver

2017-04-10 Thread Laurent Pinchart
Hi Lucas, On Monday 10 Apr 2017 11:58:38 Lucas Stach wrote: > Am Montag, den 10.04.2017, 09:17 +0200 schrieb Thierry Reding: > > On Sun, Apr 09, 2017 at 01:31:40PM +0100, Emil Velikov wrote: > >> Hi Thierry, > >> > >> I don't mean to stir up anything, just voicing "my 2c" as they say. > > I norm

Re: [PATCHv3 08/22] staging: android: ion: Remove crufty cache support

2017-04-10 Thread Archit Taneja
Hi, On 04/04/2017 12:27 AM, Laura Abbott wrote: Now that we call dma_map in the dma_buf API callbacks there is no need to use the existing cache APIs. Remove the sync ioctl and the existing bad dma_sync calls. Explicit caching can be handled with the dma_buf sync API. We could get rid of the I

Re: [PATCH v2 01/13] devicetree/bindings: display: Document common panel properties

2017-04-10 Thread Laurent Pinchart
Hi Emil, On Sunday 09 Apr 2017 12:47:01 Emil Velikov wrote: > Hi Laurent, > > Pardon for reviving this old thread. I've noticed a couple of things > which might want some attention. > > On 19 November 2016 at 03:28, Laurent Pinchart wrote: > > + > > +- panel-timing: Most display panels are restr

[Bug 100306] System randomly freezes or crashes to the login screen, glitches until rebooted

2017-04-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100306 --- Comment #16 from fin4...@hotmail.com --- KDE is slow and buggy desktop and it does not even have freely configurable menus like the Xfce Whisker menu is. Test with Xfce and lightdm. -- You are receiving this mail because: You are the assign

Re: [PATCH v4 5/7] dt-bindings: display/panel: Add common rotation property

2017-04-10 Thread Laurent Pinchart
Hi Noralf, On Saturday 11 Feb 2017 19:48:56 Noralf Trønnes wrote: > Display panels can be oriented many ways, especially in the embedded > world. The rotation property is a way to describe this orientation. > The counter clockwise direction is chosen because that's what fbdev > and drm use. > > S

Re: Static inline DRM functions calling into GPL-only code

2017-04-10 Thread Daniel Vetter
On Tue, Apr 11, 2017 at 6:14 AM, Nikhil Mahale wrote: > My name is Nikhil Mahale, and I work at NVIDIA in the Linux drivers > team. > > I have been working on adding DRM KMS support to our driver. The NVIDIA > GPU driver package (364.12 and higher) provides a kernel module, > nvidia-drm.ko, which

Re: [PATCH 3/8] drm: introduce sync objects as sync file objects with no fd

2017-04-10 Thread Daniel Vetter
re-adding dri-devel, somehow got lost. On Tue, Apr 11, 2017 at 8:00 AM, Daniel Vetter wrote: > On Tue, Apr 11, 2017 at 5:06 AM, Dave Airlie wrote: >>> You can drop the DRM_UNLOCKED, it's the enforced standard for non-legacy >>> drivers since: >>> >>> commit ea487835e8876abf7ad909636e308c801a2bcd

Re: [PATCHv3 07/22] staging: android: ion: Remove page faulting support

2017-04-10 Thread Archit Taneja
Hi, On 04/04/2017 12:27 AM, Laura Abbott wrote: The new method of syncing with dma_map means that the page faulting sync implementation is no longer applicable. Remove it. Signed-off-by: Laura Abbott --- drivers/staging/android/ion/ion.c | 117 -- 1 file ch

Re: Static inline DRM functions calling into GPL-only code

2017-04-10 Thread Daniel Vetter
On Tue, Apr 11, 2017 at 7:52 AM, Daniel Vetter wrote: > On Tue, Apr 11, 2017 at 6:14 AM, Nikhil Mahale wrote: >> My name is Nikhil Mahale, and I work at NVIDIA in the Linux drivers >> team. >> >> I have been working on adding DRM KMS support to our driver. The NVIDIA >> GPU driver package (364.12

[drm:drm-syncobj-tip 9/9] drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c:456:15: error: too few arguments to function 'sync_file_create'

2017-04-10 Thread kbuild test robot
tree: git://people.freedesktop.org/~airlied/linux.git drm-syncobj-tip head: a7ce6e30a1f755c4ee18025134fb8c8069a76d80 commit: a7ce6e30a1f755c4ee18025134fb8c8069a76d80 [9/9] Merge git://git.freedesktop.org/git/drm-tip into drm-syncobj-tip config: arm-allmodconfig (attached as .config) compiler:

Re: [PATCHv3 13/22] staging: android: ion: Use CMA APIs directly

2017-04-10 Thread Laurent Pinchart
Hi Laura, Thank you for the patch. On Monday 03 Apr 2017 11:57:55 Laura Abbott wrote: > When CMA was first introduced, its primary use was for DMA allocation > and the only way to get CMA memory was to call dma_alloc_coherent. This > put Ion in an awkward position since there was no device struct

[PATCH] drm: Document code of conduct

2017-04-10 Thread Daniel Vetter
freedesktop.org has adopted a formal&enforced code of conduct: https://www.fooishbar.org/blog/fdo-contributor-covenant/ https://www.freedesktop.org/wiki/CodeOfConduct/ Besides formalizing things a bit more I don't think this changes anything for us, we've already peer-enforced respectful and cons

Re: [PATCH 8/8] amdgpu: use sync file for shared semaphores (v2)

2017-04-10 Thread Christian König
Am 11.04.2017 um 05:18 schrieb Dave Airlie: On 4 April 2017 at 21:05, Christian König wrote: Am 04.04.2017 um 10:10 schrieb Daniel Vetter: On Tue, Apr 04, 2017 at 09:40:57AM +0200, Christian König wrote: Am 04.04.2017 um 06:27 schrieb Dave Airlie: From: Dave Airlie This creates a new inter

[PATCH] drm/bridge: sii902x: Add missing \n to the end of some dev_err messages

2017-04-10 Thread Liu Ying
Trivial fix. Some dev_err messages in this driver are missing \n, so add them. Signed-off-by: Liu Ying --- drivers/gpu/drm/bridge/sii902x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/sii902x.c b/drivers/gpu/drm/bridge/sii902x.c index 9126d03.

<    1   2