Re: [PATCH] MAINTAINERS: Update entry for st7703 driver after the rename

2020-07-02 Thread Guido Günther
Hi Ondrej, On Wed, Jul 01, 2020 at 08:46:40PM +0200, Ondrej Jirman wrote: > The driver was renamed, change the path in the MAINTAINERS file. > > Signed-off-by: Ondrej Jirman > --- > MAINTAINERS | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/MAINTAINERS b/MAINTAI

Re: [PATCH v2] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-02 Thread Thomas Zimmermann
Hi Am 02.07.20 um 09:06 schrieb Tian Tao: > using the new API drmm_kzalloc() instead of devm_kzalloc() > > v2: > keep the DRM include statements sorted alphabetically. > > Signed-off-by: Tian Tao > Reviewed-by: Thomas Zimmermann > --- > drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 18 +++

[PATCH v6 11/13] drm/panel: st7703: Assert reset prior to powering down the regulators

2020-07-02 Thread Ondrej Jirman
The reset pin is inverted, so if we don't assert reset, the actual gpio will be high and may keep driving the IO port of the panel. Signed-off-by: Ondrej Jirman Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drive

[PATCH v7 05/13] drm/panel: st7703: Rename functions from jh057n prefix to st7703

2020-07-02 Thread Ondrej Jirman
This is done so that code that's not specific to a particular jh057n panel is named after the controller. Functions specific to the panel are kept named after the panel. Signed-off-by: Ondrej Jirman Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 90 ++

[PATCH v6 06/13] drm/panel: st7703: Prepare for supporting multiple panels

2020-07-02 Thread Ondrej Jirman
Parametrize the driver so that it can support more panels based on st7703 controller. Signed-off-by: Ondrej Jirman Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 43 +-- 1 file changed, 31 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/d

Re: [PATCH v10 0/2] Silence missing-graph error for DRM bridges

2020-07-02 Thread Dmitry Osipenko
01.07.2020 12:02, Sam Ravnborg пишет: > Hi Dmitry > On Wed, Jul 01, 2020 at 10:42:30AM +0300, Dmitry Osipenko wrote: >> Hi! >> >> This small series improves DRM bridges code by silencing a noisy error >> coming from of-graph code for the device-trees that are missing a >> display bridge graph. >> >

[PATCH v7 01/13] dt-bindings: vendor-prefixes: Add Xingbangda

2020-07-02 Thread Ondrej Jirman
From: Icenowy Zheng Shenzhen Xingbangda Display Technology Co., Ltd is a company which produces LCD modules. It supplies the LCD panels for the PinePhone. Add the vendor prefix of it. Signed-off-by: Icenowy Zheng Signed-off-by: Ondrej Jirman Acked-by: Rob Herring --- Documentation/devicetre

Re: [PATCH v6 02/13] dt-bindings: panel: Convert rocktech,jh057n00900 to yaml

2020-07-02 Thread Ondřej Jirman
Hello Guido, On Wed, Jul 01, 2020 at 05:58:57PM +0200, Guido Günther wrote: > Hi Ondrej, > On Wed, Jul 01, 2020 at 12:31:15PM +0200, Ondrej Jirman wrote: > > Convert Rocktech MIPI DSI panel driver from txt to yaml bindings. > > > > Signed-off-by: Ondrej Jirman > > --- > > .../display/panel/rock

Re: [PATCH v4 28/37] memory: tegra: Register as interconnect provider

2020-07-02 Thread Dmitry Osipenko
01.07.2020 20:12, Georgi Djakov пишет: > Hi Dmitry, > > Thank you for updating the patches! Hello, Georgi! Thank you for the review! > On 6/9/20 16:13, Dmitry Osipenko wrote: >> Now memory controller is a memory interconnection provider. This allows us >> to use interconnect API in order to cha

[PATCH v6 05/13] drm/panel: st7703: Rename functions from jh057n prefix to st7703

2020-07-02 Thread Ondrej Jirman
This is done so that code that's not specific to a particular jh057n panel is named after the controller. Functions specific to the panel are kept named after the panel. Signed-off-by: Ondrej Jirman Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 90 ++

Re: [RFC PATCH v2 0/3] RDMA: add dma-buf support

2020-07-02 Thread Jason Gunthorpe
On Wed, Jul 01, 2020 at 05:42:21PM +0200, Daniel Vetter wrote: > > >> All you need is the ability to stop wait for ongoing accesses to end and > > >> make sure that new ones grab a new mapping. > > > Swap and flush isn't a general HW ability either.. > > > > > > I'm unclear how this could be useful

[PATCH v6 10/13] drm/panel: st7703: Enter sleep after display off

2020-07-02 Thread Ondrej Jirman
The datasheet suggests to issue sleep in after display off as a part of the panel's shutdown sequence. Signed-off-by: Ondrej Jirman Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/driv

[PATCH v7 02/13] dt-bindings: panel: Convert rocktech, jh057n00900 to yaml

2020-07-02 Thread Ondrej Jirman
Convert Rocktech MIPI DSI panel driver from txt to yaml bindings. Signed-off-by: Ondrej Jirman --- .../display/panel/rocktech,jh057n00900.txt| 23 --- .../display/panel/rocktech,jh057n00900.yaml | 66 +++ 2 files changed, 66 insertions(+), 23 deletions(-) delete mode 1

[PATCH v6 00/13] Add support for PinePhone LCD panel

2020-07-02 Thread Ondrej Jirman
This patchset adds support for the LCD panel of PinePhone. I've tested this on PinePhone 1.0 and 1.2. Please take a look. thank you and regards, Ondrej Jirman Changes in v6: - Fixed spacing in yaml - Fixed wrong vccio->iovcc supply name in the bindings doc - I noticed that the original driver

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-02 Thread Chanwoo Choi
On 7/2/20 2:07 PM, Dmitry Osipenko wrote: > 02.07.2020 07:18, Chanwoo Choi пишет: >> Hi Dmitry, >> >> On 6/9/20 10:13 PM, Dmitry Osipenko wrote: >>> The clk_round_rate() won't be usable for building OPP table once >>> interconnect support will be added to the EMC driver because that CLK API >>> fun

[PATCH v6 08/13] drm/panel: st7703: Move generic part of init sequence to enable callback

2020-07-02 Thread Ondrej Jirman
Calling sleep out and display on is a controller specific part of the initialization process. Move it out of the panel specific initialization function to the enable callback. Signed-off-by: Ondrej Jirman Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 33

[PATCH v10 1/2] of_graph: add of_graph_is_present()

2020-07-02 Thread Dmitry Osipenko
In some cases it's very useful to silently check whether port node exists at all in a device-tree before proceeding with parsing the graph. The DRM bridges code is one example of such case where absence of a graph in a device-tree is a legit condition. This patch adds of_graph_is_present() which r

[PATCH] MAINTAINERS: Update entry for st7703 driver after the rename

2020-07-02 Thread Ondrej Jirman
The driver was renamed, change the path in the MAINTAINERS file. Signed-off-by: Ondrej Jirman --- MAINTAINERS | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 5f186a661a9b..f5183eae08df 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5487,

[PATCH] video: fbdev: vt8623fb: Constify static vga_regsets

2020-07-02 Thread Rikard Falkeborn
These are not modified so make them const to allow the compiler to put them in read-only memory. Before: textdata bss dec hex filename 255097928 64 3350182dd drivers/video/fbdev/vt8623fb.o After: textdata bss dec hex filename 265336904

[PATCH v6 03/13] dt-bindings: panel: Add compatible for Xingbangda XBD599 panel

2020-07-02 Thread Ondrej Jirman
Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI LCD panel. It is based on Sitronix ST7703 LCD controller just like rocktech,jh057n00900. It is used in PinePhone. Add a compatible for it. Signed-off-by: Ondrej Jirman --- .../bindings/display/panel/rocktech,jh057n00900.yaml| 6 +- 1 fi

[PATCH v10 2/2] drm/of: Make drm_of_find_panel_or_bridge() to check graph's presence

2020-07-02 Thread Dmitry Osipenko
When graph isn't defined in a device-tree, the of_graph_get_remote_node() prints a noisy error message, telling that port node is not found. This is undesirable behaviour in our case because absence of a panel/bridge graph is a valid case. Let's check the graph's presence in a device-tree before pr

[PATCH v7 03/13] dt-bindings: panel: Add compatible for Xingbangda XBD599 panel

2020-07-02 Thread Ondrej Jirman
Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI LCD panel. It is based on Sitronix ST7703 LCD controller just like rocktech,jh057n00900. It is used in PinePhone. Add a compatible for it. Signed-off-by: Ondrej Jirman --- .../bindings/display/panel/rocktech,jh057n00900.yaml| 6 +- 1 fi

Re: [RFC PATCH v2 0/3] RDMA: add dma-buf support

2020-07-02 Thread Jason Gunthorpe
On Wed, Jul 01, 2020 at 11:03:06AM +0200, Christian König wrote: > Am 30.06.20 um 20:46 schrieb Xiong, Jianxin: > > > From: Jason Gunthorpe > > > Sent: Tuesday, June 30, 2020 10:35 AM > > > To: Xiong, Jianxin > > > Cc: linux-r...@vger.kernel.org; Doug Ledford ; Sumit > > > Semwal ; Leon Romanovs

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-02 Thread Dmitry Osipenko
02.07.2020 08:43, Dmitry Osipenko пишет: > 02.07.2020 08:30, Chanwoo Choi пишет: >> On 7/2/20 2:07 PM, Dmitry Osipenko wrote: >>> 02.07.2020 07:18, Chanwoo Choi пишет: Hi Dmitry, On 6/9/20 10:13 PM, Dmitry Osipenko wrote: > The clk_round_rate() won't be usable for building OPP ta

[PATCH v6 01/13] dt-bindings: vendor-prefixes: Add Xingbangda

2020-07-02 Thread Ondrej Jirman
From: Icenowy Zheng Shenzhen Xingbangda Display Technology Co., Ltd is a company which produces LCD modules. It supplies the LCD panels for the PinePhone. Add the vendor prefix of it. Signed-off-by: Icenowy Zheng Signed-off-by: Ondrej Jirman Acked-by: Rob Herring --- Documentation/devicetre

Re: [PATCH v6 13/13] arm64: dts: sun50i-a64-pinephone: Add touchscreen support

2020-07-02 Thread Icenowy Zheng
于 2020年7月1日 GMT+08:00 下午6:31:26, Ondrej Jirman 写到: >Pinephone has a Goodix GT917S capacitive touchscreen controller on >I2C0 bus. Add support for it. > >Signed-off-by: Ondrej Jirman >Acked-by: Linus Walleij >--- > .../dts/allwinner/sun50i-a64-pinephone.dtsi | 19 +++ > 1 file

[PATCH v10 0/2] Silence missing-graph error for DRM bridges

2020-07-02 Thread Dmitry Osipenko
Hi! This small series improves DRM bridges code by silencing a noisy error coming from of-graph code for the device-trees that are missing a display bridge graph. graph: no port node found in ... One example where this error happens is an older bridge-less DTB used in conjunction with a newer

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-02 Thread Chanwoo Choi
Hi Dmitry, On 6/9/20 10:13 PM, Dmitry Osipenko wrote: > The clk_round_rate() won't be usable for building OPP table once > interconnect support will be added to the EMC driver because that CLK API > function limits the rounded rate based on the clk rate that is imposed by > active clk-users, and t

Re: [PATCH v4 15/37] PM / devfreq: tegra30: Add error messages to tegra_devfreq_target()

2020-07-02 Thread Chanwoo Choi
On 6/9/20 10:13 PM, Dmitry Osipenko wrote: > It's useful to now when something goes wrong instead of failing silently, > so let's add error messages to tegra_devfreq_target() to prevent situation > where it fails silently. > > Signed-off-by: Dmitry Osipenko > --- > drivers/devfreq/tegra30-devfre

[PATCH v6 13/13] arm64: dts: sun50i-a64-pinephone: Add touchscreen support

2020-07-02 Thread Ondrej Jirman
Pinephone has a Goodix GT917S capacitive touchscreen controller on I2C0 bus. Add support for it. Signed-off-by: Ondrej Jirman Acked-by: Linus Walleij --- .../dts/allwinner/sun50i-a64-pinephone.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/al

Re: [PATCH v6 00/13] Add support for PinePhone LCD panel

2020-07-02 Thread Ondřej Jirman
Hello, On Wed, Jul 01, 2020 at 05:54:05PM +0200, Guido Günther wrote: > Hi, > On Wed, Jul 01, 2020 at 12:31:13PM +0200, Ondrej Jirman wrote: > > This patchset adds support for the LCD panel of PinePhone. > > I gave this a quick spin on the Librem5 devkit so > > Tested-by: Guido Günther > > but

Re: [PATCH v6 13/13] arm64: dts: sun50i-a64-pinephone: Add touchscreen support

2020-07-02 Thread Ondřej Jirman
Hi Icenowy, On Wed, Jul 01, 2020 at 08:01:14PM +0800, Icenowy Zheng wrote: > > > 于 2020年7月1日 GMT+08:00 下午6:31:26, Ondrej Jirman 写到: > >Pinephone has a Goodix GT917S capacitive touchscreen controller on > >I2C0 bus. Add support for it. > > > >Signed-off-by: Ondrej Jirman > >Acked-by: Linus Wall

Re: [PATCH v4 17/37] PM / devfreq: tegra20: Relax Kconfig dependency

2020-07-02 Thread Chanwoo Choi
On 6/9/20 10:13 PM, Dmitry Osipenko wrote: > The Tegra EMC driver now could be compiled as a loadable kernel module. > Currently devfreq driver depends on the EMC/MC drivers in Kconfig, and > thus, devfreq is forced to be a kernel module if EMC is compiled as a > module. This build dependency could

Re: [PATCH v4 14/37] PM / devfreq: tegra20: Add error messages to tegra_devfreq_target()

2020-07-02 Thread Chanwoo Choi
On 6/9/20 10:13 PM, Dmitry Osipenko wrote: > It's useful to now when something goes wrong instead of failing silently, > so let's add error messages to tegra_devfreq_target() to prevent situation > where it fails silently. > > Signed-off-by: Dmitry Osipenko > --- > drivers/devfreq/tegra20-devfre

Re: [PATCH v4 11/37] PM / devfreq: tegra30: Silence deferred probe error

2020-07-02 Thread Chanwoo Choi
Hi, On 6/9/20 10:13 PM, Dmitry Osipenko wrote: > Tegra EMC driver was turned into a regular kernel driver, it also could > be compiled as a loadable kernel module now. Hence EMC clock isn't > guaranteed to be available and clk_get("emc") may return -EPROBE_DEFER and > there is no good reason to sp

Re: [PATCH v5 1/2] dt-binding: Add DSI/LVDS TC358775 bridge bindings

2020-07-02 Thread Vinay Simha B N
sam, I rechecked, but did not find any indents are too spaced. This is taken from a working dts tree. I had given two examples for a purpose. One for single lvds configuration single link mode, another is for dual lvds configurations dual-link mode and port mappings. On Wed, Jul 1, 2020 at 2:49

[PATCH -next] drm/amdgpu: remove set but not used variable 'adev'

2020-07-02 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c: In function 'amdgpu_init_mem_type': drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:81:24: warning: variable 'adev' set but not used [-Wunused-but-set-variable] struct amdgpu_device *adev; ^

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-02 Thread Dmitry Osipenko
02.07.2020 07:18, Chanwoo Choi пишет: > Hi Dmitry, > > On 6/9/20 10:13 PM, Dmitry Osipenko wrote: >> The clk_round_rate() won't be usable for building OPP table once >> interconnect support will be added to the EMC driver because that CLK API >> function limits the rounded rate based on the clk ra

答复: [PATCH] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-02 Thread tiantao (H)
Hi: Thanks for the help with the review code. I will send v2 to fixed this. Best -邮件原件- 发件人: Thomas Zimmermann [mailto:tzimmerm...@suse.de] 发送时间: 2020年7月2日 14:43 收件人: tiantao (H) ; Chenfeng (puck) ; airl...@linux.ie; dan...@ffwll.ch; kra...@redhat.com; alexander.deuc...@amd.co

Re: [PATCH v9 0/7] iommu/arm-smmu: Enable split pagetable support

2020-07-02 Thread Sai Prakash Ranjan
Hi Will, Robin, On 2020-06-27 01:30, Jordan Crouse wrote: Another iteration of the split-pagetable support for arm-smmu and the Adreno GPU SMMU. After email discussions [1] we opted to make a arm-smmu implementation for specifically for the Adreno GPU and use that to enable split pagetable sup

[PATCH v7 06/13] drm/panel: st7703: Prepare for supporting multiple panels

2020-07-02 Thread Ondrej Jirman
Parametrize the driver so that it can support more panels based on st7703 controller. Signed-off-by: Ondrej Jirman Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 43 +-- 1 file changed, 31 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/d

[PATCH v6 12/13] arm64: dts: sun50i-a64-pinephone: Enable LCD support on PinePhone

2020-07-02 Thread Ondrej Jirman
From: Icenowy Zheng PinePhone uses PWM backlight and a XBD599 LCD panel over DSI for display. Backlight levels curve was optimized by Martijn Braam using a lux meter. Add its device nodes. Signed-off-by: Icenowy Zheng Signed-off-by: Martijn Braam Signed-off-by: Ondrej Jirman Acked-by: Linus

[PATCH v7 04/13] drm/panel: rocktech-jh057n00900: Rename the driver to st7703

2020-07-02 Thread Ondrej Jirman
This rename is done so that the driver matches the name of the display controller and in preparation for adding support for more panels to the driver. This is just a basic file rename, with no code changes. Signed-off-by: Ondrej Jirman Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/Kconf

Re: [PATCH v5 09/13] drm/panel: st7703: Add support for Xingbangda XBD599

2020-07-02 Thread Ondřej Jirman
Hello Linus, On Wed, Jul 01, 2020 at 09:50:40AM +0200, Linus Walleij wrote: > On Fri, Jun 26, 2020 at 2:56 AM Ondrej Jirman wrote: > > > Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI LCD panel used in > > PinePhone. Add support for it. > > > > Signed-off-by: Icenowy Zheng > > Signed-off-by: On

[PATCH v7 10/13] drm/panel: st7703: Enter sleep after display off

2020-07-02 Thread Ondrej Jirman
The datasheet suggests to issue sleep in after display off as a part of the panel's shutdown sequence. Signed-off-by: Ondrej Jirman Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/driv

[PATCH v7 08/13] drm/panel: st7703: Move generic part of init sequence to enable callback

2020-07-02 Thread Ondrej Jirman
Calling sleep out and display on is a controller specific part of the initialization process. Move it out of the panel specific initialization function to the enable callback. Signed-off-by: Ondrej Jirman Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 33

[PATCH v6 04/13] drm/panel: rocktech-jh057n00900: Rename the driver to st7703

2020-07-02 Thread Ondrej Jirman
This rename is done so that the driver matches the name of the display controller and in preparation for adding support for more panels to the driver. This is just a basic file rename, with no code changes. Signed-off-by: Ondrej Jirman Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/Kconf

Re: [RFC PATCH v5 2/6] interconnect: Add generic interconnect driver for Exynos SoCs

2020-07-02 Thread Georgi Djakov
Hi Sylwester, Thanks for the patch and apologies for the delayed reply. On 5/29/20 19:31, Sylwester Nawrocki wrote: > This patch adds a generic interconnect driver for Exynos SoCs in order > to provide interconnect functionality for each "samsung,exynos-bus" > compatible device. > > The SoC topo

[PATCH v7 07/13] drm/panel: st7703: Move code specific to jh057n closer together

2020-07-02 Thread Ondrej Jirman
It's better than having it spread around the driver. Signed-off-by: Ondrej Jirman Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 48 +-- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7703.c

[PATCH v7 11/13] drm/panel: st7703: Assert reset prior to powering down the regulators

2020-07-02 Thread Ondrej Jirman
The reset pin is inverted, so if we don't assert reset, the actual gpio will be high and may keep driving the IO port of the panel. Signed-off-by: Ondrej Jirman Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drive

Re: [PATCH v4 11/37] PM / devfreq: tegra30: Silence deferred probe error

2020-07-02 Thread Dmitry Osipenko
02.07.2020 03:59, Chanwoo Choi пишет: > Hi, > > On 6/9/20 10:13 PM, Dmitry Osipenko wrote: >> Tegra EMC driver was turned into a regular kernel driver, it also could >> be compiled as a loadable kernel module now. Hence EMC clock isn't >> guaranteed to be available and clk_get("emc") may return -E

[PATCH v6 07/13] drm/panel: st7703: Move code specific to jh057n closer together

2020-07-02 Thread Ondrej Jirman
It's better than having it spread around the driver. Signed-off-by: Ondrej Jirman Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 50 +-- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7703.c

[PATCH v6 09/13] drm/panel: st7703: Add support for Xingbangda XBD599

2020-07-02 Thread Ondrej Jirman
Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI LCD panel used in PinePhone. Add support for it. Signed-off-by: Icenowy Zheng Signed-off-by: Ondrej Jirman Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 200 +- 1 file changed, 198 insertions(+), 2

Re: [RFC PATCH] interconnect: qcom: add functions to query addr/cmds for a path

2020-07-02 Thread Jonathan Marek
On 7/1/20 12:56 PM, Jordan Crouse wrote: On Wed, Jul 01, 2020 at 12:25:25AM -0400, Jonathan Marek wrote: The a6xx GMU can vote for ddr and cnoc bandwidth, but it needs to be able to query the interconnect driver for bcm addresses and commands. I'm not sure what is the best way to go about imple

Re: [PATCH v4 27/37] interconnect: Relax requirement in of_icc_get_from_provider()

2020-07-02 Thread Dmitry Osipenko
01.07.2020 20:10, Georgi Djakov пишет: > Hi Dmitry, > > On 6/9/20 16:13, Dmitry Osipenko wrote: >> From: Artur Świgoń >> >> This patch relaxes the condition in of_icc_get_from_provider() so that it >> is no longer required to set #interconnect-cells = <1> in the DT. In case >> of the devfreq driv

Re: [PATCH v4 10/37] PM / devfreq: tegra20: Silence deferred probe error

2020-07-02 Thread Chanwoo Choi
On 7/2/20 9:56 AM, Chanwoo Choi wrote: > Hi Dmitry, > > On 6/9/20 10:13 PM, Dmitry Osipenko wrote: >> Tegra EMC driver was turned into a regular kernel driver, it also could >> be compiled as a loadable kernel module now. Hence EMC clock isn't > > Looks good to me. But, you better to add the comm

[PATCH v7 00/13] Add support for PinePhone LCD panel

2020-07-02 Thread Ondrej Jirman
This patchset adds support for the LCD panel of PinePhone. I've tested this on PinePhone 1.0 and 1.2. Please take a look. thank you and regards, Ondrej Jirman Changes in v7: - Removed mode.vrefresh, rebased onto next-20200701 - v6->v7 diff: https://megous.com/dl/tmp/v6-v7.patch Changes in v6

[PATCH v2] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-02 Thread Tian Tao
using the new API drmm_kzalloc() instead of devm_kzalloc() v2: keep the DRM include statements sorted alphabetically. Signed-off-by: Tian Tao Reviewed-by: Thomas Zimmermann --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions

Re: [PATCH v4 28/37] memory: tegra: Register as interconnect provider

2020-07-02 Thread Georgi Djakov
Hi Dmitry, Thank you for updating the patches! On 6/9/20 16:13, Dmitry Osipenko wrote: > Now memory controller is a memory interconnection provider. This allows us > to use interconnect API in order to change memory configuration. > > Signed-off-by: Dmitry Osipenko > --- > drivers/memory/tegra

Re: [PATCH v4 11/37] PM / devfreq: tegra30: Silence deferred probe error

2020-07-02 Thread Dmitry Osipenko
02.07.2020 04:34, Chanwoo Choi пишет: > On 7/2/20 10:20 AM, Dmitry Osipenko wrote: >> 02.07.2020 03:59, Chanwoo Choi пишет: >>> Hi, >>> >>> On 6/9/20 10:13 PM, Dmitry Osipenko wrote: Tegra EMC driver was turned into a regular kernel driver, it also could be compiled as a loadable kernel m

Re: [PATCH v4 11/37] PM / devfreq: tegra30: Silence deferred probe error

2020-07-02 Thread Chanwoo Choi
On 7/2/20 10:20 AM, Dmitry Osipenko wrote: > 02.07.2020 03:59, Chanwoo Choi пишет: >> Hi, >> >> On 6/9/20 10:13 PM, Dmitry Osipenko wrote: >>> Tegra EMC driver was turned into a regular kernel driver, it also could >>> be compiled as a loadable kernel module now. Hence EMC clock isn't >>> guarantee

Re: [PATCH v6 00/13] Add support for PinePhone LCD panel

2020-07-02 Thread Ondřej Jirman
Hello Sam, On Wed, Jul 01, 2020 at 05:25:32PM +0200, Sam Ravnborg wrote: > Hi Ondrej. > > On Wed, Jul 01, 2020 at 12:31:13PM +0200, Ondrej Jirman wrote: > > This patchset adds support for the LCD panel of PinePhone. > > > > I've tested this on PinePhone 1.0 and 1.2. > > > > Please take a look.

[PATCH v7 12/13] arm64: dts: sun50i-a64-pinephone: Enable LCD support on PinePhone

2020-07-02 Thread Ondrej Jirman
From: Icenowy Zheng PinePhone uses PWM backlight and a XBD599 LCD panel over DSI for display. Backlight levels curve was optimized by Martijn Braam using a lux meter. Add its device nodes. Signed-off-by: Icenowy Zheng Signed-off-by: Martijn Braam Signed-off-by: Ondrej Jirman Acked-by: Linus

[PATCH v7 13/13] arm64: dts: sun50i-a64-pinephone: Add touchscreen support

2020-07-02 Thread Ondrej Jirman
Pinephone has a Goodix GT917S capacitive touchscreen controller on I2C0 bus. Add support for it. Signed-off-by: Ondrej Jirman Acked-by: Linus Walleij --- .../dts/allwinner/sun50i-a64-pinephone.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/al

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-02 Thread Dmitry Osipenko
02.07.2020 08:30, Chanwoo Choi пишет: > On 7/2/20 2:07 PM, Dmitry Osipenko wrote: >> 02.07.2020 07:18, Chanwoo Choi пишет: >>> Hi Dmitry, >>> >>> On 6/9/20 10:13 PM, Dmitry Osipenko wrote: The clk_round_rate() won't be usable for building OPP table once interconnect support will be added

[PATCH v6 02/13] dt-bindings: panel: Convert rocktech, jh057n00900 to yaml

2020-07-02 Thread Ondrej Jirman
Convert Rocktech MIPI DSI panel driver from txt to yaml bindings. Signed-off-by: Ondrej Jirman --- .../display/panel/rocktech,jh057n00900.txt| 23 --- .../display/panel/rocktech,jh057n00900.yaml | 66 +++ 2 files changed, 66 insertions(+), 23 deletions(-) delete mode 1

[PATCH v7 09/13] drm/panel: st7703: Add support for Xingbangda XBD599

2020-07-02 Thread Ondrej Jirman
Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI LCD panel used in PinePhone. Add support for it. Signed-off-by: Icenowy Zheng Signed-off-by: Ondrej Jirman Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 199 +- 1 file changed, 197 insertions(+), 2

Re: [PATCH v7 00/13] Add support for PinePhone LCD panel

2020-07-02 Thread Ondřej Jirman
Hello Sam, On Wed, Jul 01, 2020 at 07:30:18PM +0200, Sam Ravnborg wrote: > Hi Ondrej. > > On Wed, Jul 01, 2020 at 06:29:15PM +0200, Ondrej Jirman wrote: > > This patchset adds support for the LCD panel of PinePhone. > > > > I've tested this on PinePhone 1.0 and 1.2. > > Thanks for this nive ser

Re: [PATCH] drm/msm: handle for EPROBE_DEFER for of_icc_get

2020-07-02 Thread Jonathan Marek
On 7/1/20 1:12 PM, Matthias Kaehlcke wrote: Hi Jonathan, On Tue, Jun 30, 2020 at 11:08:41PM -0400, Jonathan Marek wrote: Check for EPROBE_DEFER instead of silently not using icc if the msm driver probes before the interconnect driver. Agreed with supporting deferred ICC probing. Only check

Re: [PATCH v4 16/37] PM / devfreq: tegra20: Adjust clocks conversion ratio and polling interval

2020-07-02 Thread Chanwoo Choi
On 6/9/20 10:13 PM, Dmitry Osipenko wrote: > The current conversion ratio results in a higher frequency than needed, > that is not very actual now since the Display Controller driver got > support for memory bandwidth management and hence memory frequency can > go lower now without bad consequences

[PATCH] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-02 Thread Tian Tao
using the new API drmm_kzalloc() instead of devm_kzalloc() Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_dr

Re: [PATCH v4 27/37] interconnect: Relax requirement in of_icc_get_from_provider()

2020-07-02 Thread Georgi Djakov
Hi Dmitry, On 6/9/20 16:13, Dmitry Osipenko wrote: > From: Artur Świgoń > > This patch relaxes the condition in of_icc_get_from_provider() so that it > is no longer required to set #interconnect-cells = <1> in the DT. In case > of the devfreq driver for exynos-bus, #interconnect-cells is always

Re: [PATCH v4 10/37] PM / devfreq: tegra20: Silence deferred probe error

2020-07-02 Thread Chanwoo Choi
Hi Dmitry, On 6/9/20 10:13 PM, Dmitry Osipenko wrote: > Tegra EMC driver was turned into a regular kernel driver, it also could > be compiled as a loadable kernel module now. Hence EMC clock isn't Looks good to me. But, you better to add the commit information about Tegra EMC driver with commit-i

Re: [git pull] drm for 5.8-rc1

2020-07-02 Thread Daniel Vetter
On Wed, Jul 1, 2020 at 9:45 PM James Jones wrote: > > OK, I think I see what's going on. In the Xorg modesetting driver, the > logic is basically: > > if (gbm_has_modifiers && DRM_CAP_ADDFB2_MODIFIERS != 0) { >drmModeAddFB2WithModifiers(..., gbm_bo_get_modifier(bo->gbm)); > } else { >drmM

[PATCH v8 1/6] drm/fourcc: Add modifier definitions for describing Amlogic Video Framebuffer Compression

2020-07-02 Thread Neil Armstrong
Amlogic uses a proprietary lossless image compression protocol and format for their hardware video codec accelerators, either video decoders or video input encoders. It considerably reduces memory bandwidth while writing and reading frames in memory. The underlying storage is considered to be 3 c

[PATCH v8 0/6] drm/meson: add support for Amlogic Video FBC

2020-07-02 Thread Neil Armstrong
Amlogic uses a proprietary lossless image compression protocol and format for their hardware video codec accelerators, either video decoders or video input encoders. It considerably reduces memory bandwidth while writing and reading frames in memory. The underlying storage is considered to be 3 c

[PATCH v8 3/6] drm/meson: overlay: setup overlay for Amlogic FBC

2020-07-02 Thread Neil Armstrong
Setup the Amlogic FBC decoder for the VD1 video overlay plane. The VD1 Amlogic FBC decoder is integrated in the pipeline like the YUV pixel reading/formatter but used a direct memory address instead. This adds support for the basic layout, and needs to calculate the content body size since the he

[PATCH v8 4/6] drm/meson: overlay: setup overlay for Amlogic FBC Memory Saving mode

2020-07-02 Thread Neil Armstrong
Setup the Amlogic FBC decoder for the VD1 video overlay plane to use a different superblock size for the Memory Saving mode. Tested-by: Kevin Hilman Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_overlay.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deleti

[PATCH v8 2/6] drm/meson: add Amlogic Video FBC registers

2020-07-02 Thread Neil Armstrong
Add the registers of the VPU VD1 Amlogic FBC decoder module, and routing register. Tested-by: Kevin Hilman Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_registers.h | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/gpu/drm/meson/meson_registers.

[PATCH v8 6/6] drm/meson: crtc: handle commit of Amlogic FBC frames

2020-07-02 Thread Neil Armstrong
Since the VD1 Amlogic FBC decoder is now configured by the overlay driver, commit the right registers to decode the Amlogic FBC frame. Tested-by: Kevin Hilman Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_crtc.c | 118 + 1 file changed, 88 insertions(

[PATCH v8 5/6] drm/meson: overlay: setup overlay for Amlogic FBC Scatter Memory layout

2020-07-02 Thread Neil Armstrong
Setup the Amlogic FBC decoder for the VD1 video overlay plane to use read the FBC header as Scatter Memory layout reference. Tested-by: Kevin Hilman Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_overlay.c | 53 ++- 1 file changed, 35 insertions(+), 18 del

[PULL] drm-misc-fixes

2020-07-02 Thread Thomas Zimmermann
Hi Dave and Daniel, here's the PR for the current drm-misc-fixes. Best regards Thomas drm-misc-fixes-2020-07-02: * dma-buf: fix a use-after-free bug * sun4i: remove HPD polling The following changes since commit dc5bdb68b5b369d5bc7d1de96fa64cc1737a6320: drm/fb-helper: Fix vt restore (2020-

Re: [git pull] drm for 5.8-rc1

2020-07-02 Thread Pekka Paalanen
On Wed, 1 Jul 2020 12:45:48 -0700 James Jones wrote: > OK, I think I see what's going on. In the Xorg modesetting driver, the > logic is basically: > > if (gbm_has_modifiers && DRM_CAP_ADDFB2_MODIFIERS != 0) { >drmModeAddFB2WithModifiers(..., gbm_bo_get_modifier(bo->gbm)); > } else { >

Re: [PATCH v3 0/16] backlight updates

2020-07-02 Thread Sam Ravnborg
Hi Emil. Long overdue feedback, I did not find time to go back to this patch-set until now. On Tue, Jun 02, 2020 at 03:04:39PM +0100, Emil Velikov wrote: > Hi Sam, > > On Mon, 1 Jun 2020 at 07:52, Sam Ravnborg wrote: > > > > v3: > > - Dropped video patch that was reviewd and thus applied > >

Re: [git pull] drm for 5.8-rc1

2020-07-02 Thread Daniel Stone
Hi, On Wed, 1 Jul 2020 at 20:45, James Jones wrote: > OK, I think I see what's going on. In the Xorg modesetting driver, the > logic is basically: > > if (gbm_has_modifiers && DRM_CAP_ADDFB2_MODIFIERS != 0) { >drmModeAddFB2WithModifiers(..., gbm_bo_get_modifier(bo->gbm)); > } else { >drm

Re: [PATCH 1/2] Revert "dma-buf: Report signaled links inside dma-fence-chain"

2020-07-02 Thread Lionel Landwerlin
On 25/06/2020 15:43, Christian König wrote: Am 25.06.20 um 14:34 schrieb Lionel Landwerlin: This reverts commit 5de376bb434f80a13138f0ebedc8351ab73d8b0d. This change breaks synchronization of a timeline. dma_fence_chain_find_seqno() might be a bit of a confusing name but this function is not tr

Re: [PATCH v3] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-02 Thread Thomas Zimmermann
Thanks! Applied to drm-misc-next Best regards Thomas Am 02.07.20 um 09:49 schrieb Tian Tao: > using the new API drmm_kzalloc() instead of devm_kzalloc() > > v3: > still fixed include statements sorted alphabetically. > > v2: > keep the DRM include statements sorted alphabetically. > > Signed-o

Re: [PATCH 1/2] Revert "dma-buf: Report signaled links inside dma-fence-chain"

2020-07-02 Thread Christian König
Am 02.07.20 um 10:26 schrieb Lionel Landwerlin: On 25/06/2020 15:43, Christian König wrote: Am 25.06.20 um 14:34 schrieb Lionel Landwerlin: This reverts commit 5de376bb434f80a13138f0ebedc8351ab73d8b0d. This change breaks synchronization of a timeline. dma_fence_chain_find_seqno() might be a bi

Re: [PATCH RESEND v1] drm/meson: viu: fix setting the OSD burst length in VIU_OSD1_FIFO_CTRL_STAT

2020-07-02 Thread Neil Armstrong
On 20/06/2020 17:57, Martin Blumenstingl wrote: > The burst length is configured in VIU_OSD1_FIFO_CTRL_STAT[31] and > VIU_OSD1_FIFO_CTRL_STAT[11:10]. The public S905D3 datasheet describes > this as: > - 0x0 = up to 24 per burst > - 0x1 = up to 32 per burst > - 0x2 = up to 48 per burst > - 0x3 = up

Re: [PATCH 2/4] drm/msm: dsi: Use OPP API to set clk/perf state

2020-07-02 Thread Rajendra Nayak
On 7/1/2020 9:57 PM, Matthias Kaehlcke wrote: On Tue, Jun 30, 2020 at 05:26:14PM +0530, Rajendra Nayak wrote: On SDM845 DSI needs to express a perforamnce state nit: performance requirement on a power domain depending on the clock rates. Use OPP table from DT to register with OPP framework

Re: [PATCH v8 1/6] drm/fourcc: Add modifier definitions for describing Amlogic Video Framebuffer Compression

2020-07-02 Thread Simon Ser
On Thursday, July 2, 2020 9:47 AM, Neil Armstrong wrote: > Finally is also adds the Scatter Memory layout, meaning the header contains > IOMMU > references to the compressed frames content to optimize memory access > and layout. > > In this mode, only the header memory address is needed, thus t

Re: [PATCH 3/8] drm/imx: Use __drm_atomic_helper_crtc_reset

2020-07-02 Thread Daniel Vetter
On Wed, Jun 24, 2020 at 9:25 AM Daniel Vetter wrote: > > On Fri, Jun 12, 2020 at 06:00:51PM +0200, Daniel Vetter wrote: > > Now also comes with the added benefit of doing a drm_crtc_vblank_off(), > > which means vblank state isn't ill-defined and fail-y at driver load > > before the first modeset

Re: [PATCH] drm/stm: repair runtime power management

2020-07-02 Thread Philippe CORNU
On 7/1/20 2:14 PM, Yannick FERTRE wrote: > > > On 3/9/20 12:57 PM, Marek Vasut wrote: >> On 3/9/20 11:35 AM, Yannick FERTRE wrote: >>> Hello Marek, >> >> Hi, >> >> (please stop top-posting) >> >>> Thank for your patch. Pm_runtime_put_sync is also done into function >>> ltdc_crtc_mode_fixup. >>

Re: [PATCH v3] drm/hisilicon: Code refactoring for hibmc_drv_vdac

2020-07-02 Thread Thomas Zimmermann
Thanks! Am 02.07.20 um 10:54 schrieb Tian Tao: > code refactoring for hibmc_drv_vdac.c, no actual function changes. > > v2: > remove the debug message. > > v3: > embedding connector and encoder in struct hibmc_drm_private. > > Signed-off-by: Tian Tao Reviewed-by: Thomas Zimmermann Maybe oth

Re: [PATCH 3/8] drm/imx: Use __drm_atomic_helper_crtc_reset

2020-07-02 Thread Philipp Zabel
On Thu, 2020-07-02 at 11:41 +0200, Daniel Vetter wrote: > On Wed, Jun 24, 2020 at 9:25 AM Daniel Vetter wrote: > > On Fri, Jun 12, 2020 at 06:00:51PM +0200, Daniel Vetter wrote: > > > Now also comes with the added benefit of doing a drm_crtc_vblank_off(), > > > which means vblank state isn't ill-d

[Bug 208411] New: GPU reset end with ret = -110

2020-07-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208411 Bug ID: 208411 Summary: GPU reset end with ret = -110 Product: Drivers Version: 2.5 Kernel Version: Mainline 5.7.6 Hardware: x86-64 OS: Linux Tree: Mainline

Re: [PATCH 00/59] Add support for Keem Bay DRM driver

2020-07-02 Thread Neil Armstrong
Hi, On 30/06/2020 23:27, Anitha Chrisanthus wrote: > This is a new DRM driver for Intel's KeemBay SOC. > The SoC couples an ARM Cortex A53 CPU with an Intel > Movidius VPU. > > This driver is tested with the KMB EVM board which is the refernce baord > for Keem Bay SOC. The SOC's display pipeline

[Bug 208413] New: amdgpu driver crash

2020-07-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208413 Bug ID: 208413 Summary: amdgpu driver crash Product: Drivers Version: 2.5 Kernel Version: 5.8 Hardware: All OS: Linux Tree: Mainline Status: NEW

[Bug 208413] amdgpu driver crash

2020-07-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208413 --- Comment #1 from ghutzr...@gmail.com --- Created attachment 290065 --> https://bugzilla.kernel.org/attachment.cgi?id=290065&action=edit other dmesg from hang -- You are receiving this mail because: You are watching the assignee of the bug.

[PATCH v2 3/4] arm64: dts: sdm845: Add DSI and MDP OPP tables and power-domains

2020-07-02 Thread Rajendra Nayak
Add the OPP tables for DSI and MDP based on the perf state/clk requirements, and add the power-domains property to specify the scalable power domain. Signed-off-by: Rajendra Nayak Reviewed-by: Matthias Kaehlcke --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 59

  1   2   >