Re: [RFC PATCHv2 8/9] ARM: dts: keystone-k2g: add DSS node

2018-06-19 Thread Tomi Valkeinen
On 19/06/18 09:19, Tony Lindgren wrote: > * Tomi Valkeinen [180618 13:26]: >> Add DSS node to k2g.dtsi. >> >> Signed-off-by: Tomi Valkeinen >> Cc: devicet...@vger.kernel.org >> --- >> arch/arm/boot/dts/keystone-k2g.dtsi | 21 + >> 1 file changed, 21 insertions(+) >> >> diff -

Re: [RFC PATCHv2 8/9] ARM: dts: keystone-k2g: add DSS node

2018-06-19 Thread Tony Lindgren
* Tomi Valkeinen [180618 13:26]: > Add DSS node to k2g.dtsi. > > Signed-off-by: Tomi Valkeinen > Cc: devicet...@vger.kernel.org > --- > arch/arm/boot/dts/keystone-k2g.dtsi | 21 + > 1 file changed, 21 insertions(+) > > diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi > b/a

Re: [linux-sunxi] [PATCH v2 00/27] Add support for R40 HDMI pipeline

2018-06-19 Thread Icenowy Zheng
在 2018-06-18一的 16:43 +0200,Jernej Škrabec写道: > Dne ponedeljek, 18. junij 2018 ob 14:58:02 CEST je Jagan Teki > napisal(a): > > On Thu, Jun 14, 2018 at 10:59 PM, Jernej Škrabec > > > > wrote: > > > Dne četrtek, 14. junij 2018 ob 19:16:46 CEST je Jagan Teki > > > napisal(a): > > > > On Thu, Jun 14,

Re: [PATCH v2] gpu: drm: armada: Adding new typedef vm_fault_t

2018-06-19 Thread Souptick Joarder
On Mon, Jun 4, 2018 at 10:46 AM, Souptick Joarder wrote: > On Wed, May 23, 2018 at 3:09 PM, Souptick Joarder > wrote: >> On Wed, May 16, 2018 at 10:05 AM, Souptick Joarder >> wrote: >>> On Fri, May 11, 2018 at 2:52 PM, Russell King - ARM Linux >>> wrote: On Thu, May 10, 2018 at 08:34:48P

Re: [RFC PATCHv2 8/9] ARM: dts: keystone-k2g: add DSS node

2018-06-19 Thread Tony Lindgren
* Tomi Valkeinen [180619 07:12]: > On 19/06/18 09:19, Tony Lindgren wrote: > > * Tomi Valkeinen [180618 13:26]: > >> Add DSS node to k2g.dtsi. > >> > >> Signed-off-by: Tomi Valkeinen > >> Cc: devicet...@vger.kernel.org > >> --- > >> arch/arm/boot/dts/keystone-k2g.dtsi | 21 +

[PATCH v6 07/29] drm/mediatek: add component DPI1

2018-06-19 Thread Stu Hsieh
This patch add the component DPI1 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 2 ++ drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp

[PATCH v6 02/29] drm/mediatek: support maximum 64 mutex mod

2018-06-19 Thread Stu Hsieh
This patch support that if modules more than 32, add index more than 31 when using DISP_REG_MUTEX_MOD2 bit Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 75 +- 1 file changed, 47 insertions(+), 28 deletions(-) diff --gi

Re: [RFC PATCHv2 0/9] drm/tidss: new display driver for TI's DSS6 & DSS7

2018-06-19 Thread Tony Lindgren
* Tomi Valkeinen [180618 13:25]: > Hi, > > > This is a new DRM driver for Texas Instruments' Keystone K2G and AM6 > SoCs. > > K2G has DSS6 IP, which is related to the OMAP DSS IPs handled by the > o

[PATCH v6 01/29] drm/mediatek: update dt-bindings for mt2712

2018-06-19 Thread Stu Hsieh
Update device tree binding documentation for the display subsystem for Mediatek MT2712 SoCs. Signed-off-by: Stu Hsieh Acked-by: CK Hu Acked-by: Rob Herring --- Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v6 00/29] Add support for mediatek SOC MT2712

2018-06-19 Thread Stu Hsieh
This patch add support for the Mediatek MT2712 DISP subsystem. MT2712 is base on MT8173, there are some difference as following: MT2712 support three disp output(two ovl and one rdma) Change in v6: - Update DDP_COMPONENT_DSI2 to DDP_COMPONENT_DSI3 in the patch "drm/mediatek: add component DSI3"

[PATCH v6 05/29] drm/mediatek: add ddp component PWM1

2018-06-19 Thread Stu Hsieh
This patch add component PWM1 in mtk_ddp_matches Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c index 87acf

Re: no mouse cursor on nv50

2018-06-19 Thread Adam Borowski
On Mon, Jun 18, 2018 at 06:18:34PM +1000, Ben Skeggs wrote: > On Mon, Jun 18, 2018 at 7:46 AM, Adam Borowski wrote: > > On v4.18-rc1, the mouse cursor is missing on my right monitor. > > Card is G98 [GeForce 8400 GS Rev. 2]. > > > > I have two monitors: one small landscape 1280x1024 on DVI-I-1 lef

[PATCH v6 04/29] drm/mediatek: add ddp component OD1

2018-06-19 Thread Stu Hsieh
This patch add the component OD1 and rename the OD to OD0 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 4 ++-- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 3 ++- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 3 ++- drivers/gpu/drm/mediatek/mtk_

[PATCH v6 22/29] drm/mediatek: add connection from RDMA2 to DSI1

2018-06-19 Thread Stu Hsieh
This patch add the connection from RDMA2 to DSI1 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index a4b418302f32..db78fad785e3 10064

[PATCH v6 10/29] drm/mediatek: add the DSI1 for component init condition

2018-06-19 Thread Stu Hsieh
This patch add the DSI1 for component init condition Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c index 17b681686471..ff974d8

[PATCH v6 13/29] drm/mediatek: add connection from RDMA0 to DPI0

2018-06-19 Thread Stu Hsieh
This patch add the connection from RDMA0 to DPI0 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 977df8facb79..3a3f37f523f2 100644 -

[PATCH v6 21/29] drm/mediatek: add connection from RDMA2 to DPI1

2018-06-19 Thread Stu Hsieh
This patch add the connection from RDMA2 to DPI1 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index c88742a6c2b9..a4b418302f32 10064

[PATCH v6 16/29] drm/mediatek: add connection from RDMA1 to DPI1

2018-06-19 Thread Stu Hsieh
This patch add the connection from RDMA1 to DPI1 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 463ed7830d17..13e91903f493 10064

[PATCH v6 24/29] drm/mediatek: add connection from RDMA2 to DSI3

2018-06-19 Thread Stu Hsieh
This patch add the connection from RDMA2 to DSI3 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index e5db1ab51c9b..0a1b967cab1b 10064

[PATCH v6 06/29] drm/mediatek: add ddp component PWM2

2018-06-19 Thread Stu Hsieh
This patch add component PWM2 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/media

[PATCH v6 19/29] drm/mediatek: add connection from RDMA1 to DSI3

2018-06-19 Thread Stu Hsieh
This patch add the connection from RDMA1 to DSI3 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 9cf2fcb4932a..d0d5f337ce14 10064

[PATCH v6 11/29] drm/mediatek: add connection from OD1 to RDMA1

2018-06-19 Thread Stu Hsieh
This patch add the connection from OD1 to RDMA1 for ext path. Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 58e

[PATCH v6 09/29] drm/mediatek: add component DSI3

2018-06-19 Thread Stu Hsieh
This patch add the component DSI3 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 2 ++ drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp

[PATCH v6 20/29] drm/mediatek: add connection from RDMA2 to DPI0

2018-06-19 Thread Stu Hsieh
This patch add the connection from RDMA2 to DPI0 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index d0d5f337ce14..c88742a6c2b9 1006

[PATCH v6 03/29] drm/mediatek: add ddp component AAL1

2018-06-19 Thread Stu Hsieh
This patch add component AAL1 and rename AAL to AAL0 Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 2 +- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 3 ++- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 3 ++- drivers/gpu/drm/mediatek/mtk_drm_drv

[PATCH v6 17/29] drm/mediatek: add connection from RDMA1 to DSI1

2018-06-19 Thread Stu Hsieh
This patch add the connection from RDMA1 to DSI1 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 13e91903f493..90228cad051a 1006

[PATCH v6 23/29] drm/mediatek: add connection from RDMA2 to DSI2

2018-06-19 Thread Stu Hsieh
This patch add the connection from RDMA2 to DSI2 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index db78fad785e3..e5db1ab51c9b 10064

[PATCH v6 25/29] drm/mediatek: add DPI1 support for mutex

2018-06-19 Thread Stu Hsieh
This patch add the DPI1 support for mutex Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 0a1b967cab1b..4c203d01

[PATCH v6 14/29] drm/mediatek: add connection from RDMA0 to DSI2

2018-06-19 Thread Stu Hsieh
This patch add the connection from RDMA0 to DSI2 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 3a3f37f523f2..f985bad61d83 100644 --

[PATCH v6 28/29] drm/mediatek: add third ddp path

2018-06-19 Thread Stu Hsieh
This patch create third crtc by third ddp path Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 3 +++ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 5 + drivers/gpu/drm/mediatek/mtk_drm_drv.h | 5 - 3 files changed, 12 insertions(+), 1 deletion(-)

[PATCH v6 15/29] drm/mediatek: add connection from RDMA0 to DSI3

2018-06-19 Thread Stu Hsieh
This patch add the connection from RDMA0 to DSI3 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index f985bad61d83..463ed7830d17 100644 --

[PATCH v6 26/29] drm/mediatek: add DSI2 support for mutex

2018-06-19 Thread Stu Hsieh
This patch add the DSI2 support for mutex Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 4c203d013d7c..a0b526b1

[PATCH v6 29/29] drm/mediatek: Add support for mediatek SOC MT2712

2018-06-19 Thread Stu Hsieh
This patch add support for the Mediatek MT2712 DISP subsystem. There are two OVL engine and three disp output in MT2712. Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 39 ++ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 38 ++

[PATCH v6 18/29] drm/mediatek: add connection from RDMA1 to DSI2

2018-06-19 Thread Stu Hsieh
This patch add the connection from RDMA1 to DSI2 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 90228cad051a..9cf2fcb4932a 1006

[PATCH v6 12/29] drm/mediatek: Update the definition of connection from RDMA1 to DPI0

2018-06-19 Thread Stu Hsieh
This patch update the definition of connection from RDMA1 to DPI0. Change the term MOUT to SOUT. Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/d

[PATCH v6 27/29] drm/mediatek: add DSI3 support for mutex

2018-06-19 Thread Stu Hsieh
This patch add the DSI3 support for mutex Signed-off-by: Stu Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index a0b526b16da1..15e436d4

[PATCH v6 08/29] drm/mediatek: add component DSI2

2018-06-19 Thread Stu Hsieh
This patch add the component DSI2 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 2 ++ drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp

Re: [PATCH v6 08/29] drm/mediatek: add component DSI2

2018-06-19 Thread CK Hu
On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch add the component DSI2 > Reviewed-by: CK Hu > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 2 ++ > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + > 2 files changed, 3 insertions(+) > > diff

Re: [PATCH v6 07/29] drm/mediatek: add component DPI1

2018-06-19 Thread CK Hu
On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch add the component DPI1 > Reviewed-by: CK Hu > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 2 ++ > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + > 2 files changed, 3 insertions(+) > > diff

Re: [PATCH v6 09/29] drm/mediatek: add component DSI3

2018-06-19 Thread CK Hu
On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch add the component DSI3 > Reviewed-by: CK Hu > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 2 ++ > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + > 2 files changed, 3 insertions(+) > > diff

Re: [PATCH v6 10/29] drm/mediatek: add the DSI1 for component init condition

2018-06-19 Thread CK Hu
On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch add the DSI1 for component init condition > Reviewed-by: CK Hu > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk

Re: [PATCH v6 12/29] drm/mediatek: Update the definition of connection from RDMA1 to DPI0

2018-06-19 Thread CK Hu
Hi, Stu: On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch update the definition of connection from RDMA1 to DPI0. > Change the term MOUT to SOUT. > I would like commit message describe 'why' of this patch. Both you and me know 'why' of this patch because we have discuss previousl

Re: [PATCH v6 13/29] drm/mediatek: add connection from RDMA0 to DPI0

2018-06-19 Thread CK Hu
On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch add the connection from RDMA0 to DPI0 > Reviewed-by: CK Hu > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_drm

Re: [PATCH v6 14/29] drm/mediatek: add connection from RDMA0 to DSI2

2018-06-19 Thread CK Hu
On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch add the connection from RDMA0 to DSI2 > Reviewed-by: CK Hu > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_

[PATCH v4 3/3] drm: Change deadlock-avoidance algorithm for the modeset locks.

2018-06-19 Thread Thomas Hellstrom
For modeset locks we don't expect a high number of contending transactions so change algorithm from Wait-Die to Wound-Wait. Cc: dri-devel@lists.freedesktop.org Signed-off-by: Thomas Hellstrom --- v2, v3, v4: Adjusted to API changes. --- drivers/gpu/drm/drm_modeset_lock.c | 2 +- 1 file changed,

[PATCH v4 0/4] locking, drm: Fix ww mutex naming / algorithm inconsistency

2018-06-19 Thread Thomas Hellstrom
This is a small fallout from a work to allow batching WW mutex locks and unlocks. Our Wound-Wait mutexes actually don't use the Wound-Wait algorithm but the Wait-Die algorithm. One could perhaps rename those mutexes tree-wide to "Wait-Die mutexes" or "Deadlock Avoidance mutexes". Another approach

[PATCH 1/3] locking: WW mutex cleanup

2018-06-19 Thread Thomas Hellstrom
From: Peter Ziljstra Make the WW mutex code more readable by adding comments, splitting up functions and pointing out that we're actually using the Wait-Die algorithm. Cc: Ingo Molnar Cc: Jonathan Corbet Cc: Gustavo Padovan Cc: Maarten Lankhorst Cc: Sean Paul Cc: David Airlie Cc: Davidlohr

[PATCH v4 2/3] locking: Implement an algorithm choice for Wound-Wait mutexes

2018-06-19 Thread Thomas Hellstrom
The current Wound-Wait mutex algorithm is actually not Wound-Wait but Wait-Die. Implement also Wound-Wait as a per-ww-class choice. Wound-Wait is, contrary to Wait-Die a preemptive algorithm and is known to generate fewer backoffs. Testing reveals that this is true if the number of simultaneous con

Re: [RFC PATCHv2 0/9] drm/tidss: new display driver for TI's DSS6 & DSS7

2018-06-19 Thread Tomi Valkeinen
On 19/06/18 09:24, Tony Lindgren wrote: > * Tomi Valkeinen [180618 13:25]: >> Hi, >> >> >> This is a new DRM driver for Texas Instruments' Keystone K2G and AM6 >> SoCs. >> >> K2G has DSS6 IP, which is

Re: [PATCH v6 15/29] drm/mediatek: add connection from RDMA0 to DSI3

2018-06-19 Thread CK Hu
On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch add the connection from RDMA0 to DSI3 > Reviewed-by: CK Hu > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_

Re: [PATCH v6 16/29] drm/mediatek: add connection from RDMA1 to DPI1

2018-06-19 Thread CK Hu
On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch add the connection from RDMA1 to DPI1 > Reviewed-by: CK Hu > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_

Re: [PATCH v6 17/29] drm/mediatek: add connection from RDMA1 to DSI1

2018-06-19 Thread CK Hu
On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch add the connection from RDMA1 to DSI1 > Reviewed-by: CK Hu > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk

Re: [PATCH v6 18/29] drm/mediatek: add connection from RDMA1 to DSI2

2018-06-19 Thread CK Hu
On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch add the connection from RDMA1 to DSI2 > Reviewed-by: CK Hu > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk

Re: [PATCH v6 19/29] drm/mediatek: add connection from RDMA1 to DSI3

2018-06-19 Thread CK Hu
On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch add the connection from RDMA1 to DSI3 > Reviewed-by: CK Hu > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_

Re: [PATCH v6 20/29] drm/mediatek: add connection from RDMA2 to DPI0

2018-06-19 Thread CK Hu
On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch add the connection from RDMA2 to DPI0 > Reviewed-by: CK Hu > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk

Re: [PATCH v6 21/29] drm/mediatek: add connection from RDMA2 to DPI1

2018-06-19 Thread CK Hu
On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch add the connection from RDMA2 to DPI1 > Reviewed-by: CK Hu > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_

Re: [PATCH v6 22/29] drm/mediatek: add connection from RDMA2 to DSI1

2018-06-19 Thread CK Hu
On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch add the connection from RDMA2 to DSI1 > Reviewed-by: CK Hu > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_

Re: [PATCH v6 23/29] drm/mediatek: add connection from RDMA2 to DSI2

2018-06-19 Thread CK Hu
On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch add the connection from RDMA2 to DSI2 > Reviewed-by: CK Hu > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_

Re: [PATCH v6 24/29] drm/mediatek: add connection from RDMA2 to DSI3

2018-06-19 Thread CK Hu
On Tue, 2018-06-19 at 15:34 +0800, Stu Hsieh wrote: > This patch add the connection from RDMA2 to DSI3 > Reviewed-by: CK Hu > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_

Re: [DPU PATCH v3 05/12] drm/msm/dpu: update dpu sub-block offsets wrt dpu base address

2018-06-19 Thread ryadav
Hi Sean, Looks like this patch is missing on for-next branch. Can you please help pull it in? Thanks, Rajesh On 2018-05-14 20:56, Rajesh Yadav wrote: The dpu sub-block offsets were defined wrt mdss base address instead of dpu base address. Since, dpu is now defined as a separate device, update

[Bug 104854] smu7_populate_single_firmware_entry fails to load powerplay firmware.

2018-06-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104854 --- Comment #8 from José Pekkarinen --- I'm afraid I reproduced this again using the kernel 4.17.2 where I see the following commit: commit 9ca5a2ae4259e7aec8efb0db0f6ec721a6854c54 Merge: bee797529d7c c62ec4610c40 Author: Linus Torvalds Date:

[Bug 106258] AMD Xorg start failes with non-4K page sizes

2018-06-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106258 --- Comment #30 from Michel Dänzer --- I suspect there's an issue in amdgpu_vm_bo_split_mapping, e.g. this code looks suspicious: if (pages_addr) { uint64_t count; max_entries = m

[Bug 104854] smu7_populate_single_firmware_entry fails to load powerplay firmware.

2018-06-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104854 --- Comment #9 from José Pekkarinen --- Created attachment 140225 --> https://bugs.freedesktop.org/attachment.cgi?id=140225&action=edit boot process on 4.17.2. -- You are receiving this mail because: You are the assignee for the bug.

Re: [PATCH 1/3] locking: WW mutex cleanup

2018-06-19 Thread Peter Zijlstra
On Tue, Jun 19, 2018 at 10:24:43AM +0200, Thomas Hellstrom wrote: > From: Peter Ziljstra > > Make the WW mutex code more readable by adding comments, splitting up > functions and pointing out that we're actually using the Wait-Die > algorithm. > > Cc: Ingo Molnar > Cc: Jonathan Corbet > Cc: Gu

Re: [PATCH v4 2/3] locking: Implement an algorithm choice for Wound-Wait mutexes

2018-06-19 Thread Peter Zijlstra
On Tue, Jun 19, 2018 at 10:24:44AM +0200, Thomas Hellstrom wrote: > The current Wound-Wait mutex algorithm is actually not Wound-Wait but > Wait-Die. Implement also Wound-Wait as a per-ww-class choice. Wound-Wait > is, contrary to Wait-Die a preemptive algorithm and is known to generate > fewer bac

Re: [PATCH v4 0/4] locking,drm: Fix ww mutex naming / algorithm inconsistency

2018-06-19 Thread Peter Zijlstra
I suspect you want this through the DRM tree? Ingo are you OK with that? ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH v3 0/9] Add TOSHIBA TC358764 DSI/LVDS bridge driver

2018-06-19 Thread Maciej Purski
Hi all, this patchset is a next attempt to add the tc358764 driver. The previous one can be found here: https://lists.freedesktop.org/archives/dri-devel/2014-February/053705.html Back then, TC358764 was added as a panel driver. The bridge is supposed to be a DSI peripheral. Currently exynos_dsi

[PATCH v3 6/9] dt-bindings: tc358754: add DT bindings

2018-06-19 Thread Maciej Purski
From: Andrzej Hajda The patch adds bindings to Toshiba DSI/LVDS bridge TC358764. Bindings describe power supplies, reset gpio and video interfaces. Signed-off-by: Andrzej Hajda Signed-off-by: Maciej Purski --- .../bindings/display/bridge/toshiba,tc358764.txt | 35 ++ 1 f

[PATCH v3 9/9] ARM: dts: exynos5250-arndale: add DSI and panel nodes

2018-06-19 Thread Maciej Purski
From: Andrzej Hajda The patch adds bridge and panel nodes. It adds also DSI properties specific for arndale board and regulators required by the bridge. Signed-off-by: Andrzej Hajda Signed-off-by: Maciej Purski --- arch/arm/boot/dts/exynos5250-arndale.dts | 61

[PATCH v3 2/9] drm/exynos: move connector creation to attach callback

2018-06-19 Thread Maciej Purski
The current implementation assumes that the only possible peripheral device for DSIM is a panel. Using an output bridge child device should also be possible. If an output bridge is available, don't create a new connector. Instead, call drm_bridge_attach() and set encoder's bridge to NULL in order

[PATCH v3 3/9] drm/exynos: enable out_bridge in exynos_dsi_enable()

2018-06-19 Thread Maciej Purski
As the out bridge will not be enabled directly by the framework, it should be enabled by DSI. Exynos_dsi_enable() should handle a case, when there is an out_bridge connected as a DSI peripheral. Signed-off-by: Maciej Purski --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 34 +--

[PATCH v3 8/9] ARM: dts: exynos5250: add DSI node

2018-06-19 Thread Maciej Purski
From: Andrzej Hajda The patch adds common part of DSI node for Exynos5250 platforms and a required mipi-phy node. Signed-off-by: Andrzej Hajda Signed-off-by: Maciej Purski --- arch/arm/boot/dts/exynos5250.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm

[PATCH v3 5/9] drm/panel: add support for BOE HV070WSA-100 panel to simple-panel

2018-06-19 Thread Maciej Purski
From: Andrzej Hajda The patch adds support for BOE HV070WSA-100 WSVGA 7.01 inch panel in panel-simple driver. The panel is used in Exynos5250-arndale boards. Signed-off-by: Andrzej Hajda Signed-off-by: Maciej Purski --- drivers/gpu/drm/panel/panel-simple.c | 25 + 1 fi

Re: [PATCH v4 2/2] drm/rockchip: vop: fix irq disabled after vop driver probed

2018-06-19 Thread Marc Zyngier
On 18/06/18 09:19, Heiko Stübner wrote: > Hi Marc, > > Am Mittwoch, 13. Juni 2018, 15:01:27 CEST schrieb Marc Zyngier: >> On 12/06/18 14:20, Heiko Stuebner wrote: >>> From: Sandy Huang >>> >>> The vop irq is shared between vop and iommu and irq probing in the >>> iommu driver moved to the probe f

[PATCH v3 1/9] drm/exynos: rename "bridge_node" to "mic_bridge_node"

2018-06-19 Thread Maciej Purski
When adding support for peripheral out bridges, the "bridge" name becomes imprecise as it refers to a different device than the "out_bridge". Signed-off-by: Maciej Purski --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --gi

[PATCH 1/1] drm/panel: Add support for Olimex LCD-OLinuXino panel

2018-06-19 Thread Stefan Mavrodiev
This patch adds Olimex Ltd. LCD-OLinuXino bridge panel driver. The panel is used with different LCDs (currently from 480x272 to 1280x800). Small EEPROM chip is used for identification, which holds some factory data and timing requirements. Signed-off-by: Stefan Mavrodiev --- .../display/panel/ol

[PATCH v3 7/9] drm/bridge: tc358764: Add DSI to LVDS bridge driver

2018-06-19 Thread Maciej Purski
From: Andrzej Hajda Add a drm_bridge driver for the Toshiba TC358764 DSI to LVDS bridge. Signed-off-by: Andrzej Hajda Signed-off-by: Maciej Purski --- drivers/gpu/drm/bridge/Kconfig| 8 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/tc358764.c | 521

[BUG 4.17] etnaviv-gpu f1840000.gpu: recover hung GPU!

2018-06-19 Thread Russell King - ARM Linux
It looks like a bug has crept in to etnaviv between 4.16 and 4.17, which causes etnaviv to misbehave with the GC600 GPU on Dove. I don't think it's a GPU issue, I think it's a DRM issue. I get multiple: [ 596.711482] etnaviv-gpu f184.gpu: recover hung GPU! [ 597.732852] etnaviv-gpu f184000

[PATCH v3 4/9] dt-bindings: display: add DT bindings for BOE HV070WSA-100 panel

2018-06-19 Thread Maciej Purski
From: Andrzej Hajda The patch adds bindings to BOE HV070-WSA WSVGA panel. Bindings are compatible with simple panel bindings. Signed-off-by: Andrzej Hajda Signed-off-by: Maciej Purski --- .../bindings/display/panel/boe,hv070wsa-100.txt| 28 ++ 1 file changed, 28 insert

Re: [BUG 4.17] etnaviv-gpu f1840000.gpu: recover hung GPU!

2018-06-19 Thread Lucas Stach
Hi Russell, Am Dienstag, den 19.06.2018, 10:43 +0100 schrieb Russell King - ARM Linux: > It looks like a bug has crept in to etnaviv between 4.16 and 4.17, > which causes etnaviv to misbehave with the GC600 GPU on Dove.  I > don't think it's a GPU issue, I think it's a DRM issue. > > I get multip

Re: [PATCH 1/3] locking: WW mutex cleanup

2018-06-19 Thread Thomas Hellstrom
On 06/19/2018 11:44 AM, Peter Zijlstra wrote: On Tue, Jun 19, 2018 at 10:24:43AM +0200, Thomas Hellstrom wrote: From: Peter Ziljstra Make the WW mutex code more readable by adding comments, splitting up functions and pointing out that we're actually using the Wait-Die algorithm. Cc: Ingo Moln

Re: [PATCH 1/3] locking: WW mutex cleanup

2018-06-19 Thread Peter Zijlstra
On Tue, Jun 19, 2018 at 12:44:52PM +0200, Thomas Hellstrom wrote: > On 06/19/2018 11:44 AM, Peter Zijlstra wrote: > > On Tue, Jun 19, 2018 at 10:24:43AM +0200, Thomas Hellstrom wrote: > > > From: Peter Ziljstra > > > > > > Make the WW mutex code more readable by adding comments, splitting up > >

Re: [PATCH v3 7/9] drm/bridge: tc358764: Add DSI to LVDS bridge driver

2018-06-19 Thread kbuild test robot
Hi Andrzej, I love your patch! Perhaps something to improve: [auto build test WARNING on v4.18-rc1] [also build test WARNING on next-20180619] [cannot apply to drm-exynos/exynos-drm/for-next robh/for-next drm/drm-next] [if your patch is applied to the wrong git tree, please drop us a note to

[PATCH] drm/bridge: tc358764: fix noderef.cocci warnings

2018-06-19 Thread kbuild test robot
From: kbuild test robot drivers/gpu/drm/bridge/tc358764.c:179:60-66: ERROR: application of sizeof to pointer sizeof when applied to a pointer typed expression gives the size of the pointer Generated by: scripts/coccinelle/misc/noderef.cocci Fixes: 147fe90c9d51 ("drm/bridge: tc358764: Add DS

Re: [BUG 4.17] etnaviv-gpu f1840000.gpu: recover hung GPU!

2018-06-19 Thread Lucas Stach
Am Dienstag, den 19.06.2018, 12:00 +0100 schrieb Russell King - ARM Linux: > On Tue, Jun 19, 2018 at 12:09:16PM +0200, Lucas Stach wrote: > > Hi Russell, > > > > Am Dienstag, den 19.06.2018, 10:43 +0100 schrieb Russell King - ARM Linux: > > > It looks like a bug has crept in to etnaviv between 4.1

[RFC PATCH] drm/panel: lcd_olinuxino_funcs can be static

2018-06-19 Thread kbuild test robot
Fixes: 17a867cdd048 ("drm/panel: Add support for Olimex LCD-OLinuXino panel") Signed-off-by: kbuild test robot --- panel-olimex-lcd-olinuxino.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c b/drivers/gpu/drm/panel/panel

Re: [PATCH 1/1] drm/panel: Add support for Olimex LCD-OLinuXino panel

2018-06-19 Thread kbuild test robot
Hi Stefan, I love your patch! Perhaps something to improve: [auto build test WARNING on tegra-drm/drm/tegra/for-next] [also build test WARNING on v4.18-rc1 next-20180619] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [DPU PATCH] drm/msm/dsi: set encoder mode for DRM bridge explicitly

2018-06-19 Thread Archit Taneja
On Saturday 16 June 2018 11:26 AM, Abhinav Kumar wrote: Currently, DRM bridge for DPU relies on the default video mode setting to set the encoder mode. Add an explicit call to set the encoder mode for bridges. Reviewed-by: Archit Taneja Signed-off-by: Abhinav Kumar --- drivers/gpu/drm

Re: [DPU PATCH] drm/msm/dsi: add only dsi nodes with a valid device to list

2018-06-19 Thread Archit Taneja
On Saturday 16 June 2018 11:35 AM, Abhinav Kumar wrote: Before adding a DSI node to the private list check if the node has a valid device connected to it through an endpoint. This is required in cases where the chipset supports multiple DSI hosts but only one of them is being used. In the cur

Re: [BUG 4.17] etnaviv-gpu f1840000.gpu: recover hung GPU!

2018-06-19 Thread Lucas Stach
Am Dienstag, den 19.06.2018, 12:42 +0100 schrieb Russell King - ARM Linux: > On Tue, Jun 19, 2018 at 01:11:29PM +0200, Lucas Stach wrote: > > Am Dienstag, den 19.06.2018, 12:00 +0100 schrieb Russell King - ARM Linux: > > > No, it's not "a really big job" - it's just that the Dove GC600 is not > > >

[Bug 200139] New: amdgpu lockup after resume from sleep

2018-06-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200139 Bug ID: 200139 Summary: amdgpu lockup after resume from sleep Product: Drivers Version: 2.5 Kernel Version: 4.17.2 Hardware: Intel OS: Linux Tree: Mainline

[Bug 200139] amdgpu lockup after resume from sleep

2018-06-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200139 Christian König (christian.koe...@amd.com) changed: What|Removed |Added CC||christian.koe

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 Joern Hoffmann (j.hoffm...@quapona.com) changed: What|Removed |Added CC||j.hoffm...@quapo

[Bug 106363] Powerplay support for SI asics

2018-06-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106363 --- Comment #1 from Gregor Münch --- Im on Tahiti and I just append amdgpu.dpm=1 to my kernel config and things started working. DPMS, Suspend to Disk all is working fine. -- You are receiving this mail because: You are the assignee for the bu

[Bug 106363] Powerplay support for SI asics

2018-06-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106363 --- Comment #2 from Michel Dänzer --- (In reply to Gregor Münch from comment #1) > DPMS, Suspend to Disk all is working fine. Neither DPMS nor suspend to disk has anything to do with PowerPlay (or DPM) though. :) -- You are receiving this mai

[Bug 106363] Powerplay support for SI asics

2018-06-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106363 --- Comment #3 from Alex Deucher --- dpm is enabled by default on SI parts so setting dpm=1 doesn't change anything. -- You are receiving this mail because: You are the assignee for the bug.___ dri-d

Re: [Freedreno] [DPU PATCH] drm/msm/dsi: add only dsi nodes with a valid device to list

2018-06-19 Thread Jordan Crouse
On Mon, Jun 18, 2018 at 03:11:44PM -0700, abhin...@codeaurora.org wrote: > Hi Jordan > > Thanks for the review. > > Comments inline. > > Abhinav > On 2018-06-18 07:23, Jordan Crouse wrote: > >On Fri, Jun 15, 2018 at 11:05:57PM -0700, Abhinav Kumar wrote: > >>Before adding a DSI node to the priva

[PATCH] drm: use atomic helper function to get crtc_state of crtc

2018-06-19 Thread mikita.lipski
From: Mikita Lipski Use drm_atomic_get_crtc_state to get the crtc state in case it has been previously freed, that might prevent use-after-free issue. This patch fixes the bugzilla bug: Bug 199425 - BUG: KASAN: use-after-free in drm_atomic_helper_wait_for_flip_done+0x247/0x260 Signed-off-by: M

Re: [PATCH 2/5] dma-buf: remove kmap_atomic interface

2018-06-19 Thread Christian König
Am 18.06.2018 um 10:18 schrieb Daniel Vetter: On Fri, Jun 01, 2018 at 02:00:17PM +0200, Christian König wrote: Neither used nor correctly implemented anywhere. Just completely remove the interface. Signed-off-by: Christian König I wonder whether we can nuke the normal kmap stuff too ... every

Re: [PATCH] drm: use atomic helper function to get crtc_state of crtc

2018-06-19 Thread Michel Dänzer
Hi Mikita, thanks for sending this out. I have to defer review of the actual change to others more familiar with this code, but I have some feedback for the commit log. On 2018-06-19 04:45 PM, mikita.lip...@amd.com wrote: > From: Mikita Lipski > > Use drm_atomic_get_crtc_state to get the crt

  1   2   >