Re: [PATCH 1/2] drm: Add DRM_CAP_PRIME_SCANOUT.

2017-04-16 Thread Christopher James Halse Rogers
On 10 April 2017 6:51:21 pm AEST, "Michel Dänzer" wrote: >On 06/04/17 04:47 PM, Christopher James Halse Rogers wrote: >> On Wed, 5 Apr 2017 at 20:14 Lucas Stach > > wrote: >> >> Am Mittwoch, den 05.04.2017, 11:59 +0200 schrieb Daniel Vetter: >> > On Wed, Apr

[Bug 100687] KWin won't draw Aurorae themes under EGL

2017-04-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100687 --- Comment #5 from MirceaKitsune --- (In reply to Michel Dänzer from comment #4) I temporarily set KWin back to egl and added the following to my ~./profile file: export LIBGL_DRI3_DISABLE=1 This did not affect the problem: Window decoration

[PATCH v4 01/11] dt-bindings: add binding for the Allwinner DE2 CCU

2017-04-16 Thread Icenowy Zheng
Allwinner "Display Engine 2.0" contains some clock controls in it. In order to add them as clock drivers, we need a device tree binding. Add the binding here. Signed-off-by: Icenowy Zheng --- Changes in v4: - Dropped the leading 0 in clock@100 . Changes in v3: - Fill the address space length

[PATCH v4 09/11] ARM: dts: sun8i: add DE2 nodes for V3s SoC

2017-04-16 Thread Icenowy Zheng
Allwinner V3s SoC features a "Display Engine 2.0" with only one TCON which have RGB LCD output. Add device nodes for it as well as the TCON. Signed-off-by: Icenowy Zheng --- Changes in v4: - Dropped leading 0's in unit name. Changes in v3: - Change the size of de2_clocks regs according to the bi

Re: [PATCH 09/22] dm-crypt: Make use of the new sg_map helper in 4 call sites

2017-04-16 Thread Logan Gunthorpe
Thanks for the information Milan. On 15/04/17 06:10 AM, Milan Broz wrote: > I think your patch is ok (if it is just plain conversion), if it is > really needed, we can switch to ahash later in follow-up patch. Sounds good to me. > p.s. > there is a lot of lists on cc, but for this patch is missi

[PATCH v4 10/11] ARM: dts: sun8i: add pinmux for LCD pins of V3s SoC

2017-04-16 Thread Icenowy Zheng
Allwinner V3s SoC features a set of pins that have functionality of RGB LCD, the pins are at different pin ban than other SoCs. Add pinctrl node for them. Signed-off-by: Icenowy Zheng --- arch/arm/boot/dts/sun8i-v3s.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot

[PATCH v4 04/11] drm/sun4i: return only planes for layers created

2017-04-16 Thread Icenowy Zheng
As we are going to add support for the Allwinner DE2 Mixer in sun4i-drm driver, we will finally have two types of layers. Each layer is bound to a drm_plane that is CRTC-specific, so we create them when initializing CRTC (calling sun4i_layers_init, which will be generalized in next patch). The drm

[PATCH v4 07/11] drm/sun4i: Add compatible string for V3s display engine

2017-04-16 Thread Icenowy Zheng
Allwinner V3s features the new "Display Engine 2.0", which can now also be driven with our subdrivers in sun4i-drm. Add the compatible string for in sun4i_drv.c, in order to make the display engine and its components probed. Signed-off-by: Icenowy Zheng --- drivers/gpu/drm/sun4i/sun4i_drv.c | 1

[PATCH v4 05/11] drm/sun4i: abstract a engine type

2017-04-16 Thread Icenowy Zheng
As we are going to add support for the Allwinner DE2 engine in sun4i-drm driver, we will finally have two types of display engines -- the DE1 backend and the DE2 mixer. They both do some display blending and feed graphics data to TCON, so I choose to call them both "engine" here. Abstract the engi

[PATCH v4 03/11] dt-bindings: add bindings for DE2 on V3s SoC

2017-04-16 Thread Icenowy Zheng
Allwinner V3s SoC have a display engine which have a different pipeline with older SoCs. Add document for it (new compatibles and the new "mixer" part). Signed-off-by: Icenowy Zheng --- Changes in v4: - Removed the refactor at TCON chapter. Changes in v3: - Remove the description of having a BE

[PATCH v4 02/11] clk: sunxi-ng: add support for DE2 CCU

2017-04-16 Thread Icenowy Zheng
The "Display Engine 2.0" in Allwinner newer SoCs contains a clock management unit for its subunits, like the DE CCU in A80. Add a sunxi-ng style driver for it. Signed-off-by: Icenowy Zheng --- Changes in v4: - Fixed the inconsistence between mixer_div clocks' number and real clock. Changes in v2

[PATCH v4 08/11] drm/sun4i: tcon: add support for V3s TCON

2017-04-16 Thread Icenowy Zheng
Allwinner V3s SoC features a TCON without channel 1. Add support for it. Signed-off-by: Icenowy Zheng --- drivers/gpu/drm/sun4i/sun4i_drv.c | 3 ++- drivers/gpu/drm/sun4i/sun4i_tcon.c | 5 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/

[PATCH v4 06/11] drm/sun4i: add support for Allwinner DE2 mixers

2017-04-16 Thread Icenowy Zheng
Allwinner have a new "Display Engine 2.0" in their new SoCs, which comes with mixers to do graphic processing and feed data to TCON, like the old backends and frontends. Add support for the mixer on Allwinner V3s SoC; it's the simplest one. Currently a lot of functions are still missing -- more i

[PATCH v4 00/11] Initial Allwinner Display Engine 2.0 Support

2017-04-16 Thread Icenowy Zheng
This patchset is the initial patchset for Allwinner DE2 support. It contains the support of clocks in DE2 and the mixers in DE2. The SoC used to develop this patchset is V3s, as V3s is the simplest one of the SoCs that have DE2. (Allwinner V3s features only one mixer, although its clock control u

[PATCH v4 11/11] [DO NOT MERGE] ARM: dts: sun8i: enable LCD panel of Lichee Pi Zero

2017-04-16 Thread Icenowy Zheng
A 480x272 QiaoDian QD43003C0-40-7LED panel is available from Lichee Pi. This commit connects this panel to Lichee Pi Zero. Lichee Pi also provides a 800x480 panel without accurate model number, so do not merge this patch. It will finally come as device tree overlay. Signed-off-by: Icenowy Zheng

[PATCH -next] gpu: host1x: Fix wrong pointer passed to PTR_ERR()

2017-04-16 Thread Wei Yongjun
From: Wei Yongjun PTR_ERR should access the value just tested by IS_ERR, otherwise the wrong error code will be returned. Fixes: b386c6b73ac6 ("gpu: host1x: Support module reset") Signed-off-by: Wei Yongjun --- drivers/gpu/host1x/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

Re: [PATCH 09/22] dm-crypt: Make use of the new sg_map helper in 4 call sites

2017-04-16 Thread Milan Broz
On 04/14/2017 06:03 PM, Logan Gunthorpe wrote: > > > On 14/04/17 02:39 AM, Christoph Hellwig wrote: >> On Thu, Apr 13, 2017 at 04:05:22PM -0600, Logan Gunthorpe wrote: >>> Very straightforward conversion to the new function in all four spots. >> >> I think the right fix here is to switch dm-crypt

[Bug 99784] AMD 7470m When VGA plugged into laptop, only one monitor working at a time

2017-04-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99784 --- Comment #11 from lazane...@gmail.com --- Problem persists with 4.11rc7 kernel. Should I try updating some other package? Also, I noticed that problem starts before X is active (at grub/systemd/ubuntu splash logo). With fglrx only internal mon

[Bug 100697] [radeonsi,WebGL] blinking random patches instead of blinking squares

2017-04-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100697 --- Comment #2 from Kai --- (In reply to network723 from comment #1) > While I'm not a dev, but this is very similar to what I see in Xonotic, due > to llvm regression, see this bug: > https://bugs.freedesktop.org/show_bug.cgi?id=100681 > > If

[Bug 100697] [radeonsi,WebGL] blinking random patches instead of blinking squares

2017-04-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100697 --- Comment #1 from network...@rkmail.ru --- While I'm not a dev, but this is very similar to what I see in Xonotic, due to llvm regression, see this bug: https://bugs.freedesktop.org/show_bug.cgi?id=100681 If you can, try building mesa with ear

[Bug 100697] [radeonsi,WebGL] blinking random patches instead of blinking squares

2017-04-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100697 Bug ID: 100697 Summary: [radeonsi,WebGL] blinking random patches instead of blinking squares Product: Mesa Version: git Hardware: Other URL: https://roberts

[Bug 100695] Texture artifacts in Deus Ex: Mankind Divided

2017-04-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100695 Bug ID: 100695 Summary: Texture artifacts in Deus Ex: Mankind Divided Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Sev

Re: [RFC 0/8] drm/exynos: misc fixes and more

2017-04-16 Thread Tobias Jakobi
Hello Inki, Inki Dae wrote: > Hello Tobias, > > 2017년 04월 11일 19:52에 Tobias Jakobi 이(가) 쓴 글: >> Hello Inki, >> >> please don't forget to review this series. > > Thanks for your contribution, and don't worry about that. Will review this > series. Thank you for the confirmation! In the meanti

Re: [PATCH] drm/exynos: clean up description of exynos_drm_crtc

2017-04-16 Thread Tobias Jakobi
Hello Inki, Inki Dae wrote: > 2017년 04월 11일 17:17에 Tobias Jakobi 이(가) 쓴 글: >> Another thing that I noticed. Why wasn't the v2 that ended up in your >> git ever submitted to the mailing list? Because it should have, in >> particular to spot these obvious errors. > > Only comment about this. > >

Re: [PATCH v3] drm/exynos: mixer: document YCbCr magic numbers

2017-04-16 Thread Tobias Jakobi
Hello Inki, Inki Dae wrote: > Tobias, why did you post the patch set 1/2 and 2/2 before? > If these patches can be applied independently - you found out later - then > you need to clarify why you posted them separately. after I posted v1 of the patchset, Andrzej responded with a Reviewed-By fo