Re: [PATCH 1/7] docs: fix broken doc references due to renames

2019-07-26 Thread Daniel Vetter
On Fri, Jul 26, 2019 at 07:41:35AM -0600, Rob Herring wrote: > On Fri, Jul 26, 2019 at 5:47 AM Mauro Carvalho Chehab > wrote: > > > > Some files got renamed but probably due to some merge conflicts, > > a few references still point to the old locations. > > > > Signed-off-by: Mauro Carvalho

Re: [PATCH 0/4] video: of: display_timing: Adjust err printing of of_get_display_timing()

2019-07-26 Thread Bartlomiej Zolnierkiewicz
Hi, On 7/23/19 10:38 AM, Sam Ravnborg wrote: > Hi Dough. > > On Mon, Jul 22, 2019 at 11:24:35AM -0700, Douglas Anderson wrote: >> As reported by Sam Ravnborg [1], after commit b8a2948fa2b3 >> ("drm/panel: simple: Add ability to override typical timing") we now >> see a pointless error message

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 >

[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|

[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 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 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 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 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:

[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 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 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

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

[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

[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:

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 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()") >

[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: [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 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

[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

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 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

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: [RFC PATCH 09/11] devfreq: exynos-bus: Add interconnect functionality to exynos-bus

2019-07-26 Thread Georgi Djakov
Hi Artur, On 7/23/19 15:20, Artur Świgoń wrote: > This patch adds interconnect functionality to the exynos-bus devfreq > driver. > > The SoC topology is a graph (or, more specifically, a tree) and most of its > edges are taken from the devfreq parent-child hierarchy (cf. >

[PATCH] drm/komeda: Adds more check in mode_valid

2019-07-26 Thread Lowry Li (Arm Technology China)
This patch adds the checks for vrefresh, crtc_hdisplay and crtc_vdisplay. Signed-off-by: Lowry Li (Arm Technology China) --- drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v5 01/24] drm: Include ddc adapter pointer in struct drm_connector

2019-07-26 Thread Sam Ravnborg
Hi Andrzej. After reading through the series a few more comments. 1) The subject of this patch could be improved. Consider something like: drm: add ddc link in sysfs created by drm_connector This spells out much better what the patch achieve. 2) The purpsoe of drm_connector.ddc is to

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

2019-07-26 Thread Lowry Li (Arm Technology China)
Current DRM-CORE accepts the writeback_job with a empty fb, but that is an invalid job for HW, so need to skip it when commit it to HW. Signed-off-by: Lowry Li (Arm Technology China) --- drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 2 +-

Re: [PATCH v9 04/18] kunit: test: add kunit_stream a std::stream like logger

2019-07-26 Thread Petr Mladek
On Thu 2019-07-25 13:21:12, Brendan Higgins wrote: > On Wed, Jul 24, 2019 at 12:31 AM Petr Mladek wrote: > > > > On Mon 2019-07-22 16:54:10, Stephen Boyd wrote: > > > Quoting Brendan Higgins (2019-07-22 15:30:49) > > > > On Mon, Jul 22, 2019 at 1:03 PM Stephen Boyd wrote: > > > > > > > > > > > >

Re: [PATCH v5 2/3] dma-buf: add DMA_BUF_SET_NAME ioctls

2019-07-26 Thread Chris Wilson
Quoting Chenbo Feng (2019-06-13 23:34:07) > From: Greg Hackmann > > This patch adds complimentary DMA_BUF_SET_NAME ioctls, which lets > userspace processes attach a free-form name to each buffer. > > This information can be extremely helpful for tracking and accounting > shared buffers. For

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

2019-07-26 Thread Sam Ravnborg
Hi Andrzej. On Wed, Jul 24, 2019 at 03:59:24PM +0200, Andrzej Pietrasiewicz wrote: > 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

Re: [PATCH v5 01/24] drm: Include ddc adapter pointer in struct drm_connector

2019-07-26 Thread Sam Ravnborg
Hi Andrzej. Patch looks good, but one kernel-doc detail. On Wed, Jul 24, 2019 at 03:59:23PM +0200, Andrzej Pietrasiewicz wrote: > Add generic code which creates symbolic links in sysfs, pointing to ddc > interface used by a particular video output. For example: > > ls -l

Re: [PATCH RESEND] drm: Switch to use DEVFREQ_GOV_SIMPLE_ONDEMAND constant

2019-07-26 Thread Tomeu Vizoso
On 7/25/19 5:52 AM, Yue Hu wrote: From: Yue Hu Since governor name is defined by DEVFREQ framework internally, use the macro definition instead of using the name directly. Signed-off-by: Yue Hu Acked-by: Tomeu Vizoso --- drivers/gpu/drm/msm/msm_gpu.c | 3 ++-

Re: [PATCH 3/4] drm/amdgpu: Fill out gem_object->resv

2019-07-26 Thread Koenig, Christian
Am 25.07.19 um 15:26 schrieb Daniel Vetter: > That way we can ditch our gem_prime_res_obj implementation. Since ttm > absolutely needs the right reservation object all the boilerplate is > already there and we just have to wire it up correctly. > > Note that gem/prime doesn't care when we do this,

Re: [PATCH 1/4] drm/radeon: Fill out gem_object->resv

2019-07-26 Thread Koenig, Christian
Am 25.07.19 um 15:26 schrieb Daniel Vetter: > That way we can ditch our gem_prime_res_obj implementation. Since ttm > absolutely needs the right reservation object all the boilerplate is > already there and we just have to wire it up correctly. > > Note that gem/prime doesn't care when we do this,

[PATCH] drm/komeda: Adds internal bpp computing for arm afbc only format YU08 YU10

2019-07-26 Thread Lowry Li (Arm Technology China)
The drm_format_info doesn't have any cpp or block_size (both are zero) information for arm only afbc format YU08/YU10. we need to compute it by ourselves. Signed-off-by: Lowry Li (Arm Technology China) --- .../drm/arm/display/komeda/komeda_format_caps.c| 23 ++

[PATCH] drm/komeda: Initialize and enable output polling on Komeda

2019-07-26 Thread Lowry Li (Arm Technology China)
Initialize and enable output polling on Komeda. Signed-off-by: Lowry Li (Arm Technology China) --- drivers/gpu/drm/arm/display/komeda/komeda_kms.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_kms.c

[PATCH 3/3] drm/panel: jh057n00900: Print error code on all DRM_DEV_ERROR()s

2019-07-26 Thread Guido Günther
Most of them had these already but two mere missing. This eases debugging. Signed-off-by: Guido Günther --- drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c

[PATCH 0/3] drm/panel: jh057n00900: Move dsi init sequence to prepare

2019-07-26 Thread Guido Günther
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 to enable() so the upstream bridge can prepare the DSI host controller in it's

[PATCH 2/3] drm/panel: jh057n00900: Move mipi_dsi_dcs_set_display_off to disable()

2019-07-26 Thread Guido Günther
This makes it symmetric with the panel init happening in enable(). Signed-off-by: Guido Günther --- drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c

[PATCH 1/3] drm/panel: jh057n00900: Move panel DSI init to enable()

2019-07-26 Thread Guido Günther
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 to enable() so the upstream bridge can prepare the DSI host controller in it's

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

2019-07-26 Thread Sam Ravnborg
Hi Guido. A few comments follows. Sam 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 +++

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

2019-07-26 Thread Robin Murphy
On 26/07/2019 10:15, 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 panfrost_mmu_irq_handler(int irq, void *data)   

Re: AMD Drivers

2019-07-26 Thread Gilberto Nunes
Awesome, thanks for the update! I will wait for the next upstrem... Besides this minor problem everything is wonderful! Even retroarch works now! With 4.18.x 5.1.x and 5.2.x freeze the entire system when access amdgpu... Thanks a lot! --- Gilberto Nunes Ferreira (47) 3025-5907 (47) 99676-7530 -

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

2019-07-26 Thread Steven Price
On 25/07/2019 17:13, Alyssa Rosenzweig wrote: >> Either we should prevent mapping of HEAP objects > > I'm good with that. AFAIK, HEAP objects shouldn't be (CPU) mmapped > anyway in normal use; if you need them mapped (for debugging etc), it's > no big deal to just.. not set the HEAP flag in debug

Re: [PATCH v2 2/7] drm/shmem: Put pages independent of a SG table being set

2019-07-26 Thread Steven Price
On 25/07/2019 02:09, Rob Herring wrote: > If a driver does its own management of pages, the shmem helper object's > pages array could be allocated when a SG table is not. There's not > really any good reason to tie putting pages with having a SG table when > freeing the object, so just put pages

Re: [PATCH] [v8, 2/2] drm/panel: Add Boe Himax8279d MIPI-DSI LCD panel

2019-07-26 Thread Jerry Han
Hi Emil Velikov: First of all, thank you for your comments. > + struct gpio_desc *enable_gpio; > + struct gpio_desc *pp33_gpio; > + struct gpio_desc *pp18_gpio; DT claims that these gpios are required, yet one is using the optional gpio API. Is the code off, or does the DT need

Re: AMD Drivers

2019-07-26 Thread Gilberto Nunes
Hi there! I try the kernel 5.3.0-050300rc1-generic and almost everything works perfectly, except there's no sound in HDMI!!! Pavucontrol show me device unplugged! But I have now work properly NIC and GPU! lspci 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh)

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

2019-07-26 Thread Steven Price
On 25/07/2019 22:28, Rob Herring wrote: On Thu, Jul 25, 2019 at 9:35 AM Steven Price wrote: On 25/07/2019 15:59, Steven Price wrote: [...] It would appear that in the following call sgt==NULL: ret = sg_alloc_table_from_pages(sgt, pages + page_offset,

Re: [PATCH] arm64: dts: fast models: Increase clcd's max-memory-bandwidth

2019-07-26 Thread Kevin Brodsky
On 25/07/2019 16:15, Robin Murphy wrote: Hi Kevin, Hi Robin, On 25/07/2019 15:50, Kevin Brodsky wrote: It may be desirable on certain platforms, such as Android, to use 32bpp buffers. Since there is no clear bandwidth limit for the CLCD component on the fast model, let's increase

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

2019-07-26 Thread Steven Price
On 25/07/2019 15:59, Steven Price wrote: [...] > It would appear that in the following call sgt==NULL: >> ret = sg_alloc_table_from_pages(sgt, pages + page_offset, >> NUM_FAULT_PAGES, 0, SZ_2M, GFP_KERNEL); > > Which means we've ended up with a BO with

Re: hmm_range_fault related fixes and legacy API removal v3

2019-07-26 Thread Jason Gunthorpe
On Wed, Jul 24, 2019 at 08:52:51AM +0200, Christoph Hellwig wrote: > Hi Jérôme, Ben and Jason, > > below is a series against the hmm tree which fixes up the mmap_sem > locking in nouveau and while at it also removes leftover legacy HMM APIs > only used by nouveau. > > The first 4 patches are a

Re: [PATCH v2 0/7] drm/panfrost: Add heap and no execute buffer allocation

2019-07-26 Thread Alyssa Rosenzweig
This series is: Acked-by: Alyssa Rosenzweig On Wed, Jul 24, 2019 at 07:09:56PM -0600, Rob Herring wrote: > This series adds new BO allocation flags PANFROST_BO_HEAP and > PANFROST_BO_NOEXEC. The heap allocations are paged in on GPU page faults. > > This is based on drm-misc-next. A branch is

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

2019-07-26 Thread Steven Price
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 panfrost_mmu_irq_handler(int irq, void *data) access_type = (fault_status >> 8) & 0x3;

Re: [PATCH v2 3/7] drm/panfrost: Restructure the GEM object creation

2019-07-26 Thread Steven Price
On 25/07/2019 02:09, Rob Herring wrote: > Setting the GPU VA when creating the GEM object doesn't allow for any > conditional adjustments. In preparation to support adjusting the > mapping, restructure the GEM object creation to map the GEM object after > we've created the base shmem object. > >

[PATCH v2] arm64: dts: fast models: Remove clcd's max-memory-bandwidth

2019-07-26 Thread Kevin Brodsky
It is unclear why max-memory-bandwidth should be set for CLCD on the fast model. Removing that property allows allocating and using 32bpp buffers, which may be desirable on certain platforms such as Android. Reported-by: Ruben Ayrapetyan Signed-off-by: Kevin Brodsky --- Changes in v2: - Remove

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

2019-07-26 Thread Steven Price
On 25/07/2019 02:10, Rob Herring wrote: > The midgard/bifrost GPUs need to allocate GPU heap memory which is > allocated on GPU page faults and not pinned in memory. The vendor driver > calls this functionality GROW_ON_GPF. > > This implementation assumes that BOs allocated with the >

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

2019-07-26 Thread Alyssa Rosenzweig
> Sorry, I was being sloppy again![1] I meant CPU mmapped. No worries, just wanted to check :) > Apparently the blob in some cases creates a SAME_VA GROW_ON_GPF buffer - > since SAME_VA means permanently mapped on the CPU this translated to > mmapping a HEAP object. Why it does this I've no

Re: [PATCH] mm/hmm: replace hmm_update with mmu_notifier_range

2019-07-26 Thread Ralph Campbell
On 7/24/19 6:14 PM, Jason Gunthorpe wrote: On Tue, Jul 23, 2019 at 02:05:06PM -0700, Ralph Campbell wrote: The hmm_mirror_ops callback function sync_cpu_device_pagetables() passes a struct hmm_update which is a simplified version of struct mmu_notifier_range. This is unnecessary so replace

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

2019-07-26 Thread Alyssa Rosenzweig
> Either we should prevent mapping of HEAP objects I'm good with that. AFAIK, HEAP objects shouldn't be (CPU) mmapped anyway in normal use; if you need them mapped (for debugging etc), it's no big deal to just.. not set the HEAP flag in debug builds. Or do you mean GPU mapping? signature.asc

Re: [PATCH 1/3] RFT: drm/pl111: Support grayscale

2019-07-26 Thread Fabian Vogt
Hi, Am Mittwoch, 24. Juli 2019, 14:33:06 CEST schrieb Linus Walleij: > On Tue, Jul 23, 2019 at 5:19 PM Fabian Vogt wrote: > > > I gave the series a try (virtual CX and TP so far, will do on a real CX > > later): > > OOPS with a nullptr deref during probe. > > This diff which just moves some

Re: [PATCH v2 1/7] drm/gem: Allow sparsely populated page arrays in drm_gem_put_pages

2019-07-26 Thread Steven Price
On 25/07/2019 02:09, Rob Herring wrote: > Panfrost has a need for pages allocated on demand via GPU page faults. > When releasing the pages, the only thing preventing using > drm_gem_put_pages() is needing to skip over unpopulated pages, so allow > for skipping over NULL struct page pointers. > >

Re: OLED panel brightness support

2019-07-26 Thread Kai-Heng Feng
at 00:03, wrote: -Original Message- From: Daniel Vetter On Behalf Of Daniel Vetter Sent: Wednesday, July 24, 2019 6:49 AM To: Kai-Heng Feng Cc: dri-devel@lists.freedesktop.org; Anthony Wong; Limonciello, Mario Subject: Re: OLED panel brightness support [EXTERNAL EMAIL] On Tue, Jul

[PATCH] drm/amd/display: remove duplicated include from dc_link.c

2019-07-26 Thread YueHaibing
Remove duplicated include. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c index

Re: AMD Drivers

2019-07-26 Thread Gilberto Nunes
Hi there > What about other versions (eg. v4.19) ? > Which is the last working version ? The only series that works properly is 4.15.x > Could you also try 5.3 ? I will, ASAP! >> Oh! By the way, the network card r8169 are work wonderful! >Didn't you say (above) that it does not work ? >Or is

Re: [PATCH v2 5/7] drm/panfrost: Add a no execute flag for BO allocations

2019-07-26 Thread Steven Price
On 25/07/2019 02:10, Rob Herring wrote: > Executable buffers have an alignment restriction that they can't cross > 16MB boundary as the GPU program counter is 24-bits. This restriction is > currently not handled and we just get lucky. As current userspace > assumes all BOs are executable, that has

[PATCH] arm64: dts: fast models: Increase clcd's max-memory-bandwidth

2019-07-26 Thread Kevin Brodsky
It may be desirable on certain platforms, such as Android, to use 32bpp buffers. Since there is no clear bandwidth limit for the CLCD component on the fast model, let's increase max-memory-bandwidth to allow using 32bpp buffers. Reported-by: Ruben Ayrapetyan Signed-off-by: Kevin Brodsky ---

[PATCH 1/1] drm/mxsfb: Read bus flags from bridge if present

2019-07-26 Thread Guido Günther
The bridge might have special requirmentes on the input bus. This is e.g. used by the imx-nwl bridge. Signed-off-by: Guido Günther --- drivers/gpu/drm/mxsfb/mxsfb_crtc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mxsfb/mxsfb_crtc.c

[PATCH 0/1] drm/mxsfb: Read bus flags from bridge if present

2019-07-26 Thread Guido Günther
The bridge might have special requirmentes on the input bus. This is e.g. used by the imx-nwl bridge. Robert, maybe you can add this patch to your 'Improvements and fixes for mxsfb DRM driver' since it depends on the first patch in this series anyway? Tested with 'Improvements and fixes for

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

2019-07-26 Thread Daniel Thompson
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. Why are we using a different noun for the subject and description? > This patch removes the support in backlight, > and drop the notifier in fbmem. > > That

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

2019-07-26 Thread Sam Ravnborg
Hi Guido. Following some trivial comments. As for the overall design I already commented on that in the binding. (bridge versus display controller) That it can work on top of mxsfb is a good indication that it is a bridge but I just do not see the full picture. In general the code looked clean

Re: [PATCH 2/3] drm/panel: jh057n00900: Move mipi_dsi_dcs_set_display_off to disable()

2019-07-26 Thread Sam Ravnborg
Hi Guido. On Fri, Jul 26, 2019 at 11:21:42AM +0200, Guido Günther wrote: > This makes it symmetric with the panel init happening in enable(). > > Signed-off-by: Guido Günther > --- > drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c | 10 +++--- > 1 file changed, 7 insertions(+), 3

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

2019-07-26 Thread Thierry Reding
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 into a debug message and make the drivers that care about it output an error message of their own. Signed-off-by: Thierry Reding ---

[Bug 111224] Wireless Network Deployment

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111224 Bug ID: 111224 Summary: Wireless Network Deployment Product: DRI Version: XOrg git Hardware: Other OS: All Status: NEW Severity: normal

[Bug 111224] Wireless Network Deployment

2019-07-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111224 sushanthpandiri changed: What|Removed |Added URL||https://www.fieldengineer.c

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

2019-07-26 Thread Sam Ravnborg
Hi Guido. On Fri, Jul 26, 2019 at 11:21:40AM +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 to

Re: [RFC PATCH 01/11] devfreq: exynos-bus: Extract exynos_bus_profile_init()

2019-07-26 Thread Krzysztof Kozlowski
On Thu, 25 Jul 2019 at 14:44, Chanwoo Choi wrote: > > 2019년 7월 24일 (수) 오전 8:09, Artur Świgoń 님이 작성: > > > > This patch adds a new static function, exynos_bus_profile_init(), extracted > > from exynos_bus_probe(). > > > > Signed-off-by: Artur Świgoń > > --- > > drivers/devfreq/exynos-bus.c | 106

Re: [RFC PATCH 04/11] devfreq: exynos-bus: Clean up code

2019-07-26 Thread Chanwoo Choi
On 19. 7. 26. 오후 7:45, Krzysztof Kozlowski wrote: > On Thu, 25 Jul 2019 at 14:51, Chanwoo Choi wrote: >> >> 2019년 7월 24일 (수) 오전 8:07, Artur Świgoń 님이 작성: >>> >>> This patch adds minor improvements to the exynos-bus driver. >>> >>> Signed-off-by: Artur Świgoń >>> --- >>>

Re: [PATCH 1/1] drm/mxsfb: Read bus flags from bridge if present

2019-07-26 Thread Stefan Agner
On 2019-07-26 11:49, Guido Günther wrote: > The bridge might have special requirmentes on the input bus. This > is e.g. used by the imx-nwl bridge. > > Signed-off-by: Guido Günther Looks good to me. Reviewed-by: Stefan Agner That is similar to what I sent for the imx DRM driver:

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

2019-07-26 Thread Guido Günther
Hi Sam, thanks for your comments! On Fri, Jul 26, 2019 at 11:23:15AM +0200, Sam Ravnborg wrote: > Hi Guido. > > A few comments follows. > > Sam > > 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. > >

Re: [RFC PATCH 04/11] devfreq: exynos-bus: Clean up code

2019-07-26 Thread Krzysztof Kozlowski
On Thu, 25 Jul 2019 at 14:51, Chanwoo Choi wrote: > > 2019년 7월 24일 (수) 오전 8:07, Artur Świgoń 님이 작성: > > > > This patch adds minor improvements to the exynos-bus driver. > > > > Signed-off-by: Artur Świgoń > > --- > > drivers/devfreq/exynos-bus.c | 49 > > 1

Re: [RFC PATCH 01/11] devfreq: exynos-bus: Extract exynos_bus_profile_init()

2019-07-26 Thread Chanwoo Choi
On 19. 7. 26. 오후 7:42, Krzysztof Kozlowski wrote: > On Thu, 25 Jul 2019 at 14:44, Chanwoo Choi wrote: >> >> 2019년 7월 24일 (수) 오전 8:09, Artur Świgoń 님이 작성: >>> >>> This patch adds a new static function, exynos_bus_profile_init(), extracted >>> from exynos_bus_probe(). >>> >>> Signed-off-by: Artur

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

2019-07-26 Thread Sam Ravnborg
Hi Daniel. On Fri, Jul 26, 2019 at 10:50:16AM +0100, Daniel Thompson 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. > > Why are we using a different noun for the subject and description? I

[PATCH 2/2] drm: sun4i: tcon: Mark expected switch fall-through

2019-07-26 Thread Anders Roxell
When fall-through warnings was enabled by default the following warning was starting to show up: ../drivers/gpu/drm/sun4i/sun4i_tcon.c: In function ‘sun4i_tcon0_mode_set_dithering’: ../drivers/gpu/drm/sun4i/sun4i_tcon.c:316:7: warning: this statement may fall through [-Wimplicit-fallthrough=]

[PATCH] video: fbdev: Mark expected switch fall-through

2019-07-26 Thread Anders Roxell
When fall-through warnings was enabled by default the following warnings was starting to show up: ../drivers/video/fbdev/sh_mobile_lcdcfb.c: In function ‘sh_mobile_lcdc_channel_fb_init’: ../drivers/video/fbdev/sh_mobile_lcdcfb.c:2086:22: warning: this statement may fall through

[PATCH 1/2] drm: sun4i: sun6i_mipi_dsi: Mark expected switch fall-through

2019-07-26 Thread Anders Roxell
When fall-through warnings was enabled by default the following warning was starting to show up: ../drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c: In function ‘sun6i_dsi_transfer’:../drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c:992:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if

[PATCH v2 10/10] docs: remove extra conf.py files

2019-07-26 Thread Mauro Carvalho Chehab
Now that the latex_documents are handled automatically, we can remove those extra conf.py files. Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/conf.py | 10 -- Documentation/core-api/conf.py | 10 -- Documentation/crypto/conf.py | 10

Re: [PATCH 04/11] ASoC: jz4740: Drop lb60 board code

2019-07-26 Thread Mark Brown
On Thu, Jul 25, 2019 at 06:02:08PM -0400, Paul Cercueil wrote: > The board now uses the simple-audio-card driver. > > Signed-off-by: Paul Cercueil > Tested-by: Artur Rojek Acked-by: Mark Brown signature.asc Description: PGP signature ___ dri-devel

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

2019-07-26 Thread Sam Ravnborg
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 into a debug > message and make the drivers that care about

[PATCH 1/7] docs: fix broken doc references due to renames

2019-07-26 Thread Mauro Carvalho Chehab
Some files got renamed but probably due to some merge conflicts, a few references still point to the old locations. Signed-off-by: Mauro Carvalho Chehab Acked-by: Wolfram Sang # I2C part Reviewed-by: Jerry Hoemann # hpwdt.rst --- Documentation/RCU/rculist_nulls.txt | 2 +-

Re: [RFC PATCH 08/11] arm: dts: exynos: Add parents and #interconnect-cells to Exynos4412

2019-07-26 Thread Marek Szyprowski
Hi On 2019-07-25 15:13, Chanwoo Choi wrote: > 2019년 7월 24일 (수) 오전 8:07, Artur Świgoń 님이 작성: >> This patch adds two fields tp the Exynos4412 DTS: >>- parent: to declare connections between nodes that are not in a >> parent-child relation in devfreq; >>- #interconnect-cells: required

Re: [PATCH v5 01/24] drm: Include ddc adapter pointer in struct drm_connector

2019-07-26 Thread Andrzej Pietrasiewicz
Hi Sam, W dniu 26.07.2019 o 08:37, Sam Ravnborg pisze: Hi Andrzej. Patch looks good, but one kernel-doc detail. Thanks, I will address both issues you found, in v6. Andrzej ___ dri-devel mailing list dri-devel@lists.freedesktop.org

[Bug 204181] NULL pointer dereference regression in amdgpu

2019-07-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204181 Frank Steinborn (stei...@nognu.de) changed: What|Removed |Added CC||stei...@nognu.de

  1   2   3   >