nouveau-fixes 5.2

2019-05-14 Thread Ben Skeggs
Hey, Mostly fixes for a number of modesetting-related issues that have been reported, as well as initial support for TU117 modesetting. TU116 also exists these days, but is not officially supported, as I don't have HW yet to verify against. Thanks, Ben. The following changes since commit 30df16

[PATCH] drm/msm/dpu: Remove duplicate header

2019-05-14 Thread Sabyasachi Gupta
Remove dpu_kms.h which is included more than once Signed-off-by: Sabyasachi Gupta --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c index dbe48e00..d692dee 100644

[PATCH] drm/bridge: Remove duplicate header

2019-05-14 Thread Sabyasachi Gupta
Remove drm/drm_panel.h which is included more than once Signed-off-by: Sabyasachi Gupta --- drivers/gpu/drm/bridge/panel.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/panel.c b/drivers/gpu/drm/bridge/panel.c index 7cbaba2..402b318 100644 --- a/drivers/gpu/drm/bridge

Re: [PATCH] drm/bridge: Remove duplicate header

2019-05-14 Thread Laurent Pinchart
Hi Sabyasachi, Thank you for the patch. On Tue, May 14, 2019 at 01:01:41PM +0530, Sabyasachi Gupta wrote: > Remove drm/drm_panel.h which is included more than once > > Signed-off-by: Sabyasachi Gupta > --- > drivers/gpu/drm/bridge/panel.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-05-14 Thread Alyssa Rosenzweig
> This being said, I think I'll go for a simple debugfs-based iface to > unblock Alyssa. debugfs is not part of the stable-ABI and I guess we > can agree on explicitly marking it as "unstable" so that when we settle > on a generic interface to expose such counters we can get rid of the > old one.

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-05-14 Thread Steven Price
On 12/05/2019 14:38, Boris Brezillon wrote: > On Sat, 11 May 2019 15:32:20 -0700 > Alyssa Rosenzweig wrote: > >> Hi all, >> >> As Steven Price explained, the "GPU top" kbase approach is often more >> useful and accurate than per-draw timing. >> >> For a 3D game inside a GPU-accelerated desktop,

RE: [PATCH v2 3/7] lib/hexdump.c: Optionally suppress lines of repeated bytes

2019-05-14 Thread Alastair D'Silva
> -Original Message- > From: Geert Uytterhoeven > Sent: Monday, 13 May 2019 5:01 PM > To: Alastair D'Silva > Cc: alast...@d-silva.org; Jani Nikula ; Joonas > Lahtinen ; Rodrigo Vivi > ; David Airlie ; Daniel Vetter > ; Dan Carpenter ; Karsten > Keil ; Jassi Brar ; Tom > Lendacky ; David S

Re: [PATCH] drm/panfrost: Add missing _fini() calls in panfrost_device_fini()

2019-05-14 Thread Steven Price
On 13/05/2019 09:17, Boris Brezillon wrote: > panfrost_{job,mmu,gpu,reset}_fini() were missing. > > Fixes: f3ba91228e8e ("drm/panfrost: Add initial panfrost driver") > Signed-off-by: Boris Brezillon Reviewed-by: Steven Price > --- > drivers/gpu/drm/panfrost/panfrost_device.c | 4 > 1 fil

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-05-14 Thread Steven Price
On 13/05/2019 14:39, Boris Brezillon wrote: > On Mon, 13 May 2019 13:48:08 +0100 > Steven Price wrote: > >> On 12/05/2019 14:38, Boris Brezillon wrote: >>> On Sat, 11 May 2019 15:32:20 -0700 >>> Alyssa Rosenzweig wrote: >>> Hi all, As Steven Price explained, the "GPU top" kbase

Re: [RFC v2 08/11] arm64: dts: sdm845: Add ufs opps and power-domains

2019-05-14 Thread Ulf Hansson
On Wed, 20 Mar 2019 at 10:50, Rajendra Nayak wrote: > > Add the additional power domain and the OPP table for ufs on sdm845 > so the driver can set the appropriate performance state of the > power domain while setting the clock rate. > > Signed-off-by: Rajendra Nayak > --- > arch/arm64/boot/dts/

Re: [PATCH v2 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-05-14 Thread Brendan Higgins
On Sat, May 11, 2019 at 08:43:23AM +0200, Knut Omang wrote: > On Fri, 2019-05-10 at 14:59 -0700, Frank Rowand wrote: > > On 5/10/19 3:23 AM, Brendan Higgins wrote: > > >> On Fri, May 10, 2019 at 7:49 AM Knut Omang wrote: > > >>> > > >>> On Thu, 2019-05-09 at 22:18 -0700, Frank Rowand wrote: > > >>

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-14 Thread Pekka Paalanen
On Mon, 13 May 2019 11:34:58 +0200 Daniel Vetter wrote: > On Mon, May 13, 2019 at 11:02 AM Paul Kocialkowski > wrote: > > > > Hi, > > > > On Fri, 2019-05-10 at 16:54 +0200, Daniel Vetter wrote: > > > On Fri, May 10, 2019 at 2:12 PM Paul Kocialkowski > > > wrote: > > > > Hi, > > > > > > > >

Re: [EXTERNAL] Re: [PATCH] sync_file: Return reasonable timestamp when merging signaled fences

2019-05-14 Thread Chris Wilson
Quoting Michael Yang (2019-05-14 08:55:37) > On Thu, May 09, 2019 at 12:46:05PM +0100, Chris Wilson wrote: > > Quoting Michael Yang (2019-05-09 05:34:11) > > > If all the sync points were signaled in both fences a and b, > > > there was only one sync point in merged fence which is a_fence[0]. > > >

Re: [PATCH v3 08/18] objtool: add kunit_try_catch_throw to the noreturn list

2019-05-14 Thread Brendan Higgins
On Tue, May 14, 2019 at 08:56:43AM +0200, Peter Zijlstra wrote: > On Mon, May 13, 2019 at 10:42:42PM -0700, Brendan Higgins wrote: > > This fixes the following warning seen on GCC 7.3: > > kunit/test-test.o: warning: objtool: kunit_test_unsuccessful_try() falls > > through to next function kunit

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-14 Thread Ser, Simon
On Tue, 2019-05-14 at 11:02 +0300, Pekka Paalanen wrote: > On Mon, 13 May 2019 11:34:58 +0200 > Daniel Vetter wrote: > > > On Mon, May 13, 2019 at 11:02 AM Paul Kocialkowski > > wrote: > > > Hi, > > > > > > On Fri, 2019-05-10 at 16:54 +0200, Daniel Vetter wrote: > > > > On Fri, May 10, 2019 a

Re: [PATCH v2 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-05-14 Thread Brendan Higgins
On Wed, May 08, 2019 at 05:58:49PM -0700, Frank Rowand wrote: > Hi Ted, > > On 5/7/19 10:22 AM, Theodore Ts'o wrote: > > On Tue, May 07, 2019 at 10:01:19AM +0200, Greg KH wrote: > Not very helpful to cut the text here, plus not explicitly indicating that > text was cut (yes, I know the ">>>" will

Re: [EXTERNAL] Re: [PATCH] sync_file: Return reasonable timestamp when merging signaled fences

2019-05-14 Thread Michael Yang
On Thu, May 09, 2019 at 12:46:05PM +0100, Chris Wilson wrote: > Quoting Michael Yang (2019-05-09 05:34:11) > > If all the sync points were signaled in both fences a and b, > > there was only one sync point in merged fence which is a_fence[0]. > > The Fence structure in android framework might be co

Re: [PATCH v2 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-05-14 Thread Brendan Higgins
On Fri, May 10, 2019 at 03:13:40PM -0700, Frank Rowand wrote: > On 5/10/19 9:17 AM, Logan Gunthorpe wrote: > > > > > > On 2019-05-09 11:18 p.m., Frank Rowand wrote: > > > >> YES, kselftest has in-kernel tests. (Excuse the shouting...) > > > > Cool. From my cursory look, in my opinion, these wo

Re: [PATCH v3 08/18] objtool: add kunit_try_catch_throw to the noreturn list

2019-05-14 Thread Peter Zijlstra
On Tue, May 14, 2019 at 01:12:23AM -0700, Brendan Higgins wrote: > On Tue, May 14, 2019 at 08:56:43AM +0200, Peter Zijlstra wrote: > > On Mon, May 13, 2019 at 10:42:42PM -0700, Brendan Higgins wrote: > > > This fixes the following warning seen on GCC 7.3: > > > kunit/test-test.o: warning: objtool

Re: [RFC][PATCH 0/5 v4] DMA-BUF Heaps (destaging ION)

2019-05-14 Thread Benjamin Gaignard
Le lun. 13 mai 2019 à 20:37, John Stultz a écrit : > > Here is another RFC of the dma-buf heaps patchset Andrew and I > have been working on which tries to destage a fair chunk of ION > functionality. > > The patchset implements per-heap devices which can be opened > directly and then an ioctl is

[Bug 110674] Crashes / Resets From AMDGPU / Radeon VII

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 Michel Dänzer changed: What|Removed |Added Attachment #144257|text/x-log |text/plain mime type|

[Bug 110674] Crashes / Resets From AMDGPU / Radeon VII

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 Michel Dänzer changed: What|Removed |Added Attachment #144255|text/x-log |text/plain mime type|

[Bug 110674] Crashes / Resets From AMDGPU / Radeon VII

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 Chris Hodapp changed: What|Removed |Added Attachment #144256|text/x-log |text/plain mime type|

[Bug 110674] Crashes / Resets From AMDGPU / Radeon VII

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #4 from Chris Hodapp --- Created attachment 144261 --> https://bugs.freedesktop.org/attachment.cgi?id=144261&action=edit display-manager.service.lastboot.log Add a copy of display-manager.service log filtered down to contain just

[PATCH v4 1/2] dt-bindings: display: stm32: add supply property to DSI controller

2019-05-14 Thread Yannick Fertré
This patch adds documentation of a new property phy-dsi-supply to the STM32 DSI controller. Signed-off-by: Yannick Fertré Reviewed-by: Rob Herring Reviewed-by: Philippe Cornu --- Documentation/devicetree/bindings/display/st,stm32-ltdc.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/

[PATCH v4 0/2] Add supply property for DSI controller

2019-05-14 Thread Yannick Fertré
The DSI controller needs a new property that powers its physical layer. Binding has been updated to document this property. Device tree of stm32mp157c soc. Move reg18 & reg11 to stm32mp157c device tree file. Remove property phy-dsi-supply property to stm32mp157c-dk2.dts file. Changes in v2: - rena

[PATCH v4 2/2] drm/stm: dsi: add regulator support

2019-05-14 Thread Yannick Fertré
Add support of regulator for the phy part of the DSI controller. Signed-off-by: Yannick Fertré Acked-by: Philippe Cornu --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 60 --- 1 file changed, 49 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/stm/dw_mipi

Re: [PATCH libdrm 2/7] add timeline wait/query ioctl v2

2019-05-14 Thread Lionel Landwerlin
On 13/05/2019 10:53, Chunming Zhou wrote: v2: drop export/import Signed-off-by: Chunming Zhou --- xf86drm.c | 44 xf86drm.h | 6 ++ 2 files changed, 50 insertions(+) diff --git a/xf86drm.c b/xf86drm.c index 2c19376b..17e3d880 100644 --- a/x

Re: [PATCH libdrm 4/7] add timeline signal/transfer ioctls v2

2019-05-14 Thread Lionel Landwerlin
On 13/05/2019 10:53, Chunming Zhou wrote: v2: use one transfer ioctl Signed-off-by: Chunming Zhou --- xf86drm.c | 33 + xf86drm.h | 6 ++ 2 files changed, 39 insertions(+) diff --git a/xf86drm.c b/xf86drm.c index 17e3d880..acd16fab 100644 --- a/xf86drm.

RE: [v9 03/13] drm: Parse HDR metadata info from EDID

2019-05-14 Thread Shankar, Uma
>-Original Message- >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] >Sent: Tuesday, May 14, 2019 12:49 AM >To: Shankar, Uma >Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; >dcasta...@chromium.org; jo...@kwiboo.se; emil.l.veli...@gmail.com; >seanp...@chr

Re: [PATCH libdrm 1/7] addr cs chunk for syncobj timeline

2019-05-14 Thread Lionel Landwerlin
With the small nits, patches 2 & 4 are : Reviewed-by: Lionel Landwerlin The other patches are a bit amdgpu specific so maybe you might want someone more familiar with amdgpu to review them. Still I didn't see anything wrong with them so remaining patches are : Acked-by: Lionel Landwerlin I'l

Re: [PATCH libdrm 1/7] addr cs chunk for syncobj timeline

2019-05-14 Thread zhoucm1
Thank you, Lionel. -David On 2019年05月14日 17:49, Lionel Landwerlin wrote: [CAUTION: External Email] With the small nits, patches 2 & 4 are : Reviewed-by: Lionel Landwerlin The other patches are a bit amdgpu specific so maybe you might want someone more familiar with amdgpu to review them. Sti

Re: [linux-sunxi] [PATCH v4 5/8] arm64: dts: allwinner: Add mali GPU supply for Pine H64

2019-05-14 Thread Chen-Yu Tsai
On Mon, May 13, 2019 at 2:28 AM Jagan Teki wrote: > > On Sun, May 12, 2019 at 11:16 PM wrote: > > > > From: Clément Péron > > > > Enable and add supply to the Mali GPU node on the > > Pine H64 board. > > > > Signed-off-by: Clément Péron > > --- > > arch/arm64/boot/dts/allwinner/sun50i-h6-pine-

RE: [v9 06/13] drm/i915: Write HDR infoframe and send to panel

2019-05-14 Thread Shankar, Uma
>-Original Message- >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] >Sent: Tuesday, May 14, 2019 1:06 AM >To: Shankar, Uma >Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; >dcasta...@chromium.org; jo...@kwiboo.se; emil.l.veli...@gmail.com; >seanp...@chro

Re: [PATCH v4 0/8] Allwinner H6 Mali GPU support

2019-05-14 Thread Neil Armstrong
Hi, On 13/05/2019 17:14, Daniel Vetter wrote: > On Sun, May 12, 2019 at 07:46:00PM +0200, peron.c...@gmail.com wrote: >> From: Clément Péron >> >> Hi, >> >> The Allwinner H6 has a Mali-T720 MP2. The drivers are >> out-of-tree so this series only introduce the dt-bindings. > > We do have an in-tr

Re: [RFC][PATCH 4/5 v4] dma-buf: heaps: Add CMA heap to dmabuf heaps

2019-05-14 Thread Xiaqing (A)
On 2019/5/14 2:37, John Stultz wrote: This adds a CMA heap, which allows userspace to allocate a dma-buf of contiguous memory out of a CMA region. This code is an evolution of the Android ION implementation, so thanks to its original author and maintainters: Benjamin Gaignard, Laura Abbott

[RESEND PATCH v2 0/2] drm/panfrost: Expose perf counters to userspace

2019-05-14 Thread Boris Brezillon
Hello, Sorry for the noise, I forgot to Cc dri-devel on my v2 :-/. This is a complete rework of the perf counter stuff I submitted a few weeks back. This version is pretty trivial compared to the first implementation and it's not meant to be the final solution, but rather something that allow mes

[RESEND PATCH v2 1/2] drm/panfrost: Move gpu_{write, read}() macros to panfrost_regs.h

2019-05-14 Thread Boris Brezillon
So they can be used from other files. Signed-off-by: Boris Brezillon --- Changes in v2: - None --- drivers/gpu/drm/panfrost/panfrost_gpu.c | 3 --- drivers/gpu/drm/panfrost/panfrost_regs.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panfrost/panfrost_

[RESEND PATCH v2 2/2] drm/panfrost: Expose perf counters through debugfs

2019-05-14 Thread Boris Brezillon
Add a way to dump perf counters through debugfs. The implementation is kept simple and has a number of limitations: * it's not designed for multi-user usage as the counter values are reset after each dump and there's no per-user context * only accessible to root users * no counters naming/positi

Re: [RESEND PATCH v2 2/2] drm/panfrost: Expose perf counters through debugfs

2019-05-14 Thread Emil Velikov
On Tue, 14 May 2019 at 11:48, Boris Brezillon wrote: > > Add a way to dump perf counters through debugfs. The implementation is > kept simple and has a number of limitations: > > * it's not designed for multi-user usage as the counter values are > reset after each dump and there's no per-user co

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-14 Thread Daniel Vetter
On Tue, May 14, 2019 at 10:18 AM Ser, Simon wrote: > > On Tue, 2019-05-14 at 11:02 +0300, Pekka Paalanen wrote: > > On Mon, 13 May 2019 11:34:58 +0200 > > Daniel Vetter wrote: > > > > > On Mon, May 13, 2019 at 11:02 AM Paul Kocialkowski > > > wrote: > > > > Hi, > > > > > > > > On Fri, 2019-05-10

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-14 Thread Daniel Vetter
On Mon, May 13, 2019 at 11:20 PM Lyude Paul wrote: > > Hi-just wanted to give some general thoughts here. > > First off I'm 100% behind the epoch idea, that was one of the ideas I had been > thinking of proposing here in the first place but probably forgot at some > point down the road. > > A coup

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-14 Thread Daniel Vetter
On Mon, May 13, 2019 at 7:14 PM Paul Kocialkowski wrote: > > Hey, > > Le lundi 13 mai 2019 à 11:34 +0200, Daniel Vetter a écrit : > > On Mon, May 13, 2019 at 11:02 AM Paul Kocialkowski > > wrote: > > > Hi, > > > > > > On Fri, 2019-05-10 at 16:54 +0200, Daniel Vetter wrote: > > > > On Fri, May 10,

Re: [RFC][PATCH 4/5 v4] dma-buf: heaps: Add CMA heap to dmabuf heaps

2019-05-14 Thread Benjamin Gaignard
Le mar. 14 mai 2019 à 12:40, Xiaqing (A) a écrit : > > > > On 2019/5/14 2:37, John Stultz wrote: > > This adds a CMA heap, which allows userspace to allocate > > a dma-buf of contiguous memory out of a CMA region. > > > > This code is an evolution of the Android ION implementation, so > > thanks t

Re: [PATCH v2 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-05-14 Thread Daniel Vetter
On Tue, May 14, 2019 at 8:04 AM Brendan Higgins wrote: > > On Mon, May 13, 2019 at 04:44:51PM +0200, Daniel Vetter wrote: > > On Sat, May 11, 2019 at 01:33:44PM -0400, Theodore Ts'o wrote: > > > On Fri, May 10, 2019 at 02:12:40PM -0700, Frank Rowand wrote: > > > > However, the reply is incorrect.

[PATCH 03/11] drm/ttm: remove the backing store if no placement is given

2019-05-14 Thread Christian König
Pipeline removal of the BOs backing store when no placement is given during validation. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index e634d3a36923

[PATCH 02/11] drm/ttm: fix busy memory to fail other user v8

2019-05-14 Thread Christian König
From: Chunming Zhou heavy gpu job could occupy memory long time, which lead other user fail to get memory. basically pick up Christian idea: 1. Reserve the BO in DC using a ww_mutex ticket (trivial). 2. If we then run into this EBUSY condition in TTM check if the BO we need memory for (or rat

[PATCH 01/11] drm/ttm: Make LRU removal optional.

2019-05-14 Thread Christian König
We are already doing this for DMA-buf imports and also for amdgpu VM BOs for quite a while now. If this doesn't run into any problems we are probably going to stop removing BOs from the LRU altogether. Signed-off-by: Christian König --- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 9 +--

[PATCH 06/11] drm/ttm: cleanup ttm_bo_mem_space

2019-05-14 Thread Christian König
We tried this once before, but that turned out to be more complicated than thought. With all the right prerequisites it looks like we can do this now. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 128 ++- 1 file changed, 67 insertions(+), 61 d

[PATCH 07/11] drm/ttm: immediately move BOs to the new LRU

2019-05-14 Thread Christian König
Move BOs which are currently in the system domain to the new LRU before allocating backing space. This makes sure that we always have enough entries on the LRU to allow for other processes to wait for an operation to complete. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 45

[PATCH 08/11] drm/ttm: put new BOs immediately on the LRU

2019-05-14 Thread Christian König
This way they are available for eviction immediately. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index 233bfb86068b..a301c876ae31 100

[PATCH 09/11] drm/ttm: convert EDEADLK into EAGAIN

2019-05-14 Thread Christian König
Let userspace try again if we really run into a deadlock during eviction. This has a low chance of live locking, but with guaranteed forward process. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/ttm/ttm_bo.

[PATCH 10/11] drm/amd/display: use ttm_eu_reserve_buffers instead of amdgpu_bo_reserve v2

2019-05-14 Thread Christian König
From: Chunming Zhou add ticket for display bo, so that it can preempt busy bo. v2: fix stupid rebase error Change-Id: I9f031cdcc8267de00e819ae303baa0a52df8ebb9 Signed-off-by: Chunming Zhou Reviewed-by: Christian König --- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 21 ++-

[PATCH 11/11] drm/amdgpu: stop removing BOs from the LRU during CS

2019-05-14 Thread Christian König
This avoids OOM situations when we have lots of threads submitting at the same time. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/

[PATCH 05/11] drm/ttm: remove manual placement preference

2019-05-14 Thread Christian König
If drivers don't prefer a system memory placement they should not but it into the placement list first. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gp

[PATCH 04/11] drm/ttm: return immediately in case of a signal

2019-05-14 Thread Christian König
When a signal arrives we should return immediately for handling it and not try other placements first. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm

Re: [v9 04/13] drm: Enable HDR infoframe support

2019-05-14 Thread Kazlauskas, Nicholas
On 5/8/19 2:38 PM, Uma Shankar wrote: > [CAUTION: External Email] > > Enable Dynamic Range and Mastering Infoframe for HDR > content, which is defined in CEA 861.3 spec. > > The metadata will be computed based on blending > policy in userspace compositors and passed as a connector > property blob

RE: [v9 04/13] drm: Enable HDR infoframe support

2019-05-14 Thread Shankar, Uma
>-Original Message- >From: Kazlauskas, Nicholas [mailto:nicholas.kazlaus...@amd.com] >Sent: Tuesday, May 14, 2019 6:06 PM >To: Shankar, Uma ; intel-...@lists.freedesktop.org; dri- >de...@lists.freedesktop.org >Cc: dcasta...@chromium.org; jo...@kwiboo.se; emil.l.veli...@gmail.com; >seanp..

Re: [v9 03/13] drm: Parse HDR metadata info from EDID

2019-05-14 Thread Ville Syrjälä
On Tue, May 14, 2019 at 09:49:03AM +, Shankar, Uma wrote: > > > >-Original Message- > >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] > >Sent: Tuesday, May 14, 2019 12:49 AM > >To: Shankar, Uma > >Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; > >dc

Re: [v9 04/13] drm: Enable HDR infoframe support

2019-05-14 Thread Ville Syrjälä
On Tue, May 14, 2019 at 12:36:25PM +, Kazlauskas, Nicholas wrote: > On 5/8/19 2:38 PM, Uma Shankar wrote: > > [CAUTION: External Email] > > > > Enable Dynamic Range and Mastering Infoframe for HDR > > content, which is defined in CEA 861.3 spec. > > > > The metadata will be computed based on

Re:[PATCH 11/11] drm/amdgpu: stop removing BOs from the LRU during CS

2019-05-14 Thread Zhou, David(ChunMing)
my only concern is how to fresh LRU when bo is from bo list. -David Original Message Subject: [PATCH 11/11] drm/amdgpu: stop removing BOs from the LRU during CS From: Christian König To: "Olsak, Marek" ,"Zhou, David(ChunMing)" ,"Liang, Prike" ,dri-devel@lists.freedesktop.org,am

[Bug 110605] "*ERROR* Waiting for fences timed out." happens every time when I select "Story" in the main game menu RE2.

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110605 Prinkal Middha changed: What|Removed |Added URL||https://theshopolics.com/ -- You are

RE: [v9 03/13] drm: Parse HDR metadata info from EDID

2019-05-14 Thread Shankar, Uma
>> >> >-Original Message- >> >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] >> >Sent: Tuesday, May 14, 2019 12:49 AM >> >To: Shankar, Uma >> >Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; >> >dcasta...@chromium.org; jo...@kwiboo.se; emil.l.veli...@gma

Re: [RESEND PATCH v2 2/2] drm/panfrost: Expose perf counters through debugfs

2019-05-14 Thread Rob Herring
On Tue, May 14, 2019 at 5:48 AM Boris Brezillon wrote: > > Add a way to dump perf counters through debugfs. The implementation is > kept simple and has a number of limitations: > > * it's not designed for multi-user usage as the counter values are > reset after each dump and there's no per-user

Re: [PATCH v3 15/18] Documentation: kunit: add documentation for KUnit

2019-05-14 Thread Jonathan Corbet
On Mon, 13 May 2019 22:42:49 -0700 Brendan Higgins wrote: > Add documentation for KUnit, the Linux kernel unit testing framework. > - Add intro and usage guide for KUnit > - Add API reference > > Signed-off-by: Felix Guo > Signed-off-by: Brendan Higgins > Reviewed-by: Greg Kroah-Hartman > Rev

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-14 Thread Pekka Paalanen
On Tue, 14 May 2019 13:02:09 +0200 Daniel Vetter wrote: > On Tue, May 14, 2019 at 10:18 AM Ser, Simon wrote: > > > > On Tue, 2019-05-14 at 11:02 +0300, Pekka Paalanen wrote: > > > On Mon, 13 May 2019 11:34:58 +0200 > > > Daniel Vetter wrote: > > > > > > > On Mon, May 13, 2019 at 11:02 AM Pa

Re: [PATCH] drm/panfrost: Make devfreq truly optional

2019-05-14 Thread Rob Herring
On Mon, May 13, 2019 at 12:56 PM Ezequiel Garcia wrote: > > Currently, there is some logic to make devfreq optional, > but it fails to cover some cases such as !CONFIG_PM_DEVFREQ. Fails how? compiling? runtime? Or just builds extra code? > Moreover, depending on return codes is not resilient to

Re: [PATCH 11/11] drm/amdgpu: stop removing BOs from the LRU during CS

2019-05-14 Thread Christian König
Hui? What do you mean with that? Christian. Am 14.05.19 um 15:12 schrieb Zhou, David(ChunMing): my only concern is how to fresh LRU when bo is from bo list. -David Original Message Subject: [PATCH 11/11] drm/amdgpu: stop removing BOs from the LRU during CS From: Christian

Re: [RESEND PATCH v2 2/2] drm/panfrost: Expose perf counters through debugfs

2019-05-14 Thread Boris Brezillon
Hi Rob, On Tue, 14 May 2019 08:31:29 -0500 Rob Herring wrote: > > + > > +static void panfrost_perfcnt_setup(struct panfrost_device *pfdev) > > +{ > > + u32 cfg; > > + > > + /* > > +* Always use address space 0 for now. > > +* FIXME: this needs to be updated when we s

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-14 Thread Paul Kocialkowski
Hi, On Tue, 2019-05-14 at 16:36 +0300, Pekka Paalanen wrote: > On Tue, 14 May 2019 13:02:09 +0200 > Daniel Vetter wrote: > > > On Tue, May 14, 2019 at 10:18 AM Ser, Simon wrote: > > > On Tue, 2019-05-14 at 11:02 +0300, Pekka Paalanen wrote: > > > > On Mon, 13 May 2019 11:34:58 +0200 > > > > D

Preparation for unpinned DMA-buf handling

2019-05-14 Thread Christian König
Hi Daniel, since we are not moving forward with this I've separated the change out of the larger patchset. Any objections to this now? It's basically a 1:1 move of the functionality from DRM to DMA-buf. Thanks, Christian. ___ dri-devel mailing list

[PATCH 2/2] drm: remove prime sg_table caching

2019-05-14 Thread Christian König
That is now done by the DMA-buf helpers instead. Signed-off-by: Christian König --- drivers/gpu/drm/drm_prime.c | 77 - 1 file changed, 17 insertions(+), 60 deletions(-) diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c index 231e3f6d5f41

[PATCH 1/2] dma-buf: start caching of sg_table objects v2

2019-05-14 Thread Christian König
To allow a smooth transition from pinning buffer objects to dynamic invalidation we first start to cache the sg_table for an attachment. v2: keep closer to the DRM implementation Signed-off-by: Christian König --- drivers/dma-buf/dma-buf.c | 27 +-- include/linux/dma-buf

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-14 Thread Paul Kocialkowski
Hi, On Tue, 2019-05-14 at 13:09 +0200, Daniel Vetter wrote: > On Mon, May 13, 2019 at 7:14 PM Paul Kocialkowski > wrote: > > Hey, > > > > Le lundi 13 mai 2019 à 11:34 +0200, Daniel Vetter a écrit : > > > On Mon, May 13, 2019 at 11:02 AM Paul Kocialkowski > > > wrote: > > > > Hi, > > > > > > >

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-14 Thread Daniel Vetter
On Tue, May 14, 2019 at 4:13 PM Paul Kocialkowski wrote: > > Hi, > > On Tue, 2019-05-14 at 13:09 +0200, Daniel Vetter wrote: > > On Mon, May 13, 2019 at 7:14 PM Paul Kocialkowski > > wrote: > > > Hey, > > > > > > Le lundi 13 mai 2019 à 11:34 +0200, Daniel Vetter a écrit : > > > > On Mon, May 13,

Re: [PATCH v5 00/11] drm/fb-helper: Move modesetting code to drm_client

2019-05-14 Thread Noralf Trønnes
Den 06.05.2019 20.01, skrev Noralf Trønnes: > This moves the modesetting code from drm_fb_helper to drm_client so it > can be shared by all internal clients. > > Changes this time: > - Use restore_fbdev_mode_force() in > drm_fb_helper_restore_fbdev_mode_unlocked() to please igt tests. I'm not

Re:[PATCH 11/11] drm/amdgpu: stop removing BOs from the LRU during CS

2019-05-14 Thread Zhou, David(ChunMing)
how to refresh LRU to keep the order align with bo list passed from user space? you can verify it by some games, performance could be different much between multiple runnings. -David Original Message Subject: Re: [PATCH 11/11] drm/amdgpu: stop removing BOs from the LRU during

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-14 Thread Daniel Vetter
On Tue, May 14, 2019 at 3:36 PM Pekka Paalanen wrote: > > On Tue, 14 May 2019 13:02:09 +0200 > Daniel Vetter wrote: > > > On Tue, May 14, 2019 at 10:18 AM Ser, Simon wrote: > > > > > > On Tue, 2019-05-14 at 11:02 +0300, Pekka Paalanen wrote: > > > > On Mon, 13 May 2019 11:34:58 +0200 > > > > Dan

Re: [linux-sunxi] [PATCH v4 5/8] arm64: dts: allwinner: Add mali GPU supply for Pine H64

2019-05-14 Thread Clément Péron
Hi Jagan, Chen-Yu, On Tue, 14 May 2019 at 12:18, Chen-Yu Tsai wrote: > > On Mon, May 13, 2019 at 2:28 AM Jagan Teki wrote: > > > > On Sun, May 12, 2019 at 11:16 PM wrote: > > > > > > From: Clément Péron > > > > > > Enable and add supply to the Mali GPU node on the > > > Pine H64 board. > > > >

[Bug 110674] Crashes / Resets From AMDGPU / Radeon VII

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #5 from Alex Deucher --- Does appending idle=nomwait on the kernel command line in grub help? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailin

Re: [PATCH] drm/panfrost: Make devfreq truly optional

2019-05-14 Thread Ezequiel Garcia
On Tue, 2019-05-14 at 08:38 -0500, Rob Herring wrote: > On Mon, May 13, 2019 at 12:56 PM Ezequiel Garcia > wrote: > > Currently, there is some logic to make devfreq optional, > > but it fails to cover some cases such as !CONFIG_PM_DEVFREQ. > > Fails how? compiling? runtime? Or just builds extra

[PATCH 1/4] arm64: DTS: allwinner: a64: Add pinmux for RGB666 LCD

2019-05-14 Thread Torsten Duwe
From: Icenowy Zheng Allwinner A64's TCON0 can output RGB666 LCD signal. Add its pinmux. Signed-off-by: Icenowy Zheng Signed-off-by: Vasily Khoruzhick Signed-off-by: Torsten Duwe --- originally: patchwork.kernel.org/patch/10814179 Almost trivial, and obviously correct. I added the /omit-if-

[PATCH 2/4] dt-bindings: Add ANX6345 DP/eDP transmitter binding

2019-05-14 Thread Torsten Duwe
From: Icenowy Zheng The ANX6345 is an ultra-low power DisplayPort/eDP transmitter designed for portable devices. Add a binding document for it. Signed-off-by: Icenowy Zheng Signed-off-by: Vasily Khoruzhick Reviewed-by: Rob Herring Signed-off-by: Torsten Duwe --- originally: patchwork.kerne

[PATCH 3/4] arm64: DTS: allwinner: a64: Enable audio on Teres-I

2019-05-14 Thread Torsten Duwe
From: Harald Geyer The TERES-I has internal speakers (left, right), internal microphone and a headset combo jack (headphones + mic). The headphone lines are multiplexed with the debug console. The headphone and mic detect lines of the A64 are connected properly, but AFAIK currently unsupported b

[PATCH 4/4] arm64: DTS: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-05-14 Thread Torsten Duwe
From: Icenowy Zheng TERES-I has an ANX6345 bridge connected to the RGB666 LCD output, and the I2C controlling signals are connected to I2C0 bus. Enable it in the device tree. Signed-off-by: Icenowy Zheng Signed-off-by: Torsten Duwe --- originally: patchwork.kernel.org/patch/10646867 Changed

RE: [v9 12/13] video/hdmi: Add Unpack function for DRM infoframe

2019-05-14 Thread Shankar, Uma
>-Original Message- >From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of >Ville >Syrjälä >Sent: Tuesday, May 14, 2019 1:20 AM >To: Shankar, Uma >Cc: dcasta...@chromium.org; jo...@kwiboo.se; intel-...@lists.freedesktop.org; >emil.l.veli...@gmail.com; dri-devel@l

RE: [v9 10/13] drm/i915: Set Infoframe for non modeset case for HDR

2019-05-14 Thread Shankar, Uma
>-Original Message- >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] >Sent: Tuesday, May 14, 2019 1:10 AM >To: Shankar, Uma >Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; >dcasta...@chromium.org; jo...@kwiboo.se; emil.l.veli...@gmail.com; >seanp...@chro

[Bug 110677] Can't invert screen colors by adjusting the gamma ramp

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110677 Bug ID: 110677 Summary: Can't invert screen colors by adjusting the gamma ramp Product: DRI Version: XOrg git Hardware: Other OS: All Status: NEW Severit

[Bug 110677] Can't invert screen colors by adjusting the gamma ramp

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110677 --- Comment #1 from Vlad Zagorodniy --- Created attachment 144265 --> https://bugs.freedesktop.org/attachment.cgi?id=144265&action=edit observed -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 110677] Can't invert screen colors by adjusting the gamma ramp

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110677 --- Comment #2 from Vlad Zagorodniy --- Created attachment 144266 --> https://bugs.freedesktop.org/attachment.cgi?id=144266&action=edit expected -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 110677] Can't invert screen colors by adjusting the gamma ramp

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110677 --- Comment #3 from Vlad Zagorodniy --- Created attachment 144267 --> https://bugs.freedesktop.org/attachment.cgi?id=144267&action=edit Screen without inverted colors -- You are receiving this mail because: You are the assignee for the bug._

[Bug 110677] Can't invert screen colors by adjusting the gamma ramp

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110677 Vlad Zagorodniy changed: What|Removed |Added OS|All |Linux (All) Hardware|Other

[Bug 110677] Can't invert screen colors by adjusting the gamma ramp

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110677 Michel Dänzer changed: What|Removed |Added CC||nicholas.kazlaus...@amd.com --- Comment

[v10 02/12] drm: Add reference counting on HDR metadata blob

2019-05-14 Thread Uma Shankar
From: Jonas Karlman This adds reference count for HDR metadata blob, handled as part of duplicate and destroy connector state functions. Signed-off-by: Jonas Karlman Signed-off-by: Uma Shankar --- drivers/gpu/drm/drm_atomic_state_helper.c | 6 ++ 1 file changed, 6 insertions(+) diff --gi

[v10 05/12] drm/i915: Attach HDR metadata property to connector

2019-05-14 Thread Uma Shankar
Attach HDR metadata property to connector object. v2: Rebase v3: Updated the property name as per updated name while creating hdr metadata property Signed-off-by: Uma Shankar Reviewed-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_hdmi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[v10 08/12] drm/i915: Enable infoframes on GLK+ for HDR

2019-05-14 Thread Uma Shankar
From: Ville Syrjälä This patch enables infoframes on GLK+ to be used to send HDR metadata to HDMI sink. v2: Addressed Shashank's review comment. v3: Addressed Shashank's review comment. v4: Added Shashank's RB. v5: Dropped hdr_metadata_change check while modeset, as per Ville's suggestion. S

[v10 04/12] drm: Enable HDR infoframe support

2019-05-14 Thread Uma Shankar
Enable Dynamic Range and Mastering Infoframe for HDR content, which is defined in CEA 861.3 spec. The metadata will be computed based on blending policy in userspace compositors and passed as a connector property blob to driver. The same will be sent as infoframe to panel which support HDR. Added

[v10 03/12] drm: Parse HDR metadata info from EDID

2019-05-14 Thread Uma Shankar
HDR metadata block is introduced in CEA-861.3 spec. Parsing the same to get the panel's HDR metadata. v2: Rebase and added Ville's POC changes to the patch. v3: No Change v4: Addressed Shashank's review comments v5: Addressed Shashank's comment and added his RB. v6: Addressed Jonas Karlman rev

[v10 06/12] drm/i915: Write HDR infoframe and send to panel

2019-05-14 Thread Uma Shankar
Enable writing of HDR metadata infoframe to panel. The data will be provid by usersapace compositors, based on blending policies and passsed to driver through a blob property. v2: Rebase v3: Fixed a warning message v4: Addressed Shashank's review comments v5: Rebase. Added infoframe calculation

[v10 00/12] Add HDR Metadata Parsing and handling in DRM layer

2019-05-14 Thread Uma Shankar
This patch series enables HDR support in drm. It basically defines HDR metadata structures, property to pass content (after blending) metadata from user space compositors to driver. Dynamic Range and Mastering infoframe creation and sending. ToDo: 1. We need to get the color framework in place fo

  1   2   >