Re: [RFC PATCH 2/2] drm: xlnx: driver for Xilinx DSI TX Subsystem

2020-05-23 Thread Laurent Pinchart
Hi GVRao, Thank you for the patch. On Mon, May 04, 2020 at 11:43:48AM -0700, Hyun Kwon wrote: > On Mon, 2020-04-20 at 14:20:56 -0700, Venkateshwar Rao Gannavarapu wrote: > > The Xilinx MIPI DSI Tx Subsystem soft IP is used to display video > > data from AXI-4 stream interface. > > > > It support

Re: [RFC PATCH 1/2] dt-bindings: display: xlnx: Add Xilinx DSI TX subsystem bindings

2020-05-23 Thread Laurent Pinchart
Hi GVRao, On Sat, Apr 25, 2020 at 10:29:19PM +0200, Sam Ravnborg wrote: > On Tue, Apr 21, 2020 at 02:50:55AM +0530, Venkateshwar Rao Gannavarapu wrote: > > This add a dt binding for Xilinx DSI TX subsystem. > > > > The Xilinx MIPI DSI (Display serial interface) Transmitter Subsystem > > implement

[PATCH] drm/qxl: Replace deprecated function in qxl_display

2020-05-23 Thread Sidong Yang
Hi, Dave. This is resended e-mail for your advice. I'm a newbie interested in linux kernel and qxl module. Please check this patch and give me advice for me. Also I'll be glad if there is any task that you bothered. Thanks. Sidong. Replace deprecated function drm_modeset_lock/unlock_all with he

Re: [PATCH v1 1/3] drm/msm: Attach the IOMMU device during initialization

2020-05-23 Thread Rob Clark
On Sat, May 23, 2020 at 12:23 AM Shawn Guo wrote: > > On Fri, May 22, 2020 at 04:03:14PM -0600, Jordan Crouse wrote: > > diff --git a/drivers/gpu/drm/msm/msm_gpummu.c > > b/drivers/gpu/drm/msm/msm_gpummu.c > > index 34980d8eb7ad..0ad0f848560a 100644 > > --- a/drivers/gpu/drm/msm/msm_gpummu.c > >

Re: [PATCH v2 0/4] mm/gup, drm/i915: refactor gup_fast, convert to pin_user_pages()

2020-05-23 Thread John Hubbard
On 2020-05-23 02:41, Chris Wilson wrote: Quoting John Hubbard (2020-05-22 06:19:27) The purpose of posting this series is to launch a test in the intel-gfx-ci tree. (The patches have already been merged into Andrew's linux-mm tree.) This applies to today's linux.git (note the base-commit tag at

Re: [PATCH] xf86drm: add drmOpenByFB

2020-05-23 Thread Simon Ser
On Saturday, May 23, 2020 5:44 PM, Mauro Rossi wrote: > OpenByFB is introduced to overcome GPU driver loading order issue > on a device with multiple GPUs, e.g. Intel iGPU and Nvidia dGPU > where the first drmfb kernel module loaded will become device file > /dev/dri/card0 and the second will bec

[Bug 206475] amdgpu under load drop signal to monitor until hard reset

2020-05-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206475 --- Comment #12 from Andrew Ammerlaan (andrewammerl...@riseup.net) --- Created attachment 289247 --> https://bugzilla.kernel.org/attachment.cgi?id=289247&action=edit messages (reset succesful this time) And again, twice on the same day :( But

[PATCH] xf86drm: add drmOpenByFB

2020-05-23 Thread Mauro Rossi
OpenByFB is introduced to overcome GPU driver loading order issue on a device with multiple GPUs, e.g. Intel iGPU and Nvidia dGPU where the first drmfb kernel module loaded will become device file /dev/dri/card0 and the second will become /dev/dri/card1 The use case is to prefer Intel iGPU over dG

[Bug 206475] amdgpu under load drop signal to monitor until hard reset

2020-05-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206475 --- Comment #11 from Andrew Ammerlaan (andrewammerl...@riseup.net) --- Created attachment 289245 --> https://bugzilla.kernel.org/attachment.cgi?id=289245&action=edit messages Happened again today, while playing GTA V. Same problems appear in th

Re: [PATCH v2 0/4] mm/gup, drm/i915: refactor gup_fast, convert to pin_user_pages()

2020-05-23 Thread Chris Wilson
Quoting John Hubbard (2020-05-22 06:19:27) > The purpose of posting this series is to launch a test in the > intel-gfx-ci tree. (The patches have already been merged into Andrew's > linux-mm tree.) > > This applies to today's linux.git (note the base-commit tag at the > bottom). > > Changes since

[PATCH] drm: fix setting of plane_mask in pan_display_atomic() function for linux-4.4

2020-05-23 Thread chenxb_99091
From: Xuebing Chen The provides drm_for_each_plane_mask macro and plane_mask is defined as bitmask of plane indices, such as 1< --- drivers/gpu/drm/drm_fb_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper

Re: [PATCH v4 3/8] spi: stm32: Add 'SPI_SIMPLEX_RX', 'SPI_3WIRE_RX' support for stm32f4

2020-05-23 Thread dillon min
On Fri, May 22, 2020 at 10:57 PM dillon min wrote: > > hi Mark, > > Thanks for reviewing. > > On Fri, May 22, 2020 at 7:36 PM Mark Brown wrote: > > > > On Mon, May 18, 2020 at 07:09:20PM +0800, dillon.min...@gmail.com wrote: > > > > > 2, use stm32 spi's "In full-duplex (BIDIMODE=0 and RXONLY=0)",

Re: [PATCH v3 5/5] nand: brcmnand: support v2.1-v2.2 controllers

2020-05-23 Thread Álvaro Fernández Rojas
Hello Miquel, No, nothing else changed. I will change it again with the proper subject, sorry for that. Best regards, Álvaro. > El 22 may 2020, a las 13:22, Miquel Raynal > escribió: > >> v2.1: tested on Netgear DGND3700v1 (BCM6368) ___ dri-devel m

[PATCH v4 3/5] mtd: rawnand: brcmnand: rename page sizes

2020-05-23 Thread Álvaro Fernández Rojas
Current pages sizes apply to controllers after v3.4 Signed-off-by: Álvaro Fernández Rojas --- v4: no changes. v3: no changes. v2: add new patch. drivers/mtd/nand/raw/brcmnand/brcmnand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/raw/brcmnand/brcm

0001-drm-fix-setting-of-plane_mask-in-pan_display_atomic-

2020-05-23 Thread cxb
0001-drm-fix-setting-of-plane_mask-in-pan_display_atomic-.patch Description: Binary data ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v4 3/8] spi: stm32: Add 'SPI_SIMPLEX_RX', 'SPI_3WIRE_RX' support for stm32f4

2020-05-23 Thread dillon min
hi Mark, Thanks for reviewing. On Fri, May 22, 2020 at 7:36 PM Mark Brown wrote: > > On Mon, May 18, 2020 at 07:09:20PM +0800, dillon.min...@gmail.com wrote: > > > 2, use stm32 spi's "In full-duplex (BIDIMODE=0 and RXONLY=0)", as tx_buf is > > null, we must add dummy data sent out before read da

Re: [PATCH v7 00/15] Add support for devices in the Energy Model

2020-05-23 Thread Daniel Lezcano
On 22/05/2020 14:58, Lukasz Luba wrote: [ ... ] >>> >>> The patch set is based on linux-next tag next-20200508. >> >> Do you think it is possible to respin against linux-pm next ? > > Yes, I will do it and send the v8. > >> >> I wanted to try the series but I'm getting non trivial conflicts wit

Re: [PATCH] drm: rcar-du: Fix build error

2020-05-23 Thread Daniel G
Hi Kieran and Emil, On Fri, 22 May 2020 at 11:43, Kieran Bingham wrote: > > Hi Daniel, > > On 18/05/2020 21:16, Daniel Gomez wrote: > > Select DRM_KMS_HELPER dependency. > > > > Build error when DRM_KMS_HELPER is not selected: > > > > drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xd48): undefined

[PATCH v4 1/5] mtd: rawnand: brcmnand: rename v4 registers

2020-05-23 Thread Álvaro Fernández Rojas
These registers are also used on v3.3. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Miquel Raynal --- v4: no changes. v3: no changes. v2: fix commit title. drivers/mtd/nand/raw/brcmnand/brcmnand.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/

Re: [PATCH v7 00/15] Add support for devices in the Energy Model

2020-05-23 Thread Lukasz Luba
Hi Daniel, On 5/22/20 11:43 AM, Daniel Lezcano wrote: Hi Lukasz, On 11/05/2020 13:18, Lukasz Luba wrote: Hi all, This patch set introduces support for devices in the Energy Model (EM) framework. It will unify the power model for thermal subsystem. It will make simpler to add support for new

Re: [PATCH v4 1/5] mtd: rawnand: brcmnand: rename v4 registers

2020-05-23 Thread Florian Fainelli
On 5/22/2020 5:15 AM, Álvaro Fernández Rojas wrote: > These registers are also used on v3.3. > > Signed-off-by: Álvaro Fernández Rojas > Reviewed-by: Miquel Raynal Acked-by: Florian Fainelli -- Florian ___ dri-devel mailing list dri-devel@lists.fr

[PATCH v3 5/5] nand: brcmnand: support v2.1-v2.2 controllers

2020-05-23 Thread Álvaro Fernández Rojas
v2.1: tested on Netgear DGND3700v1 (BCM6368) v2.2: tested on Netgear DGND3700v2 (BCM6362) Signed-off-by: Álvaro Fernández Rojas --- v3: fix page size shift for v2.1 controllers. v2: split page sizes rename into a different patch. name all block and page sizes versions. drivers/mtd/nand/r

[PATCH v4 0/5] mtd: rawnand: brcmnand: support v2.1-v2.2 controllers

2020-05-23 Thread Álvaro Fernández Rojas
Add support for v2.1 and v2.2 NAND controllers. v4: fix commit subject. v3: fix v2.1 page size shift v2: introduce changes suggested by Miquèl. Álvaro Fernández Rojas (5): mtd: rawnand: brcmnand: rename v4 registers mtd: rawnand: brcmnand: fix CS0 layout mtd: rawnand: brcmnand: rename page

Re: [PATCH v7 00/15] Add support for devices in the Energy Model

2020-05-23 Thread Daniel Lezcano
Hi Lukasz, On 11/05/2020 13:18, Lukasz Luba wrote: > Hi all, > > This patch set introduces support for devices in the Energy Model (EM) > framework. It will unify the power model for thermal subsystem. It will > make simpler to add support for new devices willing to use more > advanced features

[PATCH v3 4/5] dt: bindings: brcmnand: add v2.1 and v2.2 support

2020-05-23 Thread Álvaro Fernández Rojas
Added brcm,brcmnand-v2.1 and brcm,brcmnand-v2.2 as possible compatible strings to support brcmnand controllers v2.1 and v2.2. Signed-off-by: Álvaro Fernández Rojas --- v3: no changes. v2: add new patch. Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt | 2 ++ 1 file changed, 2 insertio

Re: Re: [PATCH] drm/panfrost: fix runtime pm imbalance on error

2020-05-23 Thread dinghao . liu
Thank you for your further explanation! It's all clear for me and I will write a new patch to fix this imbalance. Regards, Dinghao > On 21/05/2020 08:00, dinghao@zju.edu.cn wrote: > > Hi Steve, > > > > There are two bailing out points in panfrost_job_hw_submit(): one is > > the error path

Re: [PATCH v4 3/5] mtd: rawnand: brcmnand: rename page sizes

2020-05-23 Thread Florian Fainelli
On 5/22/2020 5:15 AM, Álvaro Fernández Rojas wrote: > Current pages sizes apply to controllers after v3.4 > > Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli -- Florian ___ dri-devel mailing list dri-devel@lists.freedesktop.org htt

[PATCH v3 2/5] mtd: rawnand: brcmnand: fix CS0 layout

2020-05-23 Thread Álvaro Fernández Rojas
Only v3.3-v5.0 have a different CS0 layout. Controllers before v3.3 use the same layout for every CS. Fixes: 27c5b17cd1b1 ("mtd: nand: add NAND driver "library" for Broadcom STB NAND controller") Signed-off-by: Álvaro Fernández Rojas --- v3: no changes. v2: fix commit log. drivers/mtd/nand/r

[PATCH v3 1/5] mtd: rawnand: brcmnand: rename v4 registers

2020-05-23 Thread Álvaro Fernández Rojas
These registers are also used on v3.3. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Miquel Raynal --- v3: no changes. v2: fix commit title. drivers/mtd/nand/raw/brcmnand/brcmnand.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/nand/raw/brcmnand

[PATCH v2] drm/msm/a6xx: skip HFI set freq if GMU is powered down

2020-05-23 Thread Jonathan Marek
Also skip the newly added HFI set freq path if the GMU is powered down, which was missing because of patches crossing paths. Signed-off-by: Jonathan Marek --- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/

[PATCH] [v2] drm/panfrost: Fix runtime PM imbalance on error

2020-05-23 Thread Dinghao Liu
The caller expects panfrost_job_hw_submit() to increase runtime PM usage counter. The refcount decrement on the error branch of WARN_ON() will break the counter balance and needs to be removed. Signed-off-by: Dinghao Liu --- Changelog: v2: - Remove refcount decrement on the error path of

Re: [PATCH v4 5/5] mtd: rawnand: brcmnand: support v2.1-v2.2 controllers

2020-05-23 Thread Florian Fainelli
On 5/22/2020 5:15 AM, Álvaro Fernández Rojas wrote: > v2.1: tested on Netgear DGND3700v1 (BCM6368) > v2.2: tested on Netgear DGND3700v2 (BCM6362) > > Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli -- Florian ___ dri-devel mailing

Re: [PATCH v4 3/8] spi: stm32: Add 'SPI_SIMPLEX_RX', 'SPI_3WIRE_RX' support for stm32f4

2020-05-23 Thread dillon min
On Sat, May 23, 2020 at 12:29 AM Mark Brown wrote: > > On Fri, May 22, 2020 at 11:59:25PM +0800, dillon min wrote: > > > but, after spi-core create a dummy tx_buf or rx_buf, then i can't get > > the correct spi_3wire direction. > > actually, this dummy tx_buf is useless for SPI_3WIRE. it's has mea

[PATCH v4 5/5] mtd: rawnand: brcmnand: support v2.1-v2.2 controllers

2020-05-23 Thread Álvaro Fernández Rojas
v2.1: tested on Netgear DGND3700v1 (BCM6368) v2.2: tested on Netgear DGND3700v2 (BCM6362) Signed-off-by: Álvaro Fernández Rojas --- v4: use proper commit subject. v3: fix page size shift for v2.1 controllers. v2: split page sizes rename into a different patch. name all block and page size

[PATCH v4 2/5] mtd: rawnand: brcmnand: fix CS0 layout

2020-05-23 Thread Álvaro Fernández Rojas
Only v3.3-v5.0 have a different CS0 layout. Controllers before v3.3 use the same layout for every CS. Fixes: 27c5b17cd1b1 ("mtd: nand: add NAND driver "library" for Broadcom STB NAND controller") Signed-off-by: Álvaro Fernández Rojas --- v4: no changes. v3: no changes. v2: fix commit log. d

Re: [PATCH v3 5/5] nand: brcmnand: support v2.1-v2.2 controllers

2020-05-23 Thread Miquel Raynal
Hi Álvaro, Álvaro Fernández Rojas wrote on Fri, 22 May 2020 09:25:25 +0200: > v2.1: tested on Netgear DGND3700v1 (BCM6368) > v2.2: tested on Netgear DGND3700v2 (BCM6362) > > Signed-off-by: Álvaro Fernández Rojas > --- > v3: fix page size shift for v2.1 controllers. You changed the subject ti

[PATCH v3 0/5] mtd: rawnand: brcmnand: support v2.1-v2.2 controllers

2020-05-23 Thread Álvaro Fernández Rojas
Add support for v2.1 and v2.2 NAND controllers. v3: fix v2.1 page size shift v2: introduce changes suggested by Miquèl. Álvaro Fernández Rojas (5): mtd: rawnand: brcmnand: rename v4 registers mtd: rawnand: brcmnand: fix CS0 layout mtd: rawnand: brcmnand: rename page sizes dt: bindings: br

Re: [PATCH v4 4/5] dt: bindings: brcmnand: add v2.1 and v2.2 support

2020-05-23 Thread Florian Fainelli
On 5/22/2020 5:15 AM, Álvaro Fernández Rojas wrote: > Added brcm,brcmnand-v2.1 and brcm,brcmnand-v2.2 as possible compatible > strings to support brcmnand controllers v2.1 and v2.2. > > Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli -- Florian ___

Re: [PATCH 0/4] mm/gup, drm/i915: refactor gup_fast, convert to pin_user_pages()

2020-05-23 Thread Souptick Joarder
Hi John, On Tue, May 19, 2020 at 5:51 AM John Hubbard wrote: > > This needs to go through Andrew's -mm tree, due to adding a new gup.c > routine. However, I would really love to have some testing from the > drm/i915 folks, because I haven't been able to run-time test that part > of it. > > Other

Re: [PATCH] drm/panfrost: Fix inbalance of devfreq record_busy/idle()

2020-05-23 Thread Alyssa Rosenzweig
A-b On Fri, May 22, 2020 at 04:36:53PM +0100, Steven Price wrote: > The calls to panfrost_devfreq_record_busy() and > panfrost_devfreq_record_idle() must be balanced to ensure that the > devfreq utilisation is correctly reported. But there are two cases where > this doesn't work correctly. > > In

[PATCH v4 4/5] dt: bindings: brcmnand: add v2.1 and v2.2 support

2020-05-23 Thread Álvaro Fernández Rojas
Added brcm,brcmnand-v2.1 and brcm,brcmnand-v2.2 as possible compatible strings to support brcmnand controllers v2.1 and v2.2. Signed-off-by: Álvaro Fernández Rojas --- v4: no changes. v3: no changes. v2: add new patch. Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt | 2 ++ 1 file ch

[PATCH v3 3/5] mtd: rawnand: brcmnand: rename page sizes

2020-05-23 Thread Álvaro Fernández Rojas
Current pages sizes apply to controllers after v3.4 Signed-off-by: Álvaro Fernández Rojas --- v3: no changes. v2: add new patch. drivers/mtd/nand/raw/brcmnand/brcmnand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c b/drivers

Re: [PATCH v4 2/5] mtd: rawnand: brcmnand: fix CS0 layout

2020-05-23 Thread Florian Fainelli
On 5/22/2020 5:15 AM, Álvaro Fernández Rojas wrote: > Only v3.3-v5.0 have a different CS0 layout. > Controllers before v3.3 use the same layout for every CS. > > Fixes: 27c5b17cd1b1 ("mtd: nand: add NAND driver "library" for Broadcom STB > NAND controller") > Signed-off-by: Álvaro Fernández Roj

Re: [PATCH v1 1/3] drm/msm: Attach the IOMMU device during initialization

2020-05-23 Thread Shawn Guo
On Fri, May 22, 2020 at 04:03:14PM -0600, Jordan Crouse wrote: > diff --git a/drivers/gpu/drm/msm/msm_gpummu.c > b/drivers/gpu/drm/msm/msm_gpummu.c > index 34980d8eb7ad..0ad0f848560a 100644 > --- a/drivers/gpu/drm/msm/msm_gpummu.c > +++ b/drivers/gpu/drm/msm/msm_gpummu.c > @@ -21,11 +21,6 @@ struc

Re: [PATCH v1 0/3] drm/msm: Cleanups ahead of per-instance pagetables

2020-05-23 Thread Shawn Guo
On Fri, May 22, 2020 at 04:03:13PM -0600, Jordan Crouse wrote: > These are three cleanup and reorganization patches that were originally > part of one of my many per-instance pagetable stacks [1] [2] but make life > better in general and can stand on their own. Send them now to get them > out of my

[PATCH v1 2/2] drm/vblank: use drm_WARN for all warnings

2020-05-23 Thread Sam Ravnborg
Replace all the WARN_* variants with their drm_WARN counterparts. Signed-off-by: Sam Ravnborg Cc: Lyude Paul Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/drm_vblank.c | 68 +++- 1 file c

[PATCH v1 1/2] drm/vblank: use drm_* functions for logging

2020-05-23 Thread Sam Ravnborg
Replace all DRM_* logging functions with their drm_ counterparts. checkpatch emits a few "quoted string split across lines", which is left as is. The strings was already split in the original code base and it would not increase readability to fix them. Signed-off-by: Sam Ravnborg Cc: Lyude Paul

[PATCH v1 0/2] drm: update drm_vblank logging

2020-05-23 Thread Sam Ravnborg
Replace all logging functions in vblank with their drm_ counterparts. As cocinelle and I are not yet good friends this was a pure mechanical replacement. It adds more lines because the added argument required some more lines to be divided in two. The patch was split in two: - the logging function