[Bug 111229] Unable to unbind GPU from amdgpu

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111229 --- Comment #4 from weden...@yandex.ru --- My first guess is that unbinding causes GPU reset which is known to leave GPU in a messy state ("the reset bug"). -- You are receiving this mail because: You are the assignee for the

[Bug 111229] Unable to unbind GPU from amdgpu

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111229 weden...@yandex.ru changed: What|Removed |Added See Also||https://bugs.freedesktop.or

[Bug 111229] Unable to unbind GPU from amdgpu

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111229 weden...@yandex.ru changed: What|Removed |Added See Also||https://bugs.freedesktop.or

[Bug 101946] Rebinding AMDGPU causes initialization errors [R9 290]

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101946 weden...@yandex.ru changed: What|Removed |Added See Also||https://bugs.freedesktop.or

[Bug 106993] general protection fault in mutex_lock / drm_mode_object_unregister when unloading amdgpu

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106993 weden...@yandex.ru changed: What|Removed |Added See Also||https://bugs.freedesktop.or

[Bug 111229] Unable to unbind GPU from amdgpu

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111229 --- Comment #3 from weden...@yandex.ru --- Created attachment 144880 --> https://bugs.freedesktop.org/attachment.cgi?id=144880=edit lspci -vvv after unbind -- You are receiving this mail because: You are the assignee for the

[Bug 111229] Unable to unbind GPU from amdgpu

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111229 --- Comment #2 from weden...@yandex.ru --- Created attachment 144879 --> https://bugs.freedesktop.org/attachment.cgi?id=144879=edit lspci -vvv before unbind -- You are receiving this mail because: You are the assignee for the

[Bug 111229] Unable to unbind GPU from amdgpu

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111229 Bug ID: 111229 Summary: Unable to unbind GPU from amdgpu Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

[Bug 111229] Unable to unbind GPU from amdgpu

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111229 --- Comment #1 from weden...@yandex.ru --- Created attachment 144878 --> https://bugs.freedesktop.org/attachment.cgi?id=144878=edit dmesg kernel 4.19.60 -- You are receiving this mail because: You are the assignee for the

Re: [PATCH 00/11] JZ4740 SoC cleanup

2019-07-26 Thread Paul Cercueil
Le ven. 26 juil. 2019 à 14:46, Sam Ravnborg a écrit : Hi Paul. On Thu, Jul 25, 2019 at 06:02:04PM -0400, Paul Cercueil wrote: Hi, This patchset converts the Qi LB60 MIPS board to devicetree and makes it use all the shiny new drivers that have been developed or updated recently.

Re: [PATCH 1/4] video: of: display_timing: Add of_node_put() in of_get_display_timing()

2019-07-26 Thread Laurent Pinchart
Hi Douglas, Thank you for the patch. On Mon, Jul 22, 2019 at 11:24:36AM -0700, Douglas Anderson wrote: > From code inspection it can be seen that of_get_display_timing() is > lacking an of_node_put(). Add it. > > Fixes: ffa3fd21de8a ("videomode: implement public of_get_display_timing()") >

Re: [PATCH 3/3] drm/bridge: Add NWL MIPI DSI host controller support

2019-07-26 Thread Laurent Pinchart
Hello Guido, Thank you for the patch. On Wed, Jul 24, 2019 at 05:52:26PM +0200, Guido Günther wrote: > This adds initial support for the NWL MIPI DSI Host controller found on > i.MX8 SoCs. > > It adds support for the i.MX8MQ but the same IP can be found on > e.g. the i.MX8QXP. > > It has been

[Bug 111228] PRIME output screen satys black on 1002:15d8 with 128MB VRAM

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111228 --- Comment #2 from djczaps --- https://devtalk.nvidia.com/default/topic/1056652/linux/amd-ryzen-7-geforce-gtx-1660-ti-laptop-gt-cannot-get-nvidia-to-be-used-as-primary-graphics/post/5365696/#5365696 -- You are receiving this mail because:

[Bug 111228] PRIME output screen satys black on 1002:15d8 with 128MB VRAM

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111228 --- Comment #1 from djczaps --- Created attachment 144876 --> https://bugs.freedesktop.org/attachment.cgi?id=144876=edit nvidia bug report I'm consistentky trying to run my Nvidia gtx 1660 Ti on laptop with Ryzen 7 processor. So far

Re: [PATCH 3/3] drm/bridge: Add NWL MIPI DSI host controller support

2019-07-26 Thread Laurent Pinchart
Hello, On Fri, Jul 26, 2019 at 05:01:52PM -0300, Fabio Estevam wrote: > Hi Guido, > > Thanks for your work on this driver! > > On Wed, Jul 24, 2019 at 12:52 PM Guido Günther wrote: > > > --- /dev/null > > +++ b/drivers/gpu/drm/bridge/imx-nwl/Kconfig > > @@ -0,0 +1,15 @@ > > +config

Re: [PATCH 2/3] dt-bindings: display/bridge: Add binding for IMX NWL mipi dsi host controller

2019-07-26 Thread Laurent Pinchart
Hello, On Fri, Jul 26, 2019 at 11:23:15AM +0200, Sam Ravnborg wrote: > On Wed, Jul 24, 2019 at 05:52:25PM +0200, Guido Günther wrote: > > The Northwest Logic MIPI DSI IP core can be found in NXPs i.MX8 SoCs. > > > > Signed-off-by: Guido Günther > > --- > >

Re: [PATCH 2/3] dt-bindings: display/bridge: Add binding for IMX NWL mipi dsi host controller

2019-07-26 Thread Laurent Pinchart
Hi Guido, Thank you for the patch. On Wed, Jul 24, 2019 at 05:52:25PM +0200, Guido Günther wrote: > The Northwest Logic MIPI DSI IP core can be found in NXPs i.MX8 SoCs. > > Signed-off-by: Guido Günther > --- > .../bindings/display/bridge/imx-nwl-dsi.txt | 89 +++ > 1 file

[Bug 111228] PRIME output screen satys black on 1002:15d8 with 128MB VRAM

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111228 Bug ID: 111228 Summary: PRIME output screen satys black on 1002:15d8 with 128MB VRAM Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: Linux

Re: My penguin has blue feets (aka: RGB versus BGR troubles)

2019-07-26 Thread Daniel Vetter
On Fri, Jul 26, 2019 at 11:35 PM Ilia Mirkin wrote: > On Fri, Jul 26, 2019 at 4:36 PM Sam Ravnborg wrote: > > > > Hi all. > > > > The Atmel at91sam9263 has a nice LCDC IP core that supports several > > formats: > > DRM_FORMAT_XBGR, DRM_FORMAT_BGR888, DRM_FORMAT_BGR565 > > > > (It also

Re: [PATCH] drm/i810: Use CONFIG_PREEMPTION

2019-07-26 Thread Daniel Vetter
On Fri, Jul 26, 2019 at 10:25 PM Thomas Gleixner wrote: > > CONFIG_PREEMPTION is selected by CONFIG_PREEMPT and by > CONFIG_PREEMPT_RT. Both PREEMPT and PREEMPT_RT require the same > functionality which today depends on CONFIG_PREEMPT. > > Change the Kconfig dependency of i810 to

Re: [PULL] drm-fixes

2019-07-26 Thread pr-tracker-bot
The pull request you sent on Fri, 26 Jul 2019 21:45:55 +0200: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2019-07-26 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e2921f9f95f1c1355a39e54dc038ad95b6e032be Thank you! -- Deet-doot-dot, I am a bot.

Re: My penguin has blue feets (aka: RGB versus BGR troubles)

2019-07-26 Thread Ilia Mirkin
On Fri, Jul 26, 2019 at 4:36 PM Sam Ravnborg wrote: > > Hi all. > > The Atmel at91sam9263 has a nice LCDC IP core that supports several > formats: > DRM_FORMAT_XBGR, DRM_FORMAT_BGR888, DRM_FORMAT_BGR565 > > (It also supports a palletized C8 format, but thats for later). > > The formats

[PATCH v3 1/1] drm/vblank: drop use of DRM_WAIT_ON()

2019-07-26 Thread Sam Ravnborg
DRM_WAIT_ON() is from the deprecated drm_os_linux header and the modern replacement is the wait_event_*. The return values differ, so a conversion is needed to keep the original interface towards userspace. Introduced a switch/case to make code obvious. Analysis from Michel Dänzer: The waiting

[RFC PATCH] drm: add Atmel LCDC display controller support

2019-07-26 Thread Sam Ravnborg
This is the current state of the driver for the at91sam* LCDC IP. Notice that it needs some other companion drivers and I posted this code-drop only to support the request for help on the BGR versus RGB issue. That said - any review feedback will be appreciated! Sam From

My penguin has blue feets (aka: RGB versus BGR troubles)

2019-07-26 Thread Sam Ravnborg
Hi all. The Atmel at91sam9263 has a nice LCDC IP core that supports several formats: DRM_FORMAT_XBGR, DRM_FORMAT_BGR888, DRM_FORMAT_BGR565 (It also supports a palletized C8 format, but thats for later). The formats are all BGR formats - and some boards actually reverse Blue and Red when

Re: [PATCH v6 22/24] drm/amdgpu: Provide ddc symlink in connector sysfs directory

2019-07-26 Thread Alex Deucher
On Fri, Jul 26, 2019 at 3:42 PM Andrzej Pietrasiewicz wrote: > > Hi Alex, > > > W dniu 26.07.2019 o 21:28, Alex Deucher pisze: > > On Fri, Jul 26, 2019 at 1:28 PM Andrzej Pietrasiewicz > > wrote: > >> > >> Use the ddc pointer provided by the generic connector. > >> > >> Signed-off-by: Andrzej

Re: [PATCH 3/3] drm/bridge: Add NWL MIPI DSI host controller support

2019-07-26 Thread Fabio Estevam
Hi Guido, Thanks for your work on this driver! On Wed, Jul 24, 2019 at 12:52 PM Guido Günther wrote: > --- /dev/null > +++ b/drivers/gpu/drm/bridge/imx-nwl/Kconfig > @@ -0,0 +1,15 @@ > +config DRM_IMX_NWL_DSI > + tristate "Support for Northwest Logic MIPI DSI Host controller" > +

[PULL] drm-fixes

2019-07-26 Thread Daniel Vetter
Hi Linus, Dave seems to collect an entire streak of things happening, so again me typing pull summary. Nothing nefarious here, most of the fixes are for new stuff or things users won't see. The amd-display patches are a bit different, and very much look like they should have at least some cc:

Re: [PATCH v6 22/24] drm/amdgpu: Provide ddc symlink in connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Hi Alex, W dniu 26.07.2019 o 21:28, Alex Deucher pisze: On Fri, Jul 26, 2019 at 1:28 PM Andrzej Pietrasiewicz wrote: Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Note that this only covers the legacy display code. The new DC display code

Re: [PATCH] drm/i915: Remove redundant user_access_end() from __copy_from_user() error path

2019-07-26 Thread Chris Wilson
Quoting Thomas Gleixner (2019-07-26 20:18:32) > On Fri, 26 Jul 2019, Chris Wilson wrote: > > Quoting Thomas Gleixner (2019-07-25 22:55:45) > > > On Thu, 25 Jul 2019, Josh Poimboeuf wrote: > > > > > > > Objtool reports: > > > > > > > > drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o: warning:

Re: [PATCH v6 22/24] drm/amdgpu: Provide ddc symlink in connector sysfs directory

2019-07-26 Thread Alex Deucher
On Fri, Jul 26, 2019 at 1:28 PM Andrzej Pietrasiewicz wrote: > > Use the ddc pointer provided by the generic connector. > > Signed-off-by: Andrzej Pietrasiewicz Note that this only covers the legacy display code. The new DC display code also needs to be converted. See:

Re: [PATCH v6 23/24] drm/radeon: Provide ddc symlink in connector sysfs directory

2019-07-26 Thread Alex Deucher
On Fri, Jul 26, 2019 at 1:29 PM Andrzej Pietrasiewicz wrote: > > Use the ddc pointer provided by the generic connector. > > Signed-off-by: Andrzej Pietrasiewicz Acked-by: Alex Deucher > --- > drivers/gpu/drm/radeon/radeon_connectors.c | 142 +++-- > 1 file changed, 106

Re: [PATCH] drm/i915: Remove redundant user_access_end() from __copy_from_user() error path

2019-07-26 Thread Thomas Gleixner
On Fri, 26 Jul 2019, Chris Wilson wrote: > Quoting Thomas Gleixner (2019-07-25 22:55:45) > > On Thu, 25 Jul 2019, Josh Poimboeuf wrote: > > > > > Objtool reports: > > > > > > drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o: warning: objtool: > > > .altinstr_replacement+0x36: redundant UACCESS

Re: [PATCH] drm/i915: Remove redundant user_access_end() from __copy_from_user() error path

2019-07-26 Thread Chris Wilson
Quoting Thomas Gleixner (2019-07-25 22:55:45) > On Thu, 25 Jul 2019, Josh Poimboeuf wrote: > > > Objtool reports: > > > > drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o: warning: objtool: > > .altinstr_replacement+0x36: redundant UACCESS disable > > > > __copy_from_user() already does both

Re: [PATCH 07/11] mtd: rawnand: Drop obsolete JZ4740 NAND driver

2019-07-26 Thread Miquel Raynal
Hi Paul, Paul Cercueil wrote on Thu, 25 Jul 2019 18:02:11 -0400: > It has been replaced with the newer Ingenic NAND driver. > > Signed-off-by: Paul Cercueil > Tested-by: Artur Rojek > --- Acked-by: Miquel Raynal Thanks, Miquèl

Review required [Was: Associate ddc adapters with connectors]

2019-07-26 Thread Sam Ravnborg
Hi all. Andrzej have done a good job following up on feedback and this series is now ready. We need ack on the patches touching the individual drivers before we can proceed. Please check your drivers and get back. Sam > Hi Andezej. > > On Fri, Jul 26, 2019 at 07:22:54PM +0200, Andrzej

[Bug 105251] [Vega10] GPU lockup on boot: VMC page fault

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105251 --- Comment #79 from deltasquared --- OK, have managed to get an unrelated crash from starting minetest now with the mentioned patch so at this point I think that case is unrelated. (Certainly seems to be more subtle, this MT crash has never

Re: [PATCH] drm/mst: Fix sphinx warnings in drm_dp_msg_connector register functions

2019-07-26 Thread Sean Paul
On Fri, Jul 26, 2019 at 2:06 PM Lyude Paul wrote: > > lgtm > > Reviewed-by: Lyude Paul > Thanks for the quick review! Pushed to drm-misc-next Sean > On Fri, 2019-07-26 at 10:20 -0400, Sean Paul wrote: > > From: Sean Paul > > > > Fixes the following warnings: > > > >

Re: [PATCH v5 07/11] drm/rockchip: Check for fast link training before enabling psr

2019-07-26 Thread Sean Paul
On Thu, Jul 25, 2019 at 08:39:42PM +0200, Heiko Stuebner wrote: > Hi Sean, > > Am Donnerstag, 25. Juli 2019, 20:08:12 CEST schrieb Sean Paul: > > On Tue, Jun 11, 2019 at 12:08:21PM -0400, Sean Paul wrote: > > > From: Sean Paul > > > > > > Once we start shutting off the link during PSR, we're

Re: [PATCH 00/11] JZ4740 SoC cleanup

2019-07-26 Thread Sam Ravnborg
Hi Paul. On Thu, Jul 25, 2019 at 06:02:04PM -0400, Paul Cercueil wrote: > Hi, > > This patchset converts the Qi LB60 MIPS board to devicetree and makes it > use all the shiny new drivers that have been developed or updated > recently. > > All the crappy old drivers and custom code can be

Re: [PATCH 05/11] video/fbdev: Drop JZ4740 driver

2019-07-26 Thread Sam Ravnborg
Hi Paul. On Thu, Jul 25, 2019 at 06:02:09PM -0400, Paul Cercueil wrote: > The JZ4740 fbdev driver has been replaced with the ingenic-drm driver. > > Signed-off-by: Paul Cercueil > Tested-by: Artur Rojek > --- > drivers/video/fbdev/Kconfig | 9 - > drivers/video/fbdev/Makefile| 1 -

Re: [PATCH v6 00/24] Associate ddc adapters with connectors

2019-07-26 Thread Sam Ravnborg
Hi Andezej. On Fri, Jul 26, 2019 at 07:22:54PM +0200, Andrzej Pietrasiewicz wrote: > It is difficult for a user to know which of the i2c adapters is for which > drm connector. This series addresses this problem. > > The idea is to have a symbolic link in connector's sysfs directory, e.g.: > >

Re: [PATCH v2 0/4] drm/panel: jh057n00900: Move dsi init sequence to prepare

2019-07-26 Thread Sam Ravnborg
Hi Guido. On Fri, Jul 26, 2019 at 03:14:35PM +0200, Guido Günther wrote: > > If the panel is wrapped in a panel_bridge it gets prepar()ed before the > upstream DSI bridge which can cause hangs (e.g. with imx-nwl since clocks > are not enabled yet). To avoid this move the panel's first DSI access

Re: [PATCH] drm/mst: Fix sphinx warnings in drm_dp_msg_connector register functions

2019-07-26 Thread Lyude Paul
lgtm Reviewed-by: Lyude Paul On Fri, 2019-07-26 at 10:20 -0400, Sean Paul wrote: > From: Sean Paul > > Fixes the following warnings: > > ../drivers/gpu/drm/drm_dp_mst_topology.c:1593: warning: Excess function > parameter 'drm_connector' description in > 'drm_dp_mst_connector_late_register' >

[Bug 110719] Crash in radeonsi_drv_video.so when attempting to convert rgb video data

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110719 Scott Moreau changed: What|Removed |Added Summary|Crash in|Crash in

[PATCH v3] drm: Set crc->opened to false before setting crc source to NULL.

2019-07-26 Thread David (Dingchen) Zhang
From: Dingchen Zhang to terminate the while-loop in drm_dp_aux_crc_work when drm_dp_start/stop_crc are called in the hook to set crc source. v3: set crc->opened to false without checking (Nick) v2: Move spin_lock around entire crc->opened use (Daniel) Cc: Daniel Vetter Cc: Harry Wentland Cc:

[PATCH v6 22/24] drm/amdgpu: Provide ddc symlink in connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- .../gpu/drm/amd/amdgpu/amdgpu_connectors.c| 96 ++- 1 file changed, 70 insertions(+), 26 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c

[PATCH v6 24/24] drm/i915: Provide ddc symlink in hdmi connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/i915/display/intel_hdmi.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c

[Bug 204331] amdgpu audio parameter not functional

2019-07-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204331 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC|

[PATCH v6 23/24] drm/radeon: Provide ddc symlink in connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/radeon/radeon_connectors.c | 142 +++-- 1 file changed, 106 insertions(+), 36 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c

[PATCH v6 21/24] drm/bridge: ti-tfp410: Provide ddc symlink in connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/bridge/ti-tfp410.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c index

[PATCH v6 20/24] drm/bridge: dw-hdmi: Provide ddc symlink in connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c

[PATCH v6 18/24] drm/ast: Provide ddc symlink in connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Reviewed-by: Thomas Zimmermann --- drivers/gpu/drm/ast/ast_mode.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/ast/ast_mode.c

[PATCH v6 19/24] drm/bridge: dumb-vga-dac: Provide ddc symlink in connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/bridge/dumb-vga-dac.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/dumb-vga-dac.c b/drivers/gpu/drm/bridge/dumb-vga-dac.c index

[PATCH v6 17/24] drm/mgag200: Provide ddc symlink in connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz Reviewed-by: Thomas Zimmermann --- drivers/gpu/drm/mgag200/mgag200_mode.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/mgag200/mgag200_mode.c

[PATCH v6 16/24] drm: sti: Provide ddc symlink in hdmi connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/sti/sti_hdmi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c index

[PATCH v6 15/24] drm/tilcdc: Provide ddc symlink in connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c b/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c index

[PATCH v6 14/24] drm: zte: Provide ddc symlink in vga connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/zte/zx_vga.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/zte/zx_vga.c b/drivers/gpu/drm/zte/zx_vga.c index 9b67e419280c..c4fa3bbaba78

[PATCH v6 13/24] drm: zte: Provide ddc symlink in hdmi connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/zte/zx_hdmi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/zte/zx_hdmi.c b/drivers/gpu/drm/zte/zx_hdmi.c index a50f5a1f09b8..b98a1420dcd3

[PATCH v6 12/24] drm/vc4: Provide ddc symlink in connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/vc4/vc4_hdmi.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c index

[PATCH v6 11/24] drm/imx: imx-tve: Provide ddc symlink in connector's sysfs

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/imx/imx-tve.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/imx/imx-tve.c b/drivers/gpu/drm/imx/imx-tve.c index 649515868f86..5bbfaa2cd0f4

[PATCH v6 09/24] drm/tegra: Provide ddc symlink in output connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/tegra/hdmi.c | 7 --- drivers/gpu/drm/tegra/sor.c | 7 --- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/tegra/hdmi.c

[PATCH v6 10/24] drm/imx: imx-ldb: Provide ddc symlink in connector's sysfs

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/imx/imx-ldb.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/imx/imx-ldb.c b/drivers/gpu/drm/imx/imx-ldb.c index de62a4cd4827..db461b6a257f

[PATCH v6 05/24] drm: rockchip: Provide ddc symlink in inno_hdmi sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/rockchip/inno_hdmi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/inno_hdmi.c b/drivers/gpu/drm/rockchip/inno_hdmi.c index

[PATCH v6 08/24] drm/mediatek: Provide ddc symlink in hdmi connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c index

[PATCH v6 06/24] drm/msm/hdmi: Provide ddc symlink in hdmi connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/msm/hdmi/hdmi_connector.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_connector.c

[PATCH v6 07/24] drm/sun4i: hdmi: Provide ddc symlink in sun4i hdmi connector sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c b/drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c

[PATCH v6 00/24] Associate ddc adapters with connectors

2019-07-26 Thread Andrzej Pietrasiewicz
It is difficult for a user to know which of the i2c adapters is for which drm connector. This series addresses this problem. The idea is to have a symbolic link in connector's sysfs directory, e.g.: ls -l /sys/class/drm/card0-HDMI-A-1/ddc lrwxrwxrwx 1 root root 0 Jun 24 10:42

[PATCH v6 03/24] drm/exynos: Provide ddc symlink in connector's sysfs

2019-07-26 Thread Andrzej Pietrasiewicz
Switch to using the ddc provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/exynos/exynos_hdmi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index

[PATCH v6 02/24] drm: Add drm_connector_init() variant with ddc

2019-07-26 Thread Andrzej Pietrasiewicz
Allow passing ddc adapter pointer to the init function. Even if drm_connector_init() sometime in the future decides to e.g. memset() all connector fields to zeros, the newly added function ensures that at its completion the ddc member of connector is correctly set. Signed-off-by: Andrzej

[PATCH v6 04/24] drm: rockchip: Provide ddc symlink in rk3066_hdmi sysfs directory

2019-07-26 Thread Andrzej Pietrasiewicz
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz --- drivers/gpu/drm/rockchip/rk3066_hdmi.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rk3066_hdmi.c b/drivers/gpu/drm/rockchip/rk3066_hdmi.c

[PATCH v6 01/24] drm: Add ddc link in sysfs created by drm_connector

2019-07-26 Thread Andrzej Pietrasiewicz
Add generic code which creates symbolic links in sysfs, pointing to ddc interface used by a particular video output. For example: ls -l /sys/class/drm/card0-HDMI-A-1/ddc lrwxrwxrwx 1 root root 0 Jun 24 10:42 /sys/class/drm/card0-HDMI-A-1/ddc \ -> ../../../../soc/1388.i2c/i2c-2 This

Re: [PATCH v3 2/7] drivers: Introduce device lookup variants by of_node

2019-07-26 Thread Mark Brown
On Tue, Jul 23, 2019 at 11:18:33PM +0100, Suzuki K Poulose wrote: > Introduce wrappers for {bus/driver/class}_find_device() to > locate devices by its of_node. Acked-by: Mark Brown signature.asc Description: PGP signature

Re: [PATCH v2 2/7] mm/hmm: a few more C style and comment clean ups

2019-07-26 Thread Ralph Campbell
On 7/25/19 11:23 PM, Christoph Hellwig wrote: Note: it seems like you've only CCed me on patches 2-7, but not on the cover letter and patch 1. I'll try to find them later, but to make Ccs useful they should normally cover the whole series. Otherwise this looks fine to me: Reviewed-by:

[Bug 204331] New: amdgpu audio parameter not functional

2019-07-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204331 Bug ID: 204331 Summary: amdgpu audio parameter not functional Product: Drivers Version: 2.5 Kernel Version: 5.2.2 Hardware: All OS: Linux Tree: Mainline

[Bug 111077] link_shader and deserialize_glsl_program suddenly consume huge amount of RAM

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111077 --- Comment #14 from Matt Turner --- (In reply to rol...@rptd.ch from comment #13) > I checked out the 18.2 branch which I assume should work (if the theory is > correct). > > Modifying files won't work with bisecting, right? You'll probably

[Bug 111211] Kernel 5.2.2 introduced tearing, corruption and freezes with Raven Ridge 2500U

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

[Bug 111211] Kernel 5.2.2 introduced tearing, corruption and freezes with Raven Ridge 2500U

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

Re: [PATCH v3 6a/7] dt-bindings: Add ANX6345 DP/eDP transmitter binding

2019-07-26 Thread Maxime Ripard
Hi, On Thu, Jul 25, 2019 at 05:18:29PM +0200, Torsten Duwe wrote: > The anx6345 is an ultra-low power DisplayPort/eDP transmitter designed > for portable devices. > > Add a binding document for it. > > Signed-off-by: Icenowy Zheng > Signed-off-by: Vasily Khoruzhick > Reviewed-by: Rob Herring >

Re: [PATCH] drm/komeda: Skips the invalid writeback job

2019-07-26 Thread Daniel Vetter
On Fri, Jul 26, 2019 at 4:44 PM Brian Starkey wrote: > > On Fri, Jul 26, 2019 at 04:23:56PM +0200, Daniel Vetter wrote: > > On Fri, Jul 26, 2019 at 08:13:00AM +, Lowry Li (Arm Technology China) > > wrote: > > > Current DRM-CORE accepts the writeback_job with a empty fb, but that > > > is an

Re: [PATCH v2] drm: Set crc->opened to false before setting crc source to NULL.

2019-07-26 Thread Kazlauskas, Nicholas
On 7/26/19 12:02 PM, David (Dingchen) Zhang wrote: > From: Dingchen Zhang > > to terminate the while-loop in drm_dp_aux_crc_work when > drm_dp_start/stop_crc are called in the hook to set crc source. > > v2: Move spin_lock around entire crc->opened use (Daniel) > > Cc: Daniel Vetter > Cc:

Re: Controllers with several interface options - one or more drivers?

2019-07-26 Thread Sam Ravnborg
Hi Daniel. Added Noralf - somehow I missed him on the original mail. On Fri, Jul 26, 2019 at 05:06:03PM +0200, Daniel Vetter wrote: > Also probably should add a few more (drm_bridge) people, I think > that's also somewhat relevant here. > -Daniel > > On Fri, Jul 26, 2019 at 4:55 PM Daniel

Re: [PATCH v2 6/7] drm/panfrost: Add support for GPU heap allocations

2019-07-26 Thread Rob Herring
On Fri, Jul 26, 2019 at 3:15 AM Steven Price wrote: > > On 25/07/2019 22:11, Rob Herring wrote: > > On Thu, Jul 25, 2019 at 7:08 AM Robin Murphy wrote: > >> > >> Hi Rob, > >> > >> On 25/07/2019 02:10, Rob Herring wrote: > >> [...] > >>> @@ -328,6 +427,18 @@ static irqreturn_t

Re: [PATCH] video: Demote panel timing not found error message

2019-07-26 Thread Bartlomiej Zolnierkiewicz
On 7/26/19 5:32 PM, Sam Ravnborg wrote: > Hi Bartlomiej Zolnierkiewicz >> >> Hi Sam, >> >> On 7/26/19 1:36 PM, Sam Ravnborg wrote: >>> Hi Thierry. >>> >>> On Fri, Jul 26, 2019 at 12:18:49PM +0200, Thierry Reding wrote: From: Thierry Reding Failing to find a panel-timing node is

Re: [PATCH v1 1/1] backlight: drop EARLY_EVENT_BLANK support

2019-07-26 Thread Sam Ravnborg
Hi Lee. On Thu, Jul 25, 2019 at 04:06:29PM +0100, Lee Jones wrote: > On Thu, 25 Jul 2019, Daniel Vetter wrote: > > > On Thu, Jul 25, 2019 at 04:32:24PM +0200, Sam Ravnborg wrote: > > > There was no users left - so drop the code to support EARLY_FB_BLANK. > > > This patch removes the support in

[PATCH v2] drm: Set crc->opened to false before setting crc source to NULL.

2019-07-26 Thread David (Dingchen) Zhang
From: Dingchen Zhang to terminate the while-loop in drm_dp_aux_crc_work when drm_dp_start/stop_crc are called in the hook to set crc source. v2: Move spin_lock around entire crc->opened use (Daniel) Cc: Daniel Vetter Cc: Harry Wentland Cc: Nick Kazlauskas Signed-off-by: Dingchen Zhang ---

Re: [PATCH v1 1/1] backlight: drop EARLY_EVENT_BLANK support

2019-07-26 Thread Bartlomiej Zolnierkiewicz
On 7/25/19 4:32 PM, Sam Ravnborg wrote: > There was no users left - so drop the code to support EARLY_FB_BLANK. > This patch removes the support in backlight, > and drop the notifier in fbmem. > > That EARLY_FB_BLANK is not used can be verified that no driver set any of: > >

[Bug 204181] NULL pointer dereference regression in amdgpu

2019-07-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204181 --- Comment #22 from Nicholas Kazlauskas (nicholas.kazlaus...@amd.com) --- Thanks for the log! I can reproduce the issue now by emulating the sequence using IGT. It doesn't seem to show up in desktop usage for me. -- You are receiving this

[Bug 109073] AMDGPU Radeon RX540 system freezes and/or crashes; poor performance with ac adapter plugged in

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109073 Utku Helvacı (tuxutku) changed: What|Removed |Added Resolution|--- |WORKSFORME

Re: [PATCH 2/2] drm: Set crc->opened = false before setting crc source to NULL.

2019-07-26 Thread David Zhang
On 2019-06-21 11:46 a.m., Daniel Vetter wrote: > On Fri, Jun 21, 2019 at 02:21:43PM +, Harry Wentland wrote: >> On 2019-06-05 1:06 p.m., Dingchen Zhang wrote: >>> to terminate the while-loop in drm_dp_aux_crc_work when >>> drm_dp_start/stop_crc >>> are called in the hook to set crc source.

[PATCH 4.19 36/50] dma-buf: balance refcount inbalance

2019-07-26 Thread Greg Kroah-Hartman
From: Jérôme Glisse commit 5e383a9798990c69fc759a4930de224bb497e62c upstream. The debugfs take reference on fence without dropping them. Signed-off-by: Jérôme Glisse Cc: Christian König Cc: Daniel Vetter Cc: Sumit Semwal Cc: linux-me...@vger.kernel.org Cc: dri-devel@lists.freedesktop.org

Re: [PATCH] video: Demote panel timing not found error message

2019-07-26 Thread Sam Ravnborg
Hi Bartlomiej Zolnierkiewicz > > Hi Sam, > > On 7/26/19 1:36 PM, Sam Ravnborg wrote: > > Hi Thierry. > > > > On Fri, Jul 26, 2019 at 12:18:49PM +0200, Thierry Reding wrote: > >> From: Thierry Reding > >> > >> Failing to find a panel-timing node is not an error in all cases, so do > >> not

[PATCH 5.1 43/62] dma-buf: balance refcount inbalance

2019-07-26 Thread Greg Kroah-Hartman
From: Jérôme Glisse commit 5e383a9798990c69fc759a4930de224bb497e62c upstream. The debugfs take reference on fence without dropping them. Signed-off-by: Jérôme Glisse Cc: Christian König Cc: Daniel Vetter Cc: Sumit Semwal Cc: linux-me...@vger.kernel.org Cc: dri-devel@lists.freedesktop.org

[PATCH 5.2 47/66] dma-buf: balance refcount inbalance

2019-07-26 Thread Greg Kroah-Hartman
From: Jérôme Glisse commit 5e383a9798990c69fc759a4930de224bb497e62c upstream. The debugfs take reference on fence without dropping them. Signed-off-by: Jérôme Glisse Cc: Christian König Cc: Daniel Vetter Cc: Sumit Semwal Cc: linux-me...@vger.kernel.org Cc: dri-devel@lists.freedesktop.org

Re: Controllers with several interface options - one or more drivers?

2019-07-26 Thread Daniel Vetter
Also probably should add a few more (drm_bridge) people, I think that's also somewhat relevant here. -Daniel On Fri, Jul 26, 2019 at 4:55 PM Daniel Vetter wrote: > > On Fri, Jul 26, 2019 at 02:25:10PM +0200, Sam Ravnborg wrote: > > Hi Josef, Daniel et al. > > > > The driver that triggered this

Re: [PATCH] drm/tegra: return with probe defer if GPIO subsystem is not ready

2019-07-26 Thread Dmitry Osipenko
26.07.2019 17:57, Stefan Agner пишет: > On 2019-07-26 16:46, Dmitry Osipenko wrote: >> 26.07.2019 17:23, Stefan Agner пишет: >>> Hi Thierry, Hi Dave, >>> >>> On 2018-09-07 01:31, Stefan Agner wrote: On 26.07.2018 06:36, Stefan Agner wrote: > If the GPIO subsystem is not ready make sure to

Re: [PATCH] drm/tegra: return with probe defer if GPIO subsystem is not ready

2019-07-26 Thread Stefan Agner
On 2019-07-26 16:46, Dmitry Osipenko wrote: > 26.07.2019 17:23, Stefan Agner пишет: >> Hi Thierry, Hi Dave, >> >> On 2018-09-07 01:31, Stefan Agner wrote: >>> On 26.07.2018 06:36, Stefan Agner wrote: If the GPIO subsystem is not ready make sure to return -EPROBE_DEFER instead of silently

Re: [PATCH] video: Demote panel timing not found error message

2019-07-26 Thread Bartlomiej Zolnierkiewicz
Hi Sam, On 7/26/19 1:36 PM, Sam Ravnborg wrote: > Hi Thierry. > > On Fri, Jul 26, 2019 at 12:18:49PM +0200, Thierry Reding wrote: >> From: Thierry Reding >> >> Failing to find a panel-timing node is not an error in all cases, so do >> not output an error message in that case. Instead turn it

Re: Controllers with several interface options - one or more drivers?

2019-07-26 Thread Daniel Vetter
On Fri, Jul 26, 2019 at 02:25:10PM +0200, Sam Ravnborg wrote: > Hi Josef, Daniel et al. > > The driver that triggered this reply is a driver that adds parallel > support to ili9341 in a dedicated panel driver. > The issue here is that we already have a tiny driver that supports the > ili9341

Re: [PATCH] drm/tegra: return with probe defer if GPIO subsystem is not ready

2019-07-26 Thread Dmitry Osipenko
26.07.2019 17:23, Stefan Agner пишет: > Hi Thierry, Hi Dave, > > On 2018-09-07 01:31, Stefan Agner wrote: >> On 26.07.2018 06:36, Stefan Agner wrote: >>> If the GPIO subsystem is not ready make sure to return -EPROBE_DEFER >>> instead of silently continuing without HPD. >>> >>> Reported-by:

  1   2   3   >