Re: [PATCH] drm: dw-hdmi: Fix compilation breakage by selecting REGMAP_MMIO

2017-06-11 Thread Sean Paul
On Sun, Jun 11, 2017 at 11:50:59AM +0530, Archit Taneja wrote: > > > On 6/10/2017 2:29 PM, Laurent Pinchart wrote: > > The dw-hdmi driver switched to regmap-mmio, but lacks the dependency in > > Kconfig. This can result in compilation breakages. Fix it by selecting > > REGMAP_MMIO. > > > > Fixes

Re: [PATCH] ARM: dts: exynos: Add the OF graph between fimd and dsi

2017-06-11 Thread Krzysztof Kozlowski
On Fri, Jun 09, 2017 at 11:59:33AM +0900, Hoegeun Kwon wrote: > It should be connected to OF graph between fimd and dsi. > Add the OF graph between fimd and dsi. I need more explanation why this is needed. What happens without this? What issue is fixed here? What about Exynos5250 and Exynos5420?

Re: [PATCH 3/3] ARM: dts: exynos: Remove the display-timing and delay from rinato dts

2017-06-11 Thread Krzysztof Kozlowski
On Fri, Jun 09, 2017 at 01:59:14PM +0900, Hoegeun Kwon wrote: > The display-timing and delay are included in the panel driver. So it > should be removed in dts. > > Signed-off-by: Hoegeun Kwon > --- > arch/arm/boot/dts/exynos3250-rinato.dts | 22 -- > 1 file changed, 22 delet

Re: [PATCH 19/19] ARM: sun6i: a31s: Enable HDMI display output on the MSI Primo81 tablet

2017-06-11 Thread Chen-Yu Tsai
On Thu, Jun 8, 2017 at 6:47 AM, Ilia Mirkin wrote: > On Wed, Jun 7, 2017 at 6:36 PM, Rob Herring wrote: >> On Fri, Jun 02, 2017 at 09:42:19PM +0200, Maxime Ripard wrote: >>> On Fri, Jun 02, 2017 at 06:10:24PM +0800, Chen-Yu Tsai wrote: >>> > The MSI Primo81 tablet has a micro HDMI connector at th

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-11 Thread Marco Diego Aurélio Mesquita
Hi Devs! On Fri, Jun 9, 2017 at 7:31 PM, Noralf Trønnes wrote: > > Den 09.06.2017 22.59, skrev Marco Diego Aurélio Mesquita: >> >> Hi Devs! >> >> On Thu, Jun 8, 2017 at 4:08 AM, Hans de Goede wrote: >>> >>> I don't think that using cma for the gm12u320 is a good idea, it will >>> typically be us

Re: [PATCH] drm: bridge: synopsys/dw-hdmi: Provide default configuration function for HDMI 2.0 PHY

2017-06-11 Thread Jose Abreu
Hi Mark, On 09-06-2017 12:04, Jose Abreu wrote: > Currently HDMI 2.0 PHYs do not have a default configuration function. > > As these PHYs have the same register layout as the 3D PHYs we can > safely use the default configuration function. I may have been a little to fast arriving at this conclus

Re: [PATCH v5 4/5] arm64: dts: exynos: Remove the OF graph from DSI node

2017-06-11 Thread Krzysztof Kozlowski
On Wed, Jun 07, 2017 at 03:14:20PM +0900, Hoegeun Kwon wrote: > On 05/19/2017 03:17 PM, Hoegeun Kwon wrote: > >On 05/16/2017 01:48 AM, Krzysztof Kozlowski wrote: > >>On Wed, Mar 08, 2017 at 01:54:11PM +0900, Hoegeun Kwon wrote: > >>>The OF graph is not needed because the panel is a child of dsi. Re

Re: [PATCH 2/4] drm/bridge: dw-hdmi: add cec notifier support

2017-06-11 Thread Russell King - ARM Linux
On Fri, Jun 09, 2017 at 02:59:20PM +0200, Neil Armstrong wrote: > On 05/30/2017 04:23 PM, Russell King wrote: > > Add CEC notifier support to the HDMI bridge driver, so that the CEC > > part of the IP can receive its physical address. > > > > Signed-off-by: Russell King > > --- > > drivers/gpu/d

Re: [PATCH 2/4] drm/bridge: dw-hdmi: add cec notifier support

2017-06-11 Thread Russell King - ARM Linux
On Fri, Jun 09, 2017 at 03:56:39PM +0200, Neil Armstrong wrote: > Yes, but on the Amlogic Meson plarform, the DW-HDMI CEC controller is > not used, but a custom one, so this notifier is actually useful for > this platform and maybe others. Is the CEC controller configured into dw-hdmi (is the conf

Re: [PATCH] staging: vboxvideo: Add vboxvideo to drivers/staging

2017-06-11 Thread Michael Thayer
Hello, 09.06.2017 12:21, Hans de Goede wrote: Hi, On 09-06-17 12:07, Greg Kroah-Hartman wrote: On Fri, Jun 09, 2017 at 11:58:31AM +0200, Hans de Goede wrote: This commit adds the vboxvideo drm/kms driver for the virtual graphics card used in Virtual Box virtual machines to drivers/staging. W

Re: [PATCH 1/4] drm: bridge: dw-hdmi: Export hdmi_phy_configure_dwc_hdmi_3d_tx

2017-06-11 Thread Jose Abreu
Hi Mark, On 09-06-2017 05:03, Mark yao wrote: > Ignore this patch, Jose has a better patch to solve rk3399 hdmi > phy configure. > > Hi Jose > > Sorry for missing your patch about hdmi 2.0 vendor phy fixup: > https://urldefense.proofpoint.com/v2/url?u=https-3A__patchwork.kernel.org_patch_9702229&

Re: [linux-sunxi] Re: [PATCH v2 10/11] ARM: sun8i: h3: add display engine pipeline for TVE

2017-06-11 Thread icenowy
在 2017-06-07 17:42,Maxime Ripard 写道: On Mon, Jun 05, 2017 at 12:01:48AM +0800, Icenowy Zheng wrote: + soc { + display_clocks: clock@100 { + compatible = "allwinner,sun8i-a83t-de2-clk"; + reg = <0x0100 0x10>; +

Re: [PATCH v2 07/11] drm: sun4i: add support for the TV encoder in H3 SoC

2017-06-11 Thread icenowy
在 2017-06-07 17:38,Maxime Ripard 写道: On Mon, Jun 05, 2017 at 12:01:45AM +0800, Icenowy Zheng wrote: Allwinner H3 features a TV encoder similar to the one in earlier SoCs, but has a internal fixed clock divider that divides the TCON1 clock (called TVE clock in datasheet) by 11. Add support for i

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-11 Thread Marco Diego Aurélio Mesquita
Hi Devs! On Thu, Jun 8, 2017 at 4:08 AM, Hans de Goede wrote: > I don't think that using cma for the gm12u320 is a good idea, it will > typically be used as a secondary GPU output together with a real GPU > extending the desktop by being a prime display output. So for the memory > management stuf

Re: [linux-sunxi] Re: [PATCH v2 01/11] dt-bindings: update the binding for Allwinner H3 TVE support

2017-06-11 Thread Icenowy Zheng
于 2017年6月10日 GMT+08:00 上午12:49:15, Maxime Ripard 写到: >On Wed, Jun 07, 2017 at 04:48:50PM +0800, Icenowy Zheng wrote: >> >> @@ -189,6 +211,8 @@ supported. >> >> Required properties: >> >>- compatible: value must be one of: >> >> * allwinner,sun8i-v3s-de2-mixer >> >> +* allwinner,su

Re: [PATCH v3 2/6] dt-bindings: display: Add Synopsys DW MIPI DSI DRM bridge driver

2017-06-11 Thread Jose Abreu
Hello, On 09-06-2017 05:11, Archit Taneja wrote: > Hi Philippe, Rob, > > On 06/08/2017 09:10 PM, Rob Herring wrote: >> Seems strange there's not also a pixel or bit clock? Or this >> gets driven >> from the phy? > > Since you mention phy here, I wanted to share a concern with > the bindings. > Th

[PATCH] drm: bridge: synopsys/dw-hdmi: Provide default configuration function for HDMI 2.0 PHY

2017-06-11 Thread Jose Abreu
Currently HDMI 2.0 PHYs do not have a default configuration function. As these PHYs have the same register layout as the 3D PHYs we can safely use the default configuration function. If, for some reason, the PHY is custom this change will not make any impact because in configuration function we pr

[PATCH] drm: hibmc: Use set_busid function from drm core

2017-06-11 Thread Daniel Axtens
Currently, calling drmGetBusid from libdrm on a hibmc VGA card returns a string like "0007:a1:00.0". The busid reported by most cards begins with "pci:". For example, on an amd64 system, a VGA card reported "pci::00:02.0". The missing "pci:" prefix confuses Xorg and leads to crashes and other

Re: [linux-sunxi] Re: [PATCH v2 01/11] dt-bindings: update the binding for Allwinner H3 TVE support

2017-06-11 Thread Jernej Škrabec
Hi! Dne petek, 09. junij 2017 ob 18:51:02 CEST je Icenowy Zheng napisal(a): > 于 2017年6月10日 GMT+08:00 上午12:49:15, Maxime Ripard 写到: > >On Wed, Jun 07, 2017 at 04:48:50PM +0800, Icenowy Zheng wrote: > >> >> @@ -189,6 +211,8 @@ supported. > >> >> > >> >> Required properties: > >> >>- compatibl

[PATCH] drm/mediatek: check for memory allocation failure

2017-06-11 Thread Christophe JAILLET
If 'devm_kmalloc_array' returns NULL, we should return -ENOMEM as already done a few lines above instead of deferencing a NULL pointer a few lines below. Signed-off-by: Christophe JAILLET --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gp

Re: [linux-sunxi] Re: [PATCH v2 01/11] dt-bindings: update the binding for Allwinner H3 TVE support

2017-06-11 Thread icenowy
在 2017-06-10 05:24,Jernej Škrabec 写道: Hi! Dne petek, 09. junij 2017 ob 18:51:02 CEST je Icenowy Zheng napisal(a): 于 2017年6月10日 GMT+08:00 上午12:49:15, Maxime Ripard electrons.com> 写到: >On Wed, Jun 07, 2017 at 04:48:50PM +0800, Icenowy Zheng wrote: >> >> @@ -189,6 +211,8 @@ supported. >> >> >> >

Re: [PATCH v2 03/11] drm: sun4i: ignore swapped mixer<->tcon connection for DE2

2017-06-11 Thread icenowy
在 2017-06-10 22:57,icen...@aosc.io 写道: 在 2017-06-09 22:46,Maxime Ripard 写道: On Thu, Jun 08, 2017 at 01:01:53PM +0800, icen...@aosc.io wrote: 在 2017-06-07 22:38,Maxime Ripard 写道: > On Wed, Jun 07, 2017 at 06:01:02PM +0800, Icenowy Zheng wrote: > > >I have no idea what this is supposed to be doin

Re: [PATCH v2 03/11] drm: sun4i: ignore swapped mixer<->tcon connection for DE2

2017-06-11 Thread icenowy
在 2017-06-09 22:46,Maxime Ripard 写道: On Thu, Jun 08, 2017 at 01:01:53PM +0800, icen...@aosc.io wrote: 在 2017-06-07 22:38,Maxime Ripard 写道: > On Wed, Jun 07, 2017 at 06:01:02PM +0800, Icenowy Zheng wrote: > > >I have no idea what this is supposed to be doing either. > > > > > >I might be wrong, b

Re: [PATCH] drm: Use vsnprintf extension %ph

2017-06-11 Thread Andy Shevchenko
On Sun, Jun 11, 2017 at 3:20 AM, Joe Perches wrote: > On Sat, 2017-06-10 at 19:12 +0300, Andy Shevchenko wrote: >> On Wed, May 31, 2017 at 2:35 AM, Joe Perches wrote: >> > Using the extension saves a bit of code. >> > + seq_printf(m, "faux/mst: %*ph\n", 2, buf); >> > +

Re: [PATCH] drm: dw-hdmi: Fix compilation breakage by selecting REGMAP_MMIO

2017-06-11 Thread Neil Armstrong
On 06/10/2017 10:59 AM, Laurent Pinchart wrote: > The dw-hdmi driver switched to regmap-mmio, but lacks the dependency in > Kconfig. This can result in compilation breakages. Fix it by selecting > REGMAP_MMIO. > > Fixes: 80e2f97968b5 ("drm: bridge: dw-hdmi: Switch to regmap for register > access"

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-11 Thread Hans de Goede
Hi, On 11-06-17 19:20, Marco Diego Aurélio Mesquita wrote: On Sat, Jun 10, 2017 at 3:39 PM, Hans de Goede wrote: On 10-06-17 19:14, Marco Diego Aurélio Mesquita wrote: I applied this change and now gnome monitors tool identifies it as another monitor, thanks Noralf! There are still some probl

[Bug 101368] Nouveau regression GT218M in Kernel 4.11 Won't Boot

2017-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101368 --- Comment #4 from Ben Steel --- Created attachment 131881 --> https://bugs.freedesktop.org/attachment.cgi?id=131881&action=edit dmesg after rmmod and insmod of nouveau Tried the command sudo rmmod -v nouveau followed by sudo insmod /l

[Bug 101382] [r300] Electronic super joy crash on 17.1.0 (17.0.5 is ok)

2017-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101382 Bug ID: 101382 Summary: [r300] Electronic super joy crash on 17.1.0 (17.0.5 is ok) Product: Mesa Version: 17.1 Hardware: x86-64 (AMD64) OS: All

[Bug 101382] [r300] Electronic super joy crash on 17.1.0 (17.0.5 is ok)

2017-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101382 --- Comment #1 from cosiek...@o2.pl --- Created attachment 131882 --> https://bugs.freedesktop.org/attachment.cgi?id=131882&action=edit working aplication log -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 101382] [r300] Electronic super joy crash on 17.1.0 (17.0.5 is ok)

2017-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101382 --- Comment #2 from cosiek...@o2.pl --- Created attachment 131883 --> https://bugs.freedesktop.org/attachment.cgi?id=131883&action=edit crash log -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 101382] [r300] Electronic super joy crash on 17.1.0 (17.0.5 is ok)

2017-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101382 cosiek...@o2.pl changed: What|Removed |Added Attachment #131882|text/x-log |text/plain mime type|

[Bug 101382] [r300] Electronic super joy crash on 17.1.0 (17.0.5 is ok)

2017-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101382 cosiek...@o2.pl changed: What|Removed |Added Attachment #131883|text/x-log |text/plain mime type|

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-11 Thread Noralf Trønnes
Den 11.06.2017 19.20, skrev Marco Diego Aurélio Mesquita: On Sat, Jun 10, 2017 at 3:39 PM, Hans de Goede wrote: On 10-06-17 19:14, Marco Diego Aurélio Mesquita wrote: I applied this change and now gnome monitors tool identifies it as another monitor, thanks Noralf! There are still some proble

[Bug 101382] [r300] Electronic super joy crash on 17.1.0 (17.0.5 is ok)

2017-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101382 cosiek...@o2.pl changed: What|Removed |Added Attachment #131883|crash log |crash log after patch descripti

[Bug 101382] [r300] Electronic super joy crash on 17.1.0 (17.0.5 is ok)

2017-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101382 --- Comment #3 from cosiek...@o2.pl --- Created attachment 131884 --> https://bugs.freedesktop.org/attachment.cgi?id=131884&action=edit crash log on 17.0.4-1 -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 101382] [r300] Electronic super joy crash on 17.1.0 (17.0.5 is ok)

2017-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101382 cosiek...@o2.pl changed: What|Removed |Added Attachment #131884|text/x-log |text/plain mime type|

[Bug 101382] [r300] Electronic super joy crash on 17.1.0 (17.0.5 is ok)

2017-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101382 cosiek...@o2.pl changed: What|Removed |Added Attachment #131883|crash log after patch |crash log after description|

[Bug 101382] [r300] Electronic super joy crash on 17.1.0 (17.0.5 is ok)

2017-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101382 --- Comment #4 from cosiek...@o2.pl --- Ok… The world is clearly not rational… Packages from here:https://archive.archlinux.org/packages/l/lib32-mesa/ 17.1.2-1 crash(different) 17.1.1-1 crash(different) 17.1.0-1 crash(different) 17.0.5-1 workin

[PATCH] drm: Add properties to control YCbCr to RGB conversion

2017-06-11 Thread Jyri Sarha
Changes since v5: - Fix typo from patch subject - Remove DRM_MODE_PROP_ATOMIC flag from color_encodeing properties The previous version of this series (that reduced to one patch) can be found here: https://lists.freedesktop.org/archives/dri-devel/2017-May/143075.html and Ville Syrjälä's comments

[PATCH] drm: Add optional COLOR_ENCODING and COLOR_RANGE properties to drm_plane

2017-06-11 Thread Jyri Sarha
Add a standard optional properties to support different non RGB color encodings in DRM planes. COLOR_ENCODING select the supported non RGB color encoding, for instance ITU-R BT.709 YCbCr. COLOR_RANGE selects the value ranges within the selected color encoding. The properties are stored to drm_plane

Re: [PATCH] drm: Add optional COLOR_ENCODING and COLOR_RANGE properties to drm_plane

2017-06-11 Thread kbuild test robot
Hi Jyri, [auto build test WARNING on drm/drm-next] [also build test WARNING on next-20170609] [cannot apply to v4.12-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Jyri-Sarha/drm-Add-option

[Bug 101368] Nouveau regression GT218M in Kernel 4.11 Won't Boot

2017-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101368 --- Comment #5 from Ilia Mirkin --- Can you see if this patch helps any? https://github.com/skeggsb/linux/commit/a7cb78bab3671dbad08e5b2f5fd83a6dbda90fe5 If not, please boot with nouveau.debug=trace as well. -- You are receiving this mail be

[Bug 93826] 2560x1440 @144Hz graphic glitches and bad refresh rate

2017-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93826 --- Comment #56 from Eike --- (In reply to iuno from comment #52) > It could be fixed by increasing the default display clock: > https://people.freedesktop.org/~cbrill/dri-log/index. > php?channel=radeon&highlight_names=agd5f;grmat&date=2017-01-0

Re: [RFC 0/1] drm: Add Grain Media GM12U320 kms driver

2017-06-11 Thread Marco Diego Aurélio Mesquita
On Sat, Jun 10, 2017 at 3:39 PM, Hans de Goede wrote: > On 10-06-17 19:14, Marco Diego Aurélio Mesquita wrote: >> I applied this change and now gnome monitors tool identifies it as >> another monitor, thanks Noralf! There are still some problems: when I >> activate it, gnome complains "could not s

Re: [PATCH RESEND 1/6] drm/atomic: initial support for asynchronous plane update

2017-06-11 Thread Gustavo Padovan
2017-06-01 Gustavo Padovan : > 2017-05-31 Eric Anholt : > > > Gustavo Padovan writes: > > > > > From: Gustavo Padovan > > > > > > In some cases, like cursor updates, it is interesting to update the > > > plane in an asynchronous fashion to avoid big delays. The current queued > > > update coul

Re: [PATCH] drm/sun4i: hdmi: Implement I2C adapter for A10s DDC bus

2017-06-11 Thread Chen-Yu Tsai
On Mon, Jun 12, 2017 at 10:12 AM, Jonathan Liu wrote: > The drm_get_edid function should be used instead of drm_do_get_edid by > exposing the DDC bus as an I2C adapter. Implement this for A10s. Nice! > > Signed-off-by: Jonathan Liu > --- > drivers/gpu/drm/sun4i/Makefile | 1 + > driv

[PATCH v2] drm/sun4i: hdmi: Implement I2C adapter for A10s DDC bus

2017-06-11 Thread Jonathan Liu
The drm_get_edid function should be used instead of drm_do_get_edid by exposing the DDC bus as an I2C adapter. Implement this for A10s. Signed-off-by: Jonathan Liu --- Changes for v2: - Rebased against Maxime's sunxi-drm/for-next branch - Fix up error paths in sun4i_hdmi_bind so that the I2C ad

Re: [PATCH] drm/sun4i: hdmi: Implement I2C adapter for A10s DDC bus

2017-06-11 Thread Jonathan Liu
Hi Chen-Yu, On 12 June 2017 at 13:28, Chen-Yu Tsai wrote: > On Mon, Jun 12, 2017 at 10:12 AM, Jonathan Liu wrote: >> The drm_get_edid function should be used instead of drm_do_get_edid by >> exposing the DDC bus as an I2C adapter. Implement this for A10s. > > Nice! It is my first Linux kernel d

[PATCH] drm: panel: fix s6e3ha2.c build errors

2017-06-11 Thread Randy Dunlap
From: Randy Dunlap Fix build errors in panel-samsung-s6e3ha2.c driver build. The driver uses backlight interfaces so it should depend on BACKLIGHT_CLASS_DEVICE. drivers/built-in.o: In function `s6e3ha2_remove': panel-samsung-s6e3ha2.c:(.text+0xe49c2): undefined reference to `backlight_device_un

[PATCH] drm/sun4i: hdmi: Implement I2C adapter for A10s DDC bus

2017-06-11 Thread Jonathan Liu
The drm_get_edid function should be used instead of drm_do_get_edid by exposing the DDC bus as an I2C adapter. Implement this for A10s. Signed-off-by: Jonathan Liu --- drivers/gpu/drm/sun4i/Makefile | 1 + drivers/gpu/drm/sun4i/sun4i_hdmi.h | 11 ++- drivers/gpu/drm/sun4i/sun4i_hd