Re: [PATCH v4 1/4] clk: sunxi-ng: Enable DE2_CCU for SUN8I and SUN50I

2018-09-05 Thread Maxime Ripard
On Tue, Sep 04, 2018 at 10:06:06PM +0530, Jagan Teki wrote: > Allwinner SoC like SUN8I and SUN50I has DE2 CCU so enable them > as default. > > Signed-off-by: Jagan Teki > --- > Changes for v4, v3: > - none > Changes for v2: > - Enable for MACH_SUN8I > > drivers/clk/sunxi-ng/Kconfig | 2 ++ > 1

Re: [PATCH v4 2/4] arm64: defconfig: Enable CONFIG_DRM_SUN4I

2018-09-05 Thread Maxime Ripard
On Tue, Sep 04, 2018 at 10:06:07PM +0530, Jagan Teki wrote: > Enable DRM Support for Allwinner Display Engine, built as a module. > > Signed-off-by: Jagan Teki Applied, thanks! Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com signature.asc Descriptio

Re: [PATCH 1/6] drm/bridge: use bus flags in bridge timings

2018-09-05 Thread Laurent Pinchart
Hi Stefan, Thank you for the patch. On Wednesday, 5 September 2018 08:21:08 EEST Stefan Agner wrote: > The DRM bus flags convey additional information on pixel data on > the bus. All current available bus flags might be of interest for > a bridge. Remove the sampling_edge field and use bus_flags.

Re: [PATCH 3/6] dt-bindings: display: add data-enable polarity property

2018-09-05 Thread Laurent Pinchart
Hi Stefan, Thank you for the patch. On Wednesday, 5 September 2018 08:21:10 EEST Stefan Agner wrote: > Allow to specify the data-enable polarity required by a dumb VGA > DAC converting parallel RGB to VGA. > > Signed-off-by: Stefan Agner > --- > .../devicetree/bindings/display/bridge/dumb-vga-

Re: [PATCH v4 3/4] drm/sun4i: Enable DE2 Mixer for SUN8I and SUN50I

2018-09-05 Thread Maxime Ripard
On Tue, Sep 04, 2018 at 10:06:08PM +0530, Jagan Teki wrote: > Allwinner SoC like SUN8I and SUN50I are now using DE2 Mixer > so enable them as default. > > Signed-off-by: Jagan Teki > --- > Changes for v4, v3: > - none > Changes for v2: > - Enable for SUN8I > > drivers/gpu/drm/sun4i/Kconfig | 2

Re: [PATCH v4 4/4] drm/sun4i: Enable DesignWare HDMI for SUN50I

2018-09-05 Thread Maxime Ripard
On Tue, Sep 04, 2018 at 10:06:09PM +0530, Jagan Teki wrote: > Allwinner SUN50I are now using DesignWare HDMI so enable > them as default. This can build DRM_SUN8I_DW_HDMI as module > since DRM in arm64 has module. > > Making this as defult to SUN8I, may cause an issue while > loading since arm32 D

Re: [PATCH 1/3] dt-bindings: change the A64 HDMI PHY binding to R40

2018-09-05 Thread Maxime Ripard
On Mon, Sep 03, 2018 at 09:34:32PM +0800, Icenowy Zheng wrote: > By experiment, the A64 HDMi PHY doesn't support the PLL-VIDEO mux > introduced in R40, although it has two PLL-VIDEOs. > > Change the A64 HDMI PHY binding to R40 one. > > This binding is introduced in v4.19, which is still in RC sta

Re: [PATCH v4 02/11] clk: sunxi-ng: a64: Add max. rate constraint to video PLLs

2018-09-05 Thread Maxime Ripard
On Tue, Sep 04, 2018 at 12:40:44PM +0800, Icenowy Zheng wrote: > Video PLLs on A64 can be set to higher rate that it is actually > supported by HW. > > Limit maximum rate to 1008 MHz. This is the maximum allowed rate by BSP > clock driver. Interestengly, user manual specifies maximum frequency to

Re: [PATCH v4 01/11] clk: sunxi-ng: a64: Add minimal rate for video PLLs

2018-09-05 Thread Maxime Ripard
On Tue, Sep 04, 2018 at 12:40:43PM +0800, Icenowy Zheng wrote: > From: Jagan Teki > > According to documentation and experience with other similar SoCs, video > PLLs don't work stable if their output frequency is set below 192 MHz. > > Because of that, set minimal rate to both A64 video PLLs to

[Bug 107784] [AMD tahiti XT] displayport broken

2018-09-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107784 --- Comment #5 from Michel Dänzer --- (In reply to Sylvain BERTRAND from comment #4) > faulty commit: 019cddc88f9e4ae0de2c76802f7137210c2101aa on > amd-staging-drm-next That's a pure merge commit, so it's unlikely to be the one that actually ca

Re: [PATCH v4 03/11] dt-bindings: display: Add compatible for A64 DE2 display pipeline

2018-09-05 Thread Maxime Ripard
On Tue, Sep 04, 2018 at 12:40:45PM +0800, Icenowy Zheng wrote: > From: Jagan Teki > > Allwinner A64 has a DE2 display pipeline. The TCONs are similar to the > ones in A83T, but the mixers are new (similar to the later R40 SoC). > > This patch adds dt-binding documentation for A64 DE2 display pip

Re: [PATCH v4 04/11] drm/sun4i: Add support for A64 mixers

2018-09-05 Thread Maxime Ripard
On Tue, Sep 04, 2018 at 12:40:46PM +0800, Icenowy Zheng wrote: > From: Jagan Teki > > Mixers in Allwinner have similar capabilities as others SoCs with DE2. > > Add support for them. > > Signed-off-by: Jagan Teki > [Icenowy: Add mixer1] > Signed-off-by: Icenowy Zheng > Reviewed-by: Jernej Skr

Re: [PATCH v4 05/11] drm/sun4i: Add support for A64 display engine

2018-09-05 Thread Maxime Ripard
On Tue, Sep 04, 2018 at 12:40:47PM +0800, Icenowy Zheng wrote: > From: Jagan Teki > > Display Engine(DE2) in Allwinner A64 has two mixers and tcons. > > The routing for mixer0 is through tcon0 and connected to > LVDS/RGB/MIPI-DSI controller. > > The routing for mixer1 is through tcon1 and conne

Re: [PATCH v4 07/11] dt-bindings: clock: sun50i-a64-ccu: Add PLL_VIDEO0 macro

2018-09-05 Thread Maxime Ripard
On Tue, Sep 04, 2018 at 12:40:49PM +0800, Icenowy Zheng wrote: > From: Jagan Teki > > Allwinner A64 HDMI PHY clock has PLL_VIDEO0 as a parent. > > Include the macro on dt-bindings so-that the same can be used > while defining CCU clock phandles. > > Signed-off-by: Jagan Teki > Reviewed-by: Rob

Re: [PATCH v4 10/11] drm/sun4i: Add support for HDMI voltage regulator

2018-09-05 Thread Maxime Ripard
On Tue, Sep 04, 2018 at 12:40:52PM +0800, Icenowy Zheng wrote: > From: Jernej Skrabec > > Some boards have HDMI VCC pin connected to voltage regulator which may > not be turned on by default. > > Add support for such boards by adding voltage regulator handling code to > HDMI driver. > > Signed-

Re: [PATCH v4 06/11] dt-bindings: display: Add compatible for A64 HDMI

2018-09-05 Thread Maxime Ripard
On Tue, Sep 04, 2018 at 12:40:48PM +0800, Icenowy Zheng wrote: > From: Jagan Teki > > The HDMI controller on Allwinner A64 is similar on the one on > H3/H5/A83T (although the PHY is different with A83T). > > Add A64 compatible and append A83T compatible as fallback. > > Signed-off-by: Jagan Tek

[Bug 105046] Screen resolution reset to 1368x768 when turning monitor off

2018-09-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105046 Michel Dänzer changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [PATCH v4 09/11] dt-bindings: sun4i-drm: add HDMI VCC supply property for sun8i-dw-hdmi

2018-09-05 Thread Maxime Ripard
On Tue, Sep 04, 2018 at 12:40:51PM +0800, Icenowy Zheng wrote: > Allwiner SoCs with DesignWare HDMI controller all come with a "HVCC" > pin, which is the VCC of HDMI part. > > Add a supply property to specify HVCC's regulator in the device tree. > > Signed-off-by: Icenowy Zheng Applied, thanks!

[Bug 106671] Frequent lock ups for AMD RX 550 graphics card

2018-09-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106671 --- Comment #10 from Michel Dänzer --- (In reply to Alan W. Irwin from comment #9) > So the current lockup could be due to an entirely different bug than in the > lockups I have encountered for the direct use case. Yeah, that looks like an RCU

[Bug 201015] [amdgpu] BUG: unable to handle kernel NULL pointer dereference on resume with 2 monitors (vega)

2018-09-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201015 Michel Dänzer (mic...@daenzer.net) changed: What|Removed |Added CC||harry.wentl...@amd.co

Re: [PATCH 1/6] drm/bridge: use bus flags in bridge timings

2018-09-05 Thread Laurent Pinchart
Hi Stefan, On Wednesday, 5 September 2018 10:06:28 EEST Laurent Pinchart wrote: > On Wednesday, 5 September 2018 08:21:08 EEST Stefan Agner wrote: > > The DRM bus flags convey additional information on pixel data on > > the bus. All current available bus flags might be of interest for > > a bridge

Re: [PATCH v4 08/11] arm64: dts: allwinner: a64: Add display pipeline

2018-09-05 Thread Maxime Ripard
On Tue, Sep 04, 2018 at 12:40:50PM +0800, Icenowy Zheng wrote: > + hdmi_phy: hdmi-phy@1ef { > + compatible = "allwinner,sun8i-h3-hdmi-phy"; > + reg = <0x01ef 0x1>; > + clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DD

Re: [linux-sunxi] [PATCH v4 11/11] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-09-05 Thread Maxime Ripard
On Wed, Sep 05, 2018 at 12:56:03PM +0530, Jagan Teki wrote: > On Tue, Sep 4, 2018 at 10:10 AM, Icenowy Zheng wrote: > > From: Jagan Teki > > > > Enable all necessary device tree nodes and add connector node to device > > trees for all supported A64 boards with HDMI. > > > > Signed-off-by: Jagan T

Re: [PATCH 06/14] drm: extract drm_atomic_uapi.c

2018-09-05 Thread Daniel Vetter
On Tue, Sep 04, 2018 at 01:41:33PM -0700, Rodrigo Vivi wrote: > Maybe start a new file with SPDX identifier? > > I like the idea of this split... I just checked, none of the other drm files have them. I'm not sure I want to start this specific bikeshed, so I think I'll leave it as-is. > Acked-by

Re: [PATCH 1/3] dt-bindings: change the A64 HDMI PHY binding to R40

2018-09-05 Thread Maxime Ripard
On Wed, Sep 05, 2018 at 03:46:41PM +0800, Icenowy Zheng wrote: > > > 于 2018年9月5日 GMT+08:00 下午3:14:35, Maxime Ripard 写到: > >On Mon, Sep 03, 2018 at 09:34:32PM +0800, Icenowy Zheng wrote: > >> By experiment, the A64 HDMi PHY doesn't support the PLL-VIDEO mux > >> introduced in R40, although it has

[PATCH] drm: extract drm_atomic_uapi.c

2018-09-05 Thread Daniel Vetter
This leaves all the commit/check and state handling in drm_atomic.c, while pulling all the uapi glue and the huge ioctl itself into a seprate file. This seems to almost perfectly split the rather big drm_atomic.c file into 2 equal sizes. Also adjust the kerneldoc and type a very terse overview te

[PATCH] drm: Update todo.rst

2018-09-05 Thread Daniel Vetter
- drmP.h is now fully split up. - vkms is happening (and will gain its own todo and docs under a new vkms.rst file real soon) - legacy cruft is completely hidden now, drm_vblank.c is split out from drm_irq.c now. I've decided to drop the task to split out drm_legacy.ko, partially because Dave

[PATCH v4 1/4] clk: sunxi-ng: Enable DE2_CCU for SUN8I and SUN50I

2018-09-05 Thread Jagan Teki
Allwinner SoC like SUN8I and SUN50I has DE2 CCU so enable them as default. Signed-off-by: Jagan Teki --- Changes for v4, v3: - none Changes for v2: - Enable for MACH_SUN8I drivers/clk/sunxi-ng/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/c

[PATCH v4 2/4] arm64: defconfig: Enable CONFIG_DRM_SUN4I

2018-09-05 Thread Jagan Teki
Enable DRM Support for Allwinner Display Engine, built as a module. Signed-off-by: Jagan Teki --- Changes for v4, v3, v2: - none arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index f67e8d5e93ad..4919e

[PATCH v4 3/4] drm/sun4i: Enable DE2 Mixer for SUN8I and SUN50I

2018-09-05 Thread Jagan Teki
Allwinner SoC like SUN8I and SUN50I are now using DE2 Mixer so enable them as default. Signed-off-by: Jagan Teki --- Changes for v4, v3: - none Changes for v2: - Enable for SUN8I drivers/gpu/drm/sun4i/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/su

[PATCH v4 4/4] drm/sun4i: Enable DesignWare HDMI for SUN50I

2018-09-05 Thread Jagan Teki
Allwinner SUN50I are now using DesignWare HDMI so enable them as default. This can build DRM_SUN8I_DW_HDMI as module since DRM in arm64 has module. Making this as defult to SUN8I, may cause an issue while loading since arm32 DRM built as static. Signed-off-by: Jagan Teki --- Changes for v4: - no

Re: [PATCH 08/27] clk: sunxi-ng: Add support for H6 DE3 clocks

2018-09-05 Thread Jernej Škrabec
Dne torek, 04. september 2018 ob 11:04:21 CEST je Chen-Yu Tsai napisal(a): > On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec wrote: > > Support for mixer0, mixer1, writeback and rotation units is added. > > > > Signed-off-by: Jernej Skrabec > > Signed-off-by: Icenowy Zheng > > --- > > > > driv

Re: [PATCH 05/27] clk: sunxi-ng: Use u64 for calculation of NM rate

2018-09-05 Thread Jernej Škrabec
Dne torek, 04. september 2018 ob 11:18:47 CEST je Chen-Yu Tsai napisal(a): > On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec wrote: > > Allwinner H6 SoC has multiplier N range between 1 and 254. Since parent > > rate is 24MHz, intermediate result when calculating final rate easily > > overflows 32

[PATCH] Fixes: fc2a69f3903d ("drm/atomic: Handling the case when, setting old crtc for plane")

2018-09-05 Thread Karsten Hohmeier
Original commit causes "plane A assertion failure" on lid close/lid open with older HP Compaq 6720s laptops (Intel Mobile GME965/GLE960). Full bug report at "https://bugs.freedesktop.org/show_bug.cgi?id=107827";. --- drivers/gpu/drm/drm_atomic.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletion

Re: [PATCH] [RFC v2] Drop all 00-INDEX files from Documentation/

2018-09-05 Thread Paul E. McKenney
On Tue, Sep 04, 2018 at 12:15:23AM +0200, Henrik Austad wrote: > This is a respin with a wider audience (all that get_maintainer returned) > and I know this spams a *lot* of people. Not sure what would be the correct > way, so my apologies for ruining your inbox. > > The 00-INDEX files are suppose

Re: [PATCH] [RFC v2] Drop all 00-INDEX files from Documentation/

2018-09-05 Thread Jens Axboe
On 9/3/18 4:15 PM, Henrik Austad wrote: > This is a respin with a wider audience (all that get_maintainer returned) > and I know this spams a *lot* of people. Not sure what would be the correct > way, so my apologies for ruining your inbox. > > The 00-INDEX files are supposed to give a summary of

Re: [linux-sunxi] [PATCH v4 11/11] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-09-05 Thread Jagan Teki
On Tue, Sep 4, 2018 at 10:10 AM, Icenowy Zheng wrote: > From: Jagan Teki > > Enable all necessary device tree nodes and add connector node to device > trees for all supported A64 boards with HDMI. > > Signed-off-by: Jagan Teki > [Icenowy: squash all board patches altogether and change supply nam

Re: [linux-sunxi] Re: [PATCH 02/27] arm64: allwinner: h6: add system controller device tree node

2018-09-05 Thread Icenowy Zheng
于 2018年9月4日 GMT+08:00 下午4:40:56, Chen-Yu Tsai 写到: >On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec >wrote: >> >> From: Icenowy Zheng >> >> As we have already binding for the H6 system controller, add its node >> to the device tree. >> >> Signed-off-by: Icenowy Zheng >> [fixed compatible string]

Re: [PATCH] [RFC v2] Drop all 00-INDEX files from Documentation/

2018-09-05 Thread Mike Rapoport
On Tue, Sep 04, 2018 at 12:15:23AM +0200, Henrik Austad wrote: > This is a respin with a wider audience (all that get_maintainer returned) > and I know this spams a *lot* of people. Not sure what would be the correct > way, so my apologies for ruining your inbox. > > The 00-INDEX files are suppose

[Bug 107793] Black screen on boot for Fedora 28 with 4.17 kernel (i.e. with amdgpu.dc defaulted)

2018-09-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107793 Simon Geard changed: What|Removed |Added Attachment #141424|0 |1 is obsolete|

[Bug 107793] Black screen on boot for Fedora 28 with 4.17 kernel (i.e. with amdgpu.dc defaulted)

2018-09-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107793 --- Comment #5 from Simon Geard --- Created attachment 141460 --> https://bugs.freedesktop.org/attachment.cgi?id=141460&action=edit Output of journalctl -k on successful boot -- You are receiving this mail because: You are the assignee for t

[PATCH v2 07/13] drm/mediatek: separae hdmi phy to different file

2018-09-05 Thread Bibby Hsieh
From: chunhui dai Different IC has different phy setting of HDMI. This patch separaes the phy hardware relate part for mt8173. Signed-off-by: chunhui dai --- drivers/gpu/drm/mediatek/Makefile | 15 +-- drivers/gpu/drm/mediatek/mtk_hdmi.c| 30 +++-- drivers/gpu/drm/me

[PATCH v2 01/13] drm/mediatek: add refcount for DPI power on/off

2018-09-05 Thread Bibby Hsieh
From: chunhui dai add refcount for DPI power on/off to protect the flow Signed-off-by: chunhui dai --- drivers/gpu/drm/mediatek/mtk_dpi.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drivers/gpu/drm/mediatek/mtk_dpi

[PATCH v2 05/13] drm/mediatek: dpi use new API for finding bridge

2018-09-05 Thread Bibby Hsieh
From: chunhui dai Using new API for finding bridge. Signed-off-by: chunhui dai --- drivers/gpu/drm/mediatek/mtk_dpi.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drivers/gpu/drm/mediatek/mtk_dpi.c index 3758cfeb58

[PATCH v2 00/13] drm/mediatek: support hdmi output for mt2701 and mt7623

2018-09-05 Thread Bibby Hsieh
In order to support HDMI on mt2701, we have to make some modifications. 1) Add the HDMI driver. 2) Add the DPI driver. 3) Add a mechanism that config output component by dts. Changes since v1: - Separate some patches to independent patch. - add DISP_REG_CONFIG_DSI_SEL and DISP_REG_CONFIG_DPI_SEL

[PATCH v2 08/13] drm/mediatek: register hdmi codec more earlier

2018-09-05 Thread Bibby Hsieh
From: chunhui dai sometimes hdmi reprobe due to encoder probe late, but audio dai probe earlier than hdmi. it would make audio dai cannot find the hdmi codec. we need to register hdmi codec earlier, and the base name which used in the register should be PLATFORM_DEVID_NONE, otherwise some audio d

[PATCH v2 02/13] drm/mediatek: move hardware register to node data

2018-09-05 Thread Bibby Hsieh
From: chunhui dai The address of register DPI_H_FRE_CON is different in different IC. Using of_node data to find this address. Signed-off-by: chunhui dai --- drivers/gpu/drm/mediatek/mtk_dpi.c | 29 +++-- drivers/gpu/drm/mediatek/mtk_dpi_regs.h | 1 - 2 files chan

[PATCH v2 03/13] drm/mediatek: adjust EDGE to match clock and data

2018-09-05 Thread Bibby Hsieh
From: chunhui dai The default timing of DPI data and clock is not match. We could adjust this bit to make them match. Signed-off-by: chunhui dai --- drivers/gpu/drm/mediatek/mtk_dpi.c | 8 drivers/gpu/drm/mediatek/mtk_dpi_regs.h | 1 + 2 files changed, 9 insertions(+) diff --git

[PATCH v2 12/13] drm/mediatek: add a error return value when clock driver has been prepared

2018-09-05 Thread Bibby Hsieh
DRM driver get the comp->clk by of_clk_get(), we only assign NULL to comp->clk when error happened, but do not return the error number. Signed-off-by: Bibby Hsieh Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 06/13] drm/mediatek: add dpi driver for mt2701 and mt7623

2018-09-05 Thread Bibby Hsieh
From: chunhui dai This patch adds dpi dirver suppot for both mt2701 and mt7623. And also support other (existing or future) chips that use the same binding and driver. Signed-off-by: chunhui dai --- drivers/gpu/drm/mediatek/mtk_dpi.c | 25 ++--- drivers/gpu/drm/mediatek

[PATCH v2 13/13] drm/mediatek: config component output by device node port

2018-09-05 Thread Bibby Hsieh
We can select output component by decive node port. Main path default output component is DSI. External path default output component is DPI. Signed-off-by: Bibby Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 37 ++ drivers/gpu/drm/mediatek/mtk_drm_drv.h | 4

[PATCH v2 10/13] drm/mediatek: add hdmi driver for MT2701 and MT7623

2018-09-05 Thread Bibby Hsieh
From: chunhui dai This patch adds hdmi dirver suppot for both MT2701 and MT7623. And also support other (existing or future) chips that use the same binding and driver. Signed-off-by: chunhui dai --- drivers/gpu/drm/mediatek/Makefile | 1 + drivers/gpu/drm/mediatek/mtk_hdmi.h

[PATCH v2 04/13] drm/mediatek: add clock factor for different IC

2018-09-05 Thread Bibby Hsieh
From: chunhui dai different IC has different clock designed in HDMI, the factor for calculate clock should be different. Usinng the data in of_node to find this factor. Signed-off-by: chunhui dai --- drivers/gpu/drm/mediatek/mtk_dpi.c | 28 +++- 1 file changed, 19 inser

[PATCH v2 11/13] drm/mediatek: implement connection from BLS to DPI0

2018-09-05 Thread Bibby Hsieh
Modify display driver to support connection from BLS to DPI. Signed-off-by: Bibby Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_dd

[PATCH v2 09/13] drm/mediatek: add support for SPDIF audio in HDMI

2018-09-05 Thread Bibby Hsieh
From: chunhui dai add support for SPDIF audio in HDMI Signed-off-by: chunhui dai --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c index 2cb33098ec1a..cd8aaeebb436 100644

[Bug 107793] Black screen on boot for Fedora 28 with 4.17 kernel (i.e. with amdgpu.dc defaulted)

2018-09-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107793 --- Comment #6 from Simon Geard --- Ok, I've added the output of "journalctl -k -b" (the current, successful boot) and "journalctl -k -b -1" (a failed boot a few minutes previously). -- You are receiving this mail because: You are the assignee

[Bug 200531] amdgpu: *ERROR* REG_WAIT timeout when a display is put to sleep

2018-09-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200531 --- Comment #9 from Aleksandr Mezin (mezin.alexan...@gmail.com) --- (In reply to Barry G from comment #8) > I wasn't having these issues with 4.17 as far as I could tell. Just re-tested 4.17.0 - no, the issue is present there too. 4.19-rc2 works

[PATCH 00/10] phy: Add configuration interface for MIPI D-PHY devices

2018-09-05 Thread Maxime Ripard
Hi, Here is a set of patches to allow the phy framework consumers to test and apply runtime configurations. This is needed to support more phy classes that require tuning based on parameters depending on the current use case of the device, in addition to the power state management already provide

[PATCH 04/10] phy: dphy: Add configuration helpers

2018-09-05 Thread Maxime Ripard
The MIPI D-PHY spec defines default values and boundaries for most of the parameters it defines. Introduce helpers to help drivers get meaningful values based on their current parameters, and validate the boundaries of these parameters if needed. Signed-off-by: Maxime Ripard --- drivers/phy/Kcon

[PATCH 07/10] drm/bridge: cdns: Remove mode_check test

2018-09-05 Thread Maxime Ripard
The crtc_* variants of the timings are initialised at the same value than their !crtc counterparts, and can later on be tweaked. This means that we can always use the crtc variants, instead of trying to figure out which of these two we should use. Move to always use the crtc_* variants, and remove

[PATCH 03/10] phy: Add MIPI D-PHY configuration options

2018-09-05 Thread Maxime Ripard
Now that we have some infrastructure for it, allow the MIPI D-PHY phy's to be configured through the generic functions through a custom structure added to the generic union. The parameters added here are the one defined in the MIPI D-PHY spec, plus some parameters that were used by a number of PHY

[PATCH 01/10] phy: Add MIPI D-PHY mode

2018-09-05 Thread Maxime Ripard
MIPI D-PHY is a MIPI standard meant mostly for display and cameras in embedded systems. Add a mode for it. Signed-off-by: Maxime Ripard --- include/linux/phy/phy.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index 9713aebdd348..9cba7fe16c

[PATCH 10/10] drm/bridge: cdns: Convert to phy framework

2018-09-05 Thread Maxime Ripard
Now that we have everything we need in the phy framework to allow to tune the phy parameters, let's convert the Cadence DSI bridge to that API instead of creating a ad-hoc driver for its phy. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/bridge/cdns-dsi.c | 466 +--

[PATCH 05/10] sun6i: dsi: Convert to generic phy handling

2018-09-05 Thread Maxime Ripard
Now that we have everything in place in the PHY framework to deal in a generic way with MIPI D-PHY phys, let's convert our PHY driver and its associated DSI driver to that new API. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/Kconfig | 11 +- drivers/gpu/drm/sun4i/Makefile

[PATCH 09/10] phy: Add Cadence D-PHY support

2018-09-05 Thread Maxime Ripard
Cadence has designed a D-PHY that can be used by the, currently in tree, DSI bridge (DRM), CSI Transceiver and CSI Receiver (v4l2) drivers. Only the DSI driver has an ad-hoc driver for that phy at the moment, while the v4l2 drivers are completely missing any phy support. In order to make that phy

[PATCH 02/10] phy: Add configuration interface

2018-09-05 Thread Maxime Ripard
The phy framework is only allowing to configure the power state of the PHY using the init and power_on hooks, and their power_off and exit counterparts. While it works for most, simple, PHYs supported so far, some more advanced PHYs need some configuration depending on runtime parameters. These PH

[PATCH 08/10] drm/bridge: cdns: Separate DSI and D-PHY configuration

2018-09-05 Thread Maxime Ripard
The current configuration of the DSI bridge and its associated D-PHY is intertwined. In order to ease the future conversion to the phy framework for the D-PHY part, let's split the configuration in two. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/bridge/cdns-dsi.c | 87 +

[PATCH 06/10] phy: Move Allwinner A31 D-PHY driver to drivers/phy/

2018-09-05 Thread Maxime Ripard
Now that our MIPI D-PHY driver has been converted to the phy framework, let's move it into the drivers/phy directory. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/Kconfig | 10 +- drivers/gpu/drm/sun4i/Makefile | 1 +- drivers/gpu/drm/sun4i/sun6i_mipi_dphy

Re: [PATCH] Fixes: fc2a69f3903d ("drm/atomic: Handling the case when, setting old crtc for plane")

2018-09-05 Thread Jani Nikula
Subject: Revert "drm/atomic: Handling the case when setting old crtc for plane" On Wed, 05 Sep 2018, Karsten Hohmeier wrote: > Original commit causes "plane A assertion failure" on lid close/lid open > with older HP Compaq 6720s laptops (Intel Mobile GME965/GLE960). > Full bug report at "https:/

Re: [PATCH v2 01/13] drm/mediatek: add refcount for DPI power on/off

2018-09-05 Thread CK Hu
Hi, Bibby: This looks reasonable, but why MT8173 doesn't need this patch? So describe more about why MT7623 need this patch. If this is caused by latest DRM core flow change, I think we should treat this patch independent with MT7623. Regards, CK On Wed, 2018-09-05 at 16:31 +0800, Bibby Hsieh wr

Re: [PATCH libdrm] libdrm: Allow dynamic drm majors on linux

2018-09-05 Thread Emil Velikov
On 4 September 2018 at 23:33, Dave Airlie wrote: > On Tue, 4 Sep 2018 at 03:00, Thomas Hellstrom wrote: >> >> On 09/03/2018 06:33 PM, Daniel Vetter wrote: >> > On Mon, Sep 03, 2018 at 11:16:29AM +0200, Thomas Hellstrom wrote: >> >> On 08/31/2018 05:30 PM, Thomas Hellstrom wrote: >> >>> On 08/31/2

Re: [PATCH] Fixes: fc2a69f3903d ("drm/atomic: Handling the case when, setting old crtc for plane")

2018-09-05 Thread Daniel Vetter
On Wed, Sep 05, 2018 at 12:23:52PM +0300, Jani Nikula wrote: > > Subject: Revert "drm/atomic: Handling the case when setting old crtc for > plane" > > On Wed, 05 Sep 2018, Karsten Hohmeier wrote: > > Original commit causes "plane A assertion failure" on lid close/lid open > > with older HP Comp

Re: [PATCH] Fixes: fc2a69f3903d ("drm/atomic: Handling the case when, setting old crtc for plane")

2018-09-05 Thread Maarten Lankhorst
Op 05-09-18 om 00:26 schreef Karsten Hohmeier: > Original commit causes "plane A assertion failure" on lid close/lid open > with older HP Compaq 6720s laptops (Intel Mobile GME965/GLE960). > Full bug report at "https://bugs.freedesktop.org/show_bug.cgi?id=107827";. > --- > drivers/gpu/drm/drm_atom

[Bug 201015] [amdgpu] BUG: unable to handle kernel NULL pointer dereference on resume with 2 monitors (vega)

2018-09-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201015 --- Comment #3 from Aleksandr Mezin (mezin.alexan...@gmail.com) --- (In reply to Michel Dänzer from comment #2) > Is this a regression in 4.19-rc compared to 4.18? No, happens on 4.18.5 too. But on 4.18 suspend-resume also triggers https://bugzi

Re: [PATCH] Fixes: fc2a69f3903d ("drm/atomic: Handling the case when, setting old crtc for plane")

2018-09-05 Thread Eric Engestrom
Hey Karsten, thanks for the patch! I don't know if it's correct or not, but I'll comment on a few other things. The title of the commit should be a description of what your commit does; in this case you should probably keep the title that git gave you when you did `git revert`, as well as the fir

Re: [PATCH v2 02/13] drm/mediatek: move hardware register to node data

2018-09-05 Thread CK Hu
Hi, Bibby: One inline comment. On Wed, 2018-09-05 at 16:31 +0800, Bibby Hsieh wrote: > From: chunhui dai > > The address of register DPI_H_FRE_CON is different in different IC. > Using of_node data to find this address. > > Signed-off-by: chunhui dai > --- > drivers/gpu/drm/mediatek/mtk_dpi.

Re: [PATCH] drm: Reject unknown legacy bpp and dpeth for drm_mode_addfb ioctl

2018-09-05 Thread Chris Wilson
Quoting Daniel Vetter (2018-09-04 22:46:33) > On Tue, Sep 04, 2018 at 09:53:19PM +0100, Chris Wilson wrote: > > Since this is handling user provided bpp and depth, we need to sanity > > check and propagate the EINVAL back rather than assume what the insane > > client intended and fill the logs with

Re: [PATCH libdrm] libdrm: Allow dynamic drm majors on linux

2018-09-05 Thread Thomas Hellstrom
Hi, Emil, On 09/05/2018 11:33 AM, Emil Velikov wrote: On 4 September 2018 at 23:33, Dave Airlie wrote: On Tue, 4 Sep 2018 at 03:00, Thomas Hellstrom wrote: On 09/03/2018 06:33 PM, Daniel Vetter wrote: On Mon, Sep 03, 2018 at 11:16:29AM +0200, Thomas Hellstrom wrote: On 08/31/2018 05:30 PM,

[PATCH] drm: Reject unknown legacy bpp and depth for drm_mode_addfb ioctl

2018-09-05 Thread Chris Wilson
Since this is handling user provided bpp and depth, we need to sanity check and propagate the EINVAL back rather than assume what the insane client intended and fill the logs with DRM_ERROR. v2: Check both bpp and depth match the builtin pixel format, and introduce a canonical DRM_FORMAT_INVALID t

[Bug 107835] DisplayPort audio stopped working in a kernel upgrade

2018-09-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107835 Bug ID: 107835 Summary: DisplayPort audio stopped working in a kernel upgrade Product: DRI Version: unspecified Hardware: Other OS: All Status: NEW Sever

Re: [PATCH] drm: Reject unknown legacy bpp and depth for drm_mode_addfb ioctl

2018-09-05 Thread Chris Wilson
Quoting Chris Wilson (2018-09-05 11:22:05) > Since this is handling user provided bpp and depth, we need to sanity > check and propagate the EINVAL back rather than assume what the insane > client intended and fill the logs with DRM_ERROR. > > v2: Check both bpp and depth match the builtin pixel f

Re: [PATCH v2 02/13] drm/mediatek: move hardware register to node data

2018-09-05 Thread CK Hu
Hi, Bibby: One more inline comment. On Wed, 2018-09-05 at 16:31 +0800, Bibby Hsieh wrote: > From: chunhui dai > > The address of register DPI_H_FRE_CON is different in different IC. > Using of_node data to find this address. > > Signed-off-by: chunhui dai > --- > drivers/gpu/drm/mediatek/mtk

Re: [PATCH v2 03/13] drm/mediatek: adjust EDGE to match clock and data

2018-09-05 Thread CK Hu
Hi, Bibby: On Wed, 2018-09-05 at 16:31 +0800, Bibby Hsieh wrote: > From: chunhui dai > > The default timing of DPI data and clock is not match. > We could adjust this bit to make them match. > > Signed-off-by: chunhui dai Reviewed-by: CK Hu > --- > drivers/gpu/drm/mediatek/mtk_dpi.c |

Re: [PATCH v3 03/13] fbdev: add kerneldoc do remove_conflicting_framebuffers()

2018-09-05 Thread Paul Menzel
Dear Michał, Thank you for documenting the function. Do you mean *to* instead of *do* in the commit message summary? On 09/01/18 16:08, Michał Mirosław wrote: > Document remove_conflicting_framebuffers() behaviour. > > Signed-off-by: Michał Mirosław > --- > drivers/video/fbdev/core/fbmem.c |

Re: [PATCH v8 0/3] Add support rockchip RGB output interface

2018-09-05 Thread Heiko Stuebner
Am Donnerstag, 30. August 2018, 23:12:04 CEST schrieb Heiko Stuebner: > This patches add support rockchip RGB output, Some Rockchip CRTCs, like > rv1108 and px30 can directly output parallel and serial RGB data to panel > or to conversion chip. > So add a feature-bit for vops to mark the ability fo

Re: [PATCH] drm/rockchip: vop: add rk3188 vop definitions

2018-09-05 Thread Heiko Stuebner
Am Donnerstag, 30. August 2018, 13:09:37 CEST schrieb Heiko Stuebner: > The rk3188 has 2 vops not using iommus which only output directly > to a rgb interface per vop. So all other output modes like hdmi > are provided by external brige chips. > > Signed-off-by: Heiko Stuebner applied to drm-mis

[Bug 107784] [AMD tahiti XT] displayport broken

2018-09-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107784 --- Comment #6 from Sylvain BERTRAND --- I tested several times that: - this commit is failing. - the commit right before this one was working. Then, I can reasonably say, this commit, whatever its type, is the one breaking di

[Bug 201023] New: amdgpu fails compilation

2018-09-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201023 Bug ID: 201023 Summary: amdgpu fails compilation Product: Drivers Version: 2.5 Kernel Version: 4.18 Hardware: All OS: Linux Tree: Mainline Status:

[Bug 107784] [AMD tahiti XT] displayport broken

2018-09-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107784 --- Comment #7 from Felix Schwarz --- In reply to Sylvain BERTRAND from comment #6) > I tested several times that: >- this commit is failing. >- the commit right before this one was working. > > Then, I can reasonably say, this

[PATCH libdrm 1/2] xf86drm: merge get_normal_pci_path() into get_real_pci_path()

2018-09-05 Thread Eric Engestrom
Cc: Emil Velikov Signed-off-by: Eric Engestrom --- xf86drm.c | 25 - 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/xf86drm.c b/xf86drm.c index 7807dce9c7fbba6d74f7..649d400bcbc494ac04e6 100644 --- a/xf86drm.c +++ b/xf86drm.c @@ -2998,26 +2998,20 @@ static

[PATCH libdrm 2/2] xf86drm: rename "real_path" to "pci_path"

2018-09-05 Thread Eric Engestrom
"real_path" was getting confusing when there are other *paths in the same functions. Signed-off-by: Eric Engestrom --- xf86drm.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/xf86drm.c b/xf86drm.c index 649d400bcbc494ac04e6..b2388194932754dadc99

[Bug 107784] [AMD tahiti XT] displayport broken

2018-09-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107784 --- Comment #8 from Felix Schwarz --- Bugzilla: The tool which preserves all my stupid errors for eternity. :-/ Sorry, I just read the previous comments and of course you used git bisect already... Still you should test both parents of a merge

[Bug 107213] [amdgpu/DisplayPort] KDE Wayland session is segfaulting right after login

2018-09-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107213 --- Comment #13 from Shmerl --- I have a recent kernel and userland stack with Debian testing, it's still crashing and falling back into sddm. But with newest kernel I don't see the segfault message in dmesg anymore. Linux 4.19.0-rc2-amd64 #1 S

Re: [PATCH libdrm 1/2] xf86drm: merge get_normal_pci_path() into get_real_pci_path()

2018-09-05 Thread Emil Velikov
Hi Eric, On 5 September 2018 at 13:31, Eric Engestrom wrote: > -static char * > +static void > get_real_pci_path(int maj, int min, char *real_path) > { > char path[PATH_MAX + 1], *term; > > snprintf(path, sizeof(path), "/sys/dev/char/%d:%d/device", maj, min); > -if (!realpath(path

[Bug 107213] [amdgpu/DisplayPort] KDE Wayland session is segfaulting right after login

2018-09-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107213 --- Comment #14 from Shmerl --- Correction, segfault is still happening, it's just not consistent (not every time). [ 683.792530] QThread[3520]: segfault at f ip 7f41f9f2ae60 sp 7f41f19d4500 error 4 in libwayland-client.so.0.3.0[7f41f9

Re: [PATCH libdrm] libdrm: Allow dynamic drm majors on linux

2018-09-05 Thread Emil Velikov
On 5 September 2018 at 11:10, Thomas Hellstrom wrote: > Hi, Emil, > > > On 09/05/2018 11:33 AM, Emil Velikov wrote: >> >> On 4 September 2018 at 23:33, Dave Airlie wrote: >>> >>> On Tue, 4 Sep 2018 at 03:00, Thomas Hellstrom >>> wrote: On 09/03/2018 06:33 PM, Daniel Vetter wrote: >

Re: [PATCH libdrm] libdrm: Allow dynamic drm majors on linux

2018-09-05 Thread Thomas Hellstrom
On 09/05/2018 03:07 PM, Emil Velikov wrote: On 5 September 2018 at 11:10, Thomas Hellstrom wrote: Hi, Emil, On 09/05/2018 11:33 AM, Emil Velikov wrote: On 4 September 2018 at 23:33, Dave Airlie wrote: On Tue, 4 Sep 2018 at 03:00, Thomas Hellstrom wrote: On 09/03/2018 06:33 PM, Daniel Vet

Re: [PATCH v3] drm/msm: dpu: Allow planes to extend past active display

2018-09-05 Thread Sean Paul
On Tue, Sep 04, 2018 at 05:14:01PM -0700, Jeykumar Sankaran wrote: > On 2018-08-29 10:49, Sean Paul wrote: > > From: Sean Paul > > > > The atomic_check is a bit too aggressive with respect to planes which > > leave the active area. This caused a bunch of log spew when the cursor > > got to the ed

Re: [PATCH 12/14] drm/msm/dpu: remove topology name

2018-09-05 Thread Sean Paul
On Tue, Sep 04, 2018 at 04:03:25PM -0700, Jeykumar Sankaran wrote: > On 2018-08-31 09:08, Sean Paul wrote: > > On Tue, Aug 28, 2018 at 05:40:01PM -0700, Jeykumar Sankaran wrote: > > > Strip down the support for topology enums. It > > > can be replaced with simple hw count checks. > > > > > > > Ch

Re: [Bug 107784] [AMD tahiti XT] displayport broken

2018-09-05 Thread sylvain . bertrand
Ok, I got it. Since my git knowledge is quite limited, this "merge" commit is opening a vast sea of new commits to test. I'll dive into bisection using bisect (which actually deals with those merge commits). I am a bit scared of the amount of commits, may take hours/days. Please, in the foreseab

  1   2   3   >