Re: [PATCH v2 5/5] drm/selftests: Add command line parser selftests

2019-04-12 Thread kbuild test robot
/commits/Maxime-Ripard/drm-modes-Rewrite-the-command-line-parser/20190412-122837 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' sparse warnings: (new ones prefixed by >>) >> dri

[PATCH v2 5/8] arm64: dts: allwinner: Add mali GPU supply for Pine H64

2019-04-12 Thread Clément Péron
Enable and add supply to the Mali GPU node on the Pine H64 board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/s

Re: [PATCH] drm/panfrost: Add support for 2MB page entries

2019-04-12 Thread Alyssa Rosenzweig
Acked-by: Alyssa Rosenzweig ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH] gpu: host1x: fix compile error when IOMMU API is not available

2019-04-12 Thread Ben Dooks
On 2019-04-10 23:47, Stefan Agner wrote: In case the IOMMU API is not available compiling host1x fails with the following error: In file included from drivers/gpu/host1x/hw/host1x06.c:27: drivers/gpu/host1x/hw/channel_hw.c: In function ‘host1x_channel_set_streamid’: drivers/gpu/host1x/h

[PATCH v2 4/8] arm64: dts: allwinner: Add ARM Mali GPU node for H6

2019-04-12 Thread Clément Péron
Add the mali gpu node to the H6 device-tree. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index e0dc4a

[PATCH v2 0/8] Add Allwinner H6 Mali Midgard GPU

2019-04-12 Thread Clément Péron
Hi, The Allwinner H6 has a Mali-T720 MP2. The drivers are out-of-tree so this series only introduce the dt-bindings. The first patch is from Neil Amstrong and has been already merged in linux-amlogic. It is required for this series. The second patch is from Icenowy Zheng where I changed the orde

[PATCH v2 7/8] arm64: dts: allwinner: Add mali GPU supply for OrangePi Boards

2019-04-12 Thread Clément Péron
Enable and add supply to the Mali GPU node on the Orange Pi One Plus and Lite2 boards. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi b/arch/arm

[PATCH v2 1/8] dt-bindings: gpu: mali-midgard: Add resets property

2019-04-12 Thread Clément Péron
From: Neil Armstrong The Amlogic ARM Mali Midgard requires reset controls to power on and software reset the GPU, adds these as optional in the bindings. Signed-off-by: Neil Armstrong Reviewed-by: Rob Herring Signed-off-by: Kevin Hilman --- .../devicetree/bindings/gpu/arm,mali-midgard.txt

Re: [linux-sunxi] [PATCH v3 03/11] pinctrl: sunxi: Prepare for alternative bias voltage setting methods

2019-04-12 Thread Julian Calaby
Hi Ondrej On Thu, Apr 11, 2019 at 8:19 PM megous via linux-sunxi wrote: > > From: Ondrej Jirman > > H6 has a different I/O voltage bias setting method than A80. Prepare > existing code for using alternative bias voltage setting methods. > > Signed-off-by: Ondrej Jirman > diff --git a/drivers/pi

Re: [PATCH v2 0/8] Add Allwinner H6 Mali Midgard GPU

2019-04-12 Thread Clément Péron
Hi, On Thu, 11 Apr 2019 at 17:01, Jernej Škrabec wrote: > > Hi! > > Dne četrtek, 11. april 2019 ob 14:32:23 CEST je Maxime Ripard napisal(a): > > On Thu, Apr 11, 2019 at 12:57:12PM +0200, Clément Péron wrote: > > > Hi, > > > > > > The Allwinner H6 has a Mali-T720 MP2. The drivers are > > > out-of

[PATCH v2 3/8] dt-bindings: gpu: mali-midgard: Add h6 mali gpu compatible

2019-04-12 Thread Clément Péron
This add the H6 mali compatible in the dt-bindings to later support specific implementation. Signed-off-by: Clément Péron --- .../devicetree/bindings/gpu/arm,mali-midgard.txt | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/gpu

[PATCH 1/4] dt-bindings: display: renesas: du: Document the r8a774a1 bindings

2019-04-12 Thread Biju Das
Document the RZ/G2M (R8A774A1) SoC in the R-Car DU bindings. Signed-off-by: Biju Das --- Documentation/devicetree/bindings/display/renesas,du.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/renesas,du.txt b/Documentation/devicetree/bindings/di

Re: [OSSTEST PATCH 21/62] ts-kernel-build: disable host1x, which doesn't build

2019-04-12 Thread Julien Grall
Hi, On 4/10/19 3:23 PM, Ian Jackson wrote: From: Wei Liu Empirically, on stretch armhf: drivers/gpu/host1x/cdma.c: In function `host1x_pushbuffer_init': drivers/gpu/host1x/cdma.c:94:48: error: passing argument 3 of `dma_alloc_wc' from incompatible pointer type [-Werror=incompatible-poi

Re: [PATCH v3 3/3] drm/panfrost: Add initial panfrost driver

2019-04-12 Thread Steven Price
On 09/04/2019 21:54, Rob Herring wrote: > This adds the initial driver for panfrost which supports Arm Mali > Midgard and Bifrost family of GPUs. Currently, only the T860 and > T760 Midgard GPUs have been tested. > > v2: > - Add GPU reset on job hangs (Tomeu) > - Add RuntimePM and devfreq support

Re: [PATCH v2 0/8] Add Allwinner H6 Mali Midgard GPU

2019-04-12 Thread Jernej Škrabec
Hi! Dne četrtek, 11. april 2019 ob 14:32:23 CEST je Maxime Ripard napisal(a): > On Thu, Apr 11, 2019 at 12:57:12PM +0200, Clément Péron wrote: > > Hi, > > > > The Allwinner H6 has a Mali-T720 MP2. The drivers are > > out-of-tree so this series only introduce the dt-bindings. > > > > The first pa

Re: [PATCH v2 4/8] arm64: dts: allwinner: Add ARM Mali GPU node for H6

2019-04-12 Thread Jernej Škrabec
Dne četrtek, 11. april 2019 ob 12:57:16 CEST je Clément Péron napisal(a): > Add the mali gpu node to the H6 device-tree. > > Signed-off-by: Clément Péron > --- > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm64/boot

[PATCH v2 2/8] dt-bindings: gpu: add bus clock for Mali Midgard GPUs

2019-04-12 Thread Clément Péron
Some SoCs adds a bus clock gate to the Mali Midgard GPU. Add the binding for the bus clock. Signed-off-by: Icenowy Zheng Signed-off-by: Clément Péron --- Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetre

[PATCH 2/4] dt-bindings: display: renesas: lvds: Document r8a774a1 bindings

2019-04-12 Thread Biju Das
Document the RZ/G2M (R8A774A1) LVDS bindings. Signed-off-by: Biju Das --- Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt b/Documentation/devicetree/bindings/d

[PATCH 3/4] drm: rcar-du: Add R8A774A1 support

2019-04-12 Thread Biju Das
Add support for the R8A774A1 DU (which is very similar to the R8A7796 DU); it has one RGB output, one LVDS output and one HDMI output. Signed-off-by: Biju Das --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/dr

[PATCH 4/4] drm: rcar-du: lvds: Add r8a774a1 support

2019-04-12 Thread Biju Das
The LVDS encoders on RZ/G2M SoC is similar to R-Car M3-W. Add support for RZ/G2M (R8A774A1) SoC to the LVDS encoder driver. Signed-off-by: Biju Das --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rcar-du/rcar_lvds.c b/drivers/gpu/drm/r

[PATCH v2 6/8] arm64: dts: allwinner: Add mali GPU supply for Beelink GS1

2019-04-12 Thread Clément Péron
Enable and add supply to the Mali GPU node on the Beelink GS1 board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch/arm64/boot/dts/al

Re: [PATCH v13 10/20] kernel, arm64: untag user pointers in prctl_set_mm*

2019-04-12 Thread Andrey Konovalov
On Mon, Apr 1, 2019 at 6:44 PM Andrey Konovalov wrote: > > On Fri, Mar 22, 2019 at 4:41 PM Catalin Marinas > wrote: > > > > On Wed, Mar 20, 2019 at 03:51:24PM +0100, Andrey Konovalov wrote: > > > @@ -2120,13 +2135,14 @@ static int prctl_set_mm(int opt, unsigned long > > > addr, > > > if (

Re: [PATCH v2 4/8] arm64: dts: allwinner: Add ARM Mali GPU node for H6

2019-04-12 Thread Jernej Škrabec
Dne četrtek, 11. april 2019 ob 17:20:04 CEST je Clément Péron napisal(a): > Hi, > > On Thu, 11 Apr 2019 at 17:05, Jernej Škrabec wrote: > > Dne četrtek, 11. april 2019 ob 12:57:16 CEST je Clément Péron napisal(a): > > > Add the mali gpu node to the H6 device-tree. > > > > > > Signed-off-by: Clé

Re: [PATCH v2 4/8] arm64: dts: allwinner: Add ARM Mali GPU node for H6

2019-04-12 Thread Jernej Škrabec
Dne četrtek, 11. april 2019 ob 17:27:52 CEST je Maxime Ripard napisal(a): > On Thu, Apr 11, 2019 at 05:23:25PM +0200, Jernej Škrabec wrote: > > Dne četrtek, 11. april 2019 ob 17:20:04 CEST je Clément Péron napisal(a): > > > Hi, > > > > > > On Thu, 11 Apr 2019 at 17:05, Jernej Škrabec > > > > wro

Re: [PATCH v2 4/8] arm64: dts: allwinner: Add ARM Mali GPU node for H6

2019-04-12 Thread Clément Péron
Hi, On Thu, 11 Apr 2019 at 17:05, Jernej Škrabec wrote: > > Dne četrtek, 11. april 2019 ob 12:57:16 CEST je Clément Péron napisal(a): > > Add the mali gpu node to the H6 device-tree. > > > > Signed-off-by: Clément Péron > > --- > > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 14 +

[PATCH 0/4] Add RZ/G2M DU support

2019-04-12 Thread Biju Das
This patch series aims to add binding/driver support for R8A774A1(a.k.a RZ/G2M) DU (which is very similar to the R8A7796 DU); it has one RGB output, one LVDS output and one HDMI output. This patchset is based on linux_next next-20190411 branch. Biju Das (4): dt-bindings: display: renesas: du: D

Re: [PATCH v2 2/8] dt-bindings: gpu: add bus clock for Mali Midgard GPUs

2019-04-12 Thread Clément Péron
Hi, On Thu, 11 Apr 2019 at 14:30, Maxime Ripard wrote: > > On Thu, Apr 11, 2019 at 12:57:14PM +0200, Clément Péron wrote: > > Some SoCs adds a bus clock gate to the Mali Midgard GPU. > > > > Add the binding for the bus clock. > > > > Signed-off-by: Icenowy Zheng > > Signed-off-by: Clément Péron

Re: [PATCH] gpu: host1x: fix compile error when IOMMU API is not available

2019-04-12 Thread Dmitry Osipenko
11.04.2019 13:06, Mikko Perttunen пишет: > On 11.4.2019 11.30, Thierry Reding wrote: >> On Thu, Apr 11, 2019 at 09:23:13AM +0100, Ben Dooks wrote: >>> >>> >>> On 2019-04-10 23:47, Stefan Agner wrote: In case the IOMMU API is not available compiling host1x fails with the following error: >

Re: [PATCH 3/8] dt-bindings: gpu: mali-midgard: Add h6 mali gpu compatible

2019-04-12 Thread Clément Péron
Hi, On Thu, 11 Apr 2019 at 09:27, Maxime Ripard wrote: > > On Thu, Apr 11, 2019 at 01:25:38AM +0200, Clément Péron wrote: > > This add the H6 mali compatible in the dt-bindings to later support > > specific implementation. > > > > Signed-off-by: Clément Péron > > --- > > .../devicetree/bindings

Re: [OSSTEST PATCH 21/62] ts-kernel-build: disable host1x, which doesn't build

2019-04-12 Thread Julien Grall
Hi Ian, On 4/10/19 4:47 PM, Ian Jackson wrote: Julien Grall writes ("Re: [OSSTEST PATCH 21/62] ts-kernel-build: disable host1x, which doesn't build"): Ian are we using a different config between Jessie and Stretch? Not very [1], but we *are* using a different compiler (since we just use the

[PATCH v2 8/8] arm64: dts: allwinner: Add mali GPU supply for OrangePi 3

2019-04-12 Thread Clément Péron
Enable and add supply to the Mali GPU node on the Orange Pi 3 board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts b/arch/arm64/boot/dts/allw

Re: [PATCH 2/2] drm/bridge: ti-tfp410: Set the bus_format

2019-04-12 Thread Andrzej Hajda
On 01.04.2019 14:41, Peter Ujfalusi wrote: > The TFP410 supports 24 bit, single-edge and 12 bit, dual-edge modes. > Depending on how many wires are used (24/12) the driver can set the correct > bus_format. > > If the information is not available in DT then assume 24 bit, single-edge > setup. > > Si

Re: [PATCH 3/4] drm/amdgpu: Avoid HW reset if guilty job already signaled.

2019-04-12 Thread Christian König
Am 11.04.19 um 18:03 schrieb Andrey Grodzovsky: Also reject TDRs if another one already running. v2: Stop all schedulers across device and entire XGMI hive before force signaling HW fences. Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 125

Re: [PATCH 4/4] drm/amd/display: Restore deleted patch to resolve reset deadlock.

2019-04-12 Thread Christian König
Am 11.04.19 um 18:03 schrieb Andrey Grodzovsky: Patch '5edb0c9b Fix deadlock with display during hanged ring recovery' was accidentaly removed during one of DALs code merges. Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 19 +-- 1 fi

Re: [PATCH 2/2] drm/bridge: ti-tfp410: Set the bus_format

2019-04-12 Thread Andrzej Hajda
On 12.04.2019 09:33, Andrzej Hajda wrote: > On 01.04.2019 14:41, Peter Ujfalusi wrote: >> The TFP410 supports 24 bit, single-edge and 12 bit, dual-edge modes. >> Depending on how many wires are used (24/12) the driver can set the correct >> bus_format. >> >> If the information is not available in D

Re: [PATCHv2 21/22] drm/bridge: tc358767: add IRQ and HPD support

2019-04-12 Thread Tomi Valkeinen
Hi Andrey, On 03/04/2019 14:34, Tomi Valkeinen wrote: > On 02/04/2019 05:16, Andrey Smirnov wrote: > >> The early return above causes tc_get_display_props() to never be >> called for eDP case, which in turn result in tc_mode_valid() returning >> MODE_BAD for every mode it is given since it depend

Re: [PATCH drm-tip] rerere-cache: Fix drm/drm-next merge conflict resolution

2019-04-12 Thread Jani Nikula
On Fri, 12 Apr 2019, Janusz Krzysztofik wrote: > A change introduced by commit ba3bf37e150a ("drm/drv: drm_dev_unplug(): > Move out drm_dev_put() call") to drivers/gpu/drm/drm_drv.c has been > reverted by that incorrect merge conflict resolution, fix it. > > That has been apparently introduced in

Re: [PATCH v5 6/6] drm/bridge: sii902x: Implement HDMI audio support

2019-04-12 Thread Andrzej Hajda
On 22.03.2019 09:06, Jyri Sarha wrote: > Implement HDMI audio support by using ASoC HDMI codec. The commit > implements the necessary callbacks and configuration for the HDMI > codec and registers a virtual platform device for the codec to attach. > > Signed-off-by: Jyri Sarha > --- > drivers/gpu

Re: [PATCH libdrm] headers: Sync with drm-next

2019-04-12 Thread Ayan Halder
On Wed, Apr 10, 2019 at 09:49:33PM -0400, Rob Clark wrote: > On Tue, Apr 9, 2019 at 8:27 AM Eric Engestrom > wrote: > > > > On Tuesday, 2019-04-09 12:59:13 +0100, Eric Engestrom wrote: > > > On Tuesday, 2019-04-09 11:35:14 +, Ayan Halder wrote: > > > > Generated using make headers_install fro

Re: [PATCH libdrm] headers: Sync with drm-next

2019-04-12 Thread Ayan Halder
On Thu, Apr 11, 2019 at 07:20:32AM +0100, Eric Engestrom wrote: > On Wednesday, 2019-04-10 21:49:33 -0400, Rob Clark wrote: > > On Tue, Apr 9, 2019 at 8:27 AM Eric Engestrom > > wrote: > > > > > diff --git a/include/drm/msm_drm.h b/include/drm/msm_drm.h > > > > > index c06d0a5..91a16b3 100644 > >

[Bug 102646] Screen flickering under amdgpu-experimental [buggy auto power profile]

2019-04-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102646 --- Comment #79 from Garrett --- turns out if you just echo "0" for both sclk and mclk it fixes it at 75hz. cant say for higher refresh rate, but my GPU is running stock now. what a weird problem to have :/ -- You are receiving this mail becau

[PATCH 2/2] drm/tinydrm: Use spi_is_bpw_supported()

2019-04-12 Thread Noralf Trønnes
This means that tinydrm_spi_bpw_supported() can be removed. Signed-off-by: Noralf Trønnes --- .../gpu/drm/tinydrm/core/tinydrm-helpers.c| 32 +-- drivers/gpu/drm/tinydrm/mipi-dbi.c| 5 ++- include/drm/tinydrm/tinydrm-helpers.h | 1 - 3 files changed, 3 i

[PATCH 1/2] spi: Add spi_is_bpw_supported()

2019-04-12 Thread Noralf Trønnes
This let SPI clients check if the controller supports a particular word width. drivers/gpu/drm/tinydrm/mipi-dbi.c will use this to determine if the controller supports 16-bit for RGB565 pixels. If it doesn't it will swap the bytes before transfer on little endian machines. Signed-off-by: Noralf Tr

[Bug 110411] GUI lock up for KVM guest in drm_atomic_helper_commit_modeset_disables()

2019-04-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110411 Bug ID: 110411 Summary: GUI lock up for KVM guest in drm_atomic_helper_commit_modeset_disables() Product: DRI Version: unspecified Hardware: PowerPC OS: Li

Re: [PATCH v4 2/4] spi: Split spi message into max_dma_len size chunks

2019-04-12 Thread Mark Brown
On Thu, Apr 11, 2019 at 11:02:26PM +0200, Noralf Trønnes wrote: > Den 11.04.2019 20.18, skrev Lukas Wunner: > > On Thu, Apr 11, 2019 at 06:42:33PM +0200, Noralf Trønnes wrote: > >> @@ -1299,6 +1299,11 @@ static void __spi_pump_messages(struct > >> spi_controller *ctlr, bool in_kthread) > >>tr

[Bug 110411] GUI lock up for KVM guest in drm_atomic_helper_commit_modeset_disables()

2019-04-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110411 --- Comment #1 from Dan Horák --- maybe dmesg output will be better readable [ 1406.907978] BUG: Unable to handle kernel instruction fetch (NULL pointer?) [ 1406.907986] Faulting instruction address: 0x [ 1406.907990] Oops: Kernel acces

Re: [PATCH v4 2/4] spi: Split spi message into max_dma_len size chunks

2019-04-12 Thread Mark Brown
On Thu, Apr 11, 2019 at 06:42:33PM +0200, Noralf Trønnes wrote: > +++ b/drivers/spi/spi.c > @@ -1299,6 +1299,11 @@ static void __spi_pump_messages(struct spi_controller > *ctlr, bool in_kthread) > > trace_spi_message_start(ctlr->cur_msg); > > + ret = spi_split_transfers_maxsize(ctlr

[Bug 110229] glMemoryBarrier doesn't work.

2019-04-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110229 --- Comment #34 from Andre Klapper --- Right. And we cannot waste time going through your custom code if you do not provide a minimal self-contained test case. -- You are receiving this mail because: You are the assignee for the bug.__

Re: [PATCH 1/4] dt-bindings: display: renesas: du: Document the r8a774a1 bindings

2019-04-12 Thread Kieran Bingham
Hi Biju, On 11/04/2019 15:34, Biju Das wrote: > Document the RZ/G2M (R8A774A1) SoC in the R-Car DU bindings. Based on the expectation that this is equivalent to the M3-W, then this looks good to me. Are the RZ/G datasheets available publicly somewhere? If not I'll see if I can source it through

[v3 3/7] drm/i915/icl: Add register definitions for Multi Segmented gamma

2019-04-12 Thread Uma Shankar
Add macros to define multi segmented gamma registers Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/i915_reg.h | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 9c206e8..5554b0c 100644 --- a/drivers

[v3 2/7] drm/i915: Define color lut range structure

2019-04-12 Thread Uma Shankar
From: Ville Syrjälä This defines the color lut ranges for 10bit and multi segmented gamma range for ICL. v2: Defined and advertise the gamma modes supported on various platforms as suggested by Ville. Signed-off-by: Ville Syrjälä Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_colo

[v3 0/7] Add Multi Segment Gamma Support

2019-04-12 Thread Uma Shankar
This series adds support for programmable gamma modes and exposes a property interface for the same. Also added, support for multi segment gamma mode introduced in ICL+ It creates GAMMA_MODE property interface. This is an enum property with values as blob_id's and exposes the various gamma modes s

[v3 5/7] drm/i915: Attach gamma mode property

2019-04-12 Thread Uma Shankar
Attach the gamma mode property to allow userspace set the gamma mode and provide the luts for the same. v2: Enabled just 1 property interface for gamma_mode, as suggested by Ville. Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_color.c | 3 +++ drivers/gpu/drm/i915/intel_display.c

[v3 4/7] drm/i915/icl: Add support for multi segmented gamma mode

2019-04-12 Thread Uma Shankar
Gen11 introduced a new gamma mode i.e, multi segmented gamma mode. Added support for the same. v2: Aligned to just 1 property interface as suggested by Ville. Fixed Ville's review comments. Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_color.c | 166 +

[v3 6/7] drm: Add Client Cap for advance gamma mode

2019-04-12 Thread Uma Shankar
Introduced a client cap for advance cap mode capability. Userspace should set this to get to be able to use the new gamma_mode property. If this is not set, driver will work in legacy mode. Suggested-by: Ville Syrjälä Signed-off-by: Uma Shankar --- drivers/gpu/drm/drm_atomic_uapi.c | 3 +++ dr

[v3 7/7] drm/i915: Enable advance gamma mode

2019-04-12 Thread Uma Shankar
Enable advance gamma modes based on client caps. Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_color.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_color.c b/drivers/gpu/drm/i915/intel_color.c index edf5ff8..36604c16

[v3 1/7] drm: Add gamma mode property

2019-04-12 Thread Uma Shankar
From: Ville Syrjälä Add a gamma mode property to enable various kind of gamma modes supported by platforms like: Interpolated, Split, Multi Segmented etc. Userspace can get this property and should be able to get the platform capabilties wrt various gamma modes possible and the possible ranges.

Re: [PATCH v2 5/5] drm/selftests: Add command line parser selftests

2019-04-12 Thread kbuild test robot
/Maxime-Ripard/drm-modes-Rewrite-the-command-line-parser/20190412-122837 config: x86_64-rhel (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): d

[PATCH] drm: remove redundant 'default n' from Kconfig

2019-04-12 Thread Bartlomiej Zolnierkiewicz
'default n' is the default value for any bool or tristate Kconfig setting so there is no need to write it explicitly. Also since commit f467c5640c29 ("kconfig: only write '# CONFIG_FOO is not set' for visible symbols") the Kconfig behavior is the same regardless of 'default n' being present or not

Re: [PATCH] drm: remove redundant 'default n' from Kconfig

2019-04-12 Thread Jani Nikula
On Fri, 12 Apr 2019, Bartlomiej Zolnierkiewicz wrote: > 'default n' is the default value for any bool or tristate Kconfig > setting so there is no need to write it explicitly. > > Also since commit f467c5640c29 ("kconfig: only write '# CONFIG_FOO > is not set' for visible symbols") the Kconfig beh

Re: [PATCH v2 0/2] drm/sun4i: dw-hdmi: Improve CEC support

2019-04-12 Thread Hans Verkuil
Hi Jernej, On 4/1/19 9:15 PM, Jernej Skrabec wrote: > It turns out that additional logic between HDMI CEC controller and > pins on PHY on some Allwinner SoCs prevents proper communication. > It might be possible to fix it, but it's much easier and less error > prone to just directly drive pins usi

Re: [PATCH 1/2] spi: Add spi_is_bpw_supported()

2019-04-12 Thread Mark Brown
On Fri, Apr 12, 2019 at 11:41:30AM +0200, Noralf Trønnes wrote: > This let SPI clients check if the controller supports a particular word > width. drivers/gpu/drm/tinydrm/mipi-dbi.c will use this to determine if > the controller supports 16-bit for RGB565 pixels. If it doesn't it will > swap the by

Re: [PATCH v4 2/4] spi: Split spi message into max_dma_len size chunks

2019-04-12 Thread Mark Brown
On Fri, Apr 12, 2019 at 12:03:35PM +0200, ker...@martin.sperl.org wrote: > > On 12.04.2019, at 11:47, Mark Brown wrote: > >> In a previous version of this I suggested to Meghana to put this in the > >> driver, but Mark wanted it in the core. > > If we want to do this at a lower level the DMA cod

Re: [PATCH v2 2/2] drm/sun4i: dw-hdmi: Bit bang CEC on some SoCs

2019-04-12 Thread Hans Verkuil
On 4/1/19 9:15 PM, Jernej Skrabec wrote: > All DW HDMI controllers used by Allwinner SoCs include CEC controller. > However, due to additional logic put between CEC controller and pins, > CEC communication doesn't work well on some of them. > > Based on observations, it seems that only outgoing me

[Bug 109466] Frozen display with Radeon RX 580 and Open Source Drivers under GNU/Linux Debian Sid

2019-04-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109466 --- Comment #9 from Hubert Kario --- I'm experiencing similar issues with R9 290X. But after trying to reproduce it few times (crash in Witcher III, crash while running glmark2) I'm getting convinced that it's actually a temperature problem - th

Re: [PATCH 2/4] dt-bindings: display: renesas: lvds: Document r8a774a1 bindings

2019-04-12 Thread Kieran Bingham
Hi Biju, Thank you for the patch, On 11/04/2019 15:34, Biju Das wrote: > Document the RZ/G2M (R8A774A1) LVDS bindings. > > Signed-off-by: Biju Das This looks good. Reviewed-by: Kieran Bingham > --- > Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt | 1 + > 1 file changed

[Bug 109461] [amdgpu/radeonsi,HAWAII] Hand of Fate 2 leads to GPU lock up (display powered off, SSH works, keyboard dead): "flip_done timed out"

2019-04-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109461 --- Comment #3 from Hubert Kario --- did you try to monitor temperature while running the game? Did you try to reproduce it with something like glmark2 or FurMark? see also bug 109466 comment 9 -- You are receiving this mail because: You are

Re: [PATCH v4 2/4] spi: Split spi message into max_dma_len size chunks

2019-04-12 Thread Lukas Wunner
On Thu, Apr 11, 2019 at 11:02:26PM +0200, Noralf Trønnes wrote: > Den 11.04.2019 20.18, skrev Lukas Wunner: > > On Thu, Apr 11, 2019 at 06:42:33PM +0200, Noralf Trønnes wrote: > >> @@ -1299,6 +1299,11 @@ static void __spi_pump_messages(struct > >> spi_controller *ctlr, bool in_kthread) > >> > >>

[PATCH] video: fbdev: imxfb: add COMPILE_TEST support

2019-04-12 Thread Bartlomiej Zolnierkiewicz
Add COMPILE_TEST support to imxfb driver for better compile testing coverage. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/video/fbdev/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/video/fbdev/Kconfig ==

[PATCH] video: fbdev: pxa168fb: add COMPILE_TEST support

2019-04-12 Thread Bartlomiej Zolnierkiewicz
Add COMPILE_TEST support to pxa168fb driver for better compile testing coverage. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/video/fbdev/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/video/fbdev/Kconfig ===

Re: [PATCH v4 2/4] spi: Split spi message into max_dma_len size chunks

2019-04-12 Thread Lukas Wunner
On Fri, Apr 12, 2019 at 10:47:21AM +0100, Mark Brown wrote: > On Thu, Apr 11, 2019 at 11:02:26PM +0200, Noralf Trønnes wrote: > > Den 11.04.2019 20.18, skrev Lukas Wunner: > > > On Thu, Apr 11, 2019 at 06:42:33PM +0200, Noralf Trønnes wrote: > > > > @@ -1299,6 +1299,11 @@ static void __spi_pump_mes

Re: [linux-sunxi] [PATCH v3 00/11] Add support for Orange Pi 3

2019-04-12 Thread Chen-Yu Tsai
On Thu, Apr 11, 2019 at 6:19 PM megous via linux-sunxi wrote: > > From: Ondrej Jirman > > This series implements support for Xunlong Orange Pi 3 board. > > Unfortunately, this board needs some small driver patches, so I have > split the boards DT patch into chunks that require patches for drivers

Re: [PATCH v4 2/4] spi: Split spi message into max_dma_len size chunks

2019-04-12 Thread Mark Brown
On Fri, Apr 12, 2019 at 12:54:48PM +0200, Lukas Wunner wrote: > On Fri, Apr 12, 2019 at 10:47:21AM +0100, Mark Brown wrote: > > I *think* we managed to fix all the architectures to at least stub out > > the DMA interfaces, it's such a pointless thing to have conditional - > > it really only makes

Re: [PATCH v4 2/4] spi: Split spi message into max_dma_len size chunks

2019-04-12 Thread Lukas Wunner
On Fri, Apr 12, 2019 at 12:09:34PM +0100, Mark Brown wrote: > On Fri, Apr 12, 2019 at 12:54:48PM +0200, Lukas Wunner wrote: > > On Fri, Apr 12, 2019 at 10:47:21AM +0100, Mark Brown wrote: > > > I *think* we managed to fix all the architectures to at least stub out > > > the DMA interfaces, it's suc

Re: [PATCH v4 2/4] spi: Split spi message into max_dma_len size chunks

2019-04-12 Thread Mark Brown
On Fri, Apr 12, 2019 at 01:16:15PM +0200, Lukas Wunner wrote: > On Fri, Apr 12, 2019 at 12:09:34PM +0100, Mark Brown wrote: > > On Fri, Apr 12, 2019 at 12:54:48PM +0200, Lukas Wunner wrote: > > > My point was that the call to spi_split_transfers_maxsize() shouldn't > > > be called on non-DMA-capab

[PATCH] video: fbdev: atmel_lcdfb: add COMPILE_TEST support

2019-04-12 Thread Bartlomiej Zolnierkiewicz
Add COMPILE_TEST support to atmel_lcdfb driver for better compile testing coverage. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/video/fbdev/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/video/fbdev/Kconfig

Re: [PATCH v4 2/4] spi: Split spi message into max_dma_len size chunks

2019-04-12 Thread Mark Brown
On Fri, Apr 12, 2019 at 12:46:44PM +0200, Lukas Wunner wrote: > On Thu, Apr 11, 2019 at 11:02:26PM +0200, Noralf Trønnes wrote: > > Den 11.04.2019 20.18, skrev Lukas Wunner: > > > Note that spi_map_buf() already splits every transfer's sglist into > > > segments that are smaller than ctlr->max_dma

Re: [PATCH 3/4] drm: rcar-du: Add R8A774A1 support

2019-04-12 Thread Kieran Bingham
Hi Biju, On 11/04/2019 15:34, Biju Das wrote: > Add support for the R8A774A1 DU (which is very similar to the R8A7796 DU); > it has one RGB output, one LVDS output and one HDMI output. > > Signed-off-by: Biju Das I see Figure 35.1b across the two datasheets does show some differences between th

Re: [PATCH v5 6/6] drm/bridge: sii902x: Implement HDMI audio support

2019-04-12 Thread Jyri Sarha
On 12/04/2019 11:52, Andrzej Hajda wrote: > On 22.03.2019 09:06, Jyri Sarha wrote: >> Implement HDMI audio support by using ASoC HDMI codec. The commit >> implements the necessary callbacks and configuration for the HDMI >> codec and registers a virtual platform device for the codec to attach. >> >

[PATCH] video: fbdev: gbefb: add COMPILE_TEST support

2019-04-12 Thread Bartlomiej Zolnierkiewicz
Add COMPILE_TEST support to gbefb driver for better compile testing coverage. While at it remove dead x86 specific code. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/video/fbdev/Kconfig |2 +- drivers/video/fbdev/gbefb.c |9 ++--- 2 files changed, 3 insertions(+), 8 deletion

[PATCH] video: fbdev: da8xx-fb: add COMPILE_TEST support

2019-04-12 Thread Bartlomiej Zolnierkiewicz
Add COMPILE_TEST support to da8xx-fb driver for better compile testing coverage. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/video/fbdev/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/video/fbdev/Kconfig ===

Re: [PATCH 4/4] drm: rcar-du: lvds: Add r8a774a1 support

2019-04-12 Thread Kieran Bingham
Hi Biju, On 11/04/2019 15:34, Biju Das wrote: > The LVDS encoders on RZ/G2M SoC is similar to R-Car M3-W. Add support for > RZ/G2M (R8A774A1) SoC to the LVDS encoder driver. > > Signed-off-by: Biju Das This one seems to be ok using the gen3 as far as I can tell, the PLL configuration and layout

Re: [PATCH v5 6/6] drm/bridge: sii902x: Implement HDMI audio support

2019-04-12 Thread Andrzej Hajda
On 12.04.2019 13:53, Jyri Sarha wrote: > On 12/04/2019 11:52, Andrzej Hajda wrote: >> On 22.03.2019 09:06, Jyri Sarha wrote: >>> Implement HDMI audio support by using ASoC HDMI codec. The commit >>> implements the necessary callbacks and configuration for the HDMI >>> codec and registers a virtual

Re: [PATCH] video: fbdev: imxfb: add COMPILE_TEST support

2019-04-12 Thread Uwe Kleine-König
Hello, On Fri, Apr 12, 2019 at 12:59:53PM +0200, Bartlomiej Zolnierkiewicz wrote: > Add COMPILE_TEST support to imxfb driver for better compile > testing coverage. > > Signed-off-by: Bartlomiej Zolnierkiewicz > --- > drivers/video/fbdev/Kconfig |2 +- > 1 file changed, 1 insertion(+), 1 del

[PATCH v3 2/4] drm/atomic: rename async_{update, check} to amend_{update, check}

2019-04-12 Thread Helen Koike
Asynchronous update is the ability change the hw state at any time, not only during vblank. Amend mode is the ability to perform 1000 commits to be applied as soon as possible without waiting for 1000 vblanks. async updates can be seen as amend, but the opposite is not true. &drm_plane_helper_fu

[PATCH v3 0/4] async vs amend - UAPI

2019-04-12 Thread Helen Koike
Hi, This patch series is an attempt to clarify some concepts and how things are hooked inside drm. There are two main concepts that are similar but different and are causing some confusion: - Asynchronous update: is the ability change the hw state at any time, not only during vblank.

[PATCH RFC v3 3/4] drm/atomic: add ATOMIC_AMEND flag to the Atomic IOCTL.

2019-04-12 Thread Helen Koike
This flag tells core to jump ahead the queued update if the conditions in drm_atomic_amend_check() are met. That means we are only able to do an amend update if no modeset is pending and update for the same plane is not queued. It uses the already in place infrastructure for amend updates. It is

[PATCH RFC v3 4/4] drm/atomic: hook atomic_async_{check, update} with PAGE_FLIP_ASYNC flag

2019-04-12 Thread Helen Koike
Add atomic_async_{check,update} hooks in drm_plane_helper_funcs. These hooks are called when userspace requests asyncronous page flip in the atomic api through the flag DRM_MODE_PAGE_FLIP_ASYNC. Update those hooks in the drivers that implement async functions, except for amdgpu who handles the fla

[PATCH v3 1/4] drm/uapi: add documentation for atomic flags

2019-04-12 Thread Helen Koike
add a brief description of the flags used in an atomic commit Signed-off-by: Helen Koike --- Changes in v3: None Changes in v2: None Changes in v1: None include/uapi/drm/drm_mode.h | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/include/uapi/drm/drm_mode.

[Bug 110229] glMemoryBarrier doesn't work.

2019-04-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110229 --- Comment #35 from Laurent --- (In reply to Andre Klapper from comment #34) > Right. And we cannot waste time going through your custom code if you do not > provide a minimal self-contained test case. Ok next time I'll provide a test case, an

Re: [PATCH v3 1/4] drm/uapi: add documentation for atomic flags

2019-04-12 Thread Boris Brezillon
Hello Helen, On Fri, 12 Apr 2019 09:58:24 -0300 Helen Koike wrote: > add a brief description of the flags used in an atomic commit > > Signed-off-by: Helen Koike > --- > > Changes in v3: None > Changes in v2: None > Changes in v1: None > > include/uapi/drm/drm_mode.h | 18 +-

Re: [PATCH RFC v3 4/4] drm/atomic: hook atomic_async_{check,update} with PAGE_FLIP_ASYNC flag

2019-04-12 Thread Helen Koike
On 4/12/19 9:58 AM, Helen Koike wrote: > Add atomic_async_{check,update} hooks in drm_plane_helper_funcs. > These hooks are called when userspace requests asyncronous page flip in > the atomic api through the flag DRM_MODE_PAGE_FLIP_ASYNC. > > Update those hooks in the drivers that implement asy

[Bug 102646] Screen flickering under amdgpu-experimental [buggy auto power profile]

2019-04-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102646 --- Comment #80 from Garrett --- well...even better solution: install Radeon-Profile sudo su cd /usr/bin radeon-profile boom...manual control with the radeon-profile GUI...something i've not once seen mentioned in any tutorials. as long as you

Re: [PATCH v3 2/4] drm/atomic: rename async_{update,check} to amend_{update,check}

2019-04-12 Thread Boris Brezillon
Hi Helen, On Fri, 12 Apr 2019 09:58:25 -0300 Helen Koike wrote: > Asynchronous update is the ability change the hw state at any time, not > only during vblank. > > Amend mode is the ability to perform 1000 commits to be applied as soon > as possible without waiting for 1000 vblanks. > > async

[PATCH v6 2/2] drm/i915: Add a missed update of edid property of drm connector

2019-04-12 Thread Gwan-gyeong Mun
After suspend/resume process, hotplug detection is handled by i915_hpd_poll_init_work() workqueue. While intel_hdmi_detect() or intel_dp_detect() are called, intel_hdmi_set_edid() or intel_dp_set_edid() only update an internal detect_edid variable of intel_connector. A missed update of edid propert

Re: [PATCH v3 2/4] drm/atomic: rename async_{update,check} to amend_{update,check}

2019-04-12 Thread Helen Koike
Hi Boris, On 4/12/19 10:49 AM, Boris Brezillon wrote: > Hi Helen, > > On Fri, 12 Apr 2019 09:58:25 -0300 > Helen Koike wrote: > >> Asynchronous update is the ability change the hw state at any time, not >> only during vblank. >> >> Amend mode is the ability to perform 1000 commits to be applied

[PATCH v6 0/2] drm: Add detection of changing of edid on between suspend and resume

2019-04-12 Thread Gwan-gyeong Mun
This patch series fix missed detection of changing of edid on between suspend and resume. First patch fixes drm_helper_hdp_irq_event() in order to fix a below use case. Following scenario requires detection of changing of edid. 1) plug display device to a connector 2) system suspend 3)

[PATCH v6 1/2] drm: Add detection of changing of edid on between suspend and resume

2019-04-12 Thread Gwan-gyeong Mun
The hotplug detection routine of drm_helper_hpd_irq_event() can detect changing of status of connector, but it can not detect changing of edid. Following scenario requires detection of changing of edid. 1) plug display device to a connector 2) system suspend 3) unplug 1)'s display device and p

[PATCH v2 0/2] Add writeback scaling

2019-04-12 Thread Ben Davis
Add support for scaling on writeback. To do this add writeback_w and writeback_h as writeback connector properties to specify the desired output dimensions. Then implement downscaling on writeback for Malidp-550 and Malidp-650 (upscaling on writeback is not supported on these devices). v2: Use 0 a

[PATCH v2 1/2] drm: Add writeback_w,h properties

2019-04-12 Thread Ben Davis
Add new properties to specify width and height for writeback. Signed-off-by: Ben Davis --- drivers/gpu/drm/drm_atomic_uapi.c | 8 drivers/gpu/drm/drm_writeback.c | 28 include/drm/drm_connector.h | 4 include/drm/drm_mode_config.h | 10 +++

  1   2   >