[PATCH 10/20] arm64: dts: renesas: r8a7795: Add CMM units

2019-06-06 Thread Jacopo Mondi
Add CMM units to Renesas R-Car H3 device tree and reference them from the Display Unit they are connected to. While at it, re-sort the du device node properties to match the ordering found in other SoCs. Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 36

[PATCH 14/20] drm: rcar-du: Add support for CMM

2019-06-06 Thread Jacopo Mondi
Add a driver for the R-Car Display Unit Color Correction Module. Each DU output channel is provided with a CMM unit to perform image enhancement and color correction. Add support for CMM through a driver that supports configuration of the 1-dimensional LUT table. More advanced CMM feature could

[PATCH 15/20] drm: rcar-du: Claim CMM support for Gen3 SoCs

2019-06-06 Thread Jacopo Mondi
Add CMM to the list of supported features for Gen3 SoCs that provide it: - R8A7795 - R8A7796 - R8A77965 - R8A7799x Leave R8A77970 out as V3M and V3H are the only Gen3 SoCs that do not support CMM. Signed-off-by: Jacopo Mondi --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 12

[PATCH 19/20] drm: rcar-du: crtc: Register GAMMA_LUT properties

2019-06-06 Thread Jacopo Mondi
Enable the GAMMA_LUT KMS property using the framework helpers to register the proeprty and the associated gamma table size maximum size. Signed-off-by: Jacopo Mondi --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 20/20] drm: rcar-du: kms: Update CMM in atomic commit tail

2019-06-06 Thread Jacopo Mondi
Update CMM settings at in the atomic commit tail helper method. The CMM is updated with new gamma values provided to the driver in the GAMMA_LUT blob property. Signed-off-by: Jacopo Mondi --- drivers/gpu/drm/rcar-du/rcar_du_kms.c | 36 +++ 1 file changed, 36

[PATCH 16/20] drm: rcar-du: kms: Collect CMM instances

2019-06-06 Thread Jacopo Mondi
Implement device tree parsing to collect the available CMM instances described by the 'cmms' property. Associate CMMs with CRTCs and store a mask of active CMMs in the DU group for later enablement. Also define a new feature to let each SoC claim support for CMM. Signed-off-by: Jacopo Mondi ---

[PATCH 17/20] drm: rcar-du: crtc: Enable and disable CMMs

2019-06-06 Thread Jacopo Mondi
Enable/disable the CMM associated with a CRTC at atomic_enable()/atomic_disable() time. Signed-off-by: Jacopo Mondi --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_crtc.c

[PATCH 11/20] arm64: dts: renesas: r8a77965: Add CMM units

2019-06-06 Thread Jacopo Mondi
Add CMM units to Renesas R-Car M3-N device tree and reference them from the Display Unit they are connected to. Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 25 +++ 1 file changed, 25 insertions(+) diff --git

[PATCH 13/20] arm64: dts: renesas: r8a77995: Add CMM units

2019-06-06 Thread Jacopo Mondi
Add CMM units to Renesas R-Car D3 device tree and reference them from the Display Unit they are connected to. While at it, re-sort the du device node properties to match the ordering found in other SoCs. Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a77995.dtsi | 20

[PATCH 12/20] arm64: dts: renesas: r8a77990: Add CMM units

2019-06-06 Thread Jacopo Mondi
Add CMM units to Renesas R-Car E3 device tree and reference them from the Display Unit they are connected to. While at it, re-sort the du device node properties to match the ordering found in other SoCs. Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 20

[PATCH 09/20] arm64: dts: renesas: r8a7796: Add CMM units

2019-06-06 Thread Jacopo Mondi
Add CMM units to Renesas R-Car M3-W device tree and reference them from the Display Unit they are connected to. Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 25 1 file changed, 25 insertions(+) diff --git

[PATCH 04/20] clk: renesas: r8a7796: Add CMM clocks

2019-06-06 Thread Jacopo Mondi
Add clock definitions for CMM units on Renesas R-Car Gen3 M3-W. Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- drivers/clk/renesas/r8a7796-cpg-mssr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/renesas/r8a7796-cpg-mssr.c

[PATCH 05/20] clk: renesas: r8a7795: Add CMM clocks

2019-06-06 Thread Jacopo Mondi
Add clock definitions for CMM units on Renesas R-Car Gen3 H3. Signed-off-by: Jacopo Mondi --- drivers/clk/renesas/r8a7795-cpg-mssr.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/clk/renesas/r8a7795-cpg-mssr.c b/drivers/clk/renesas/r8a7795-cpg-mssr.c index

[PATCH 06/20] clk: renesas: r8a77965: Add CMM clocks

2019-06-06 Thread Jacopo Mondi
Add clock definitions for CMM units on Renesas R-Car Gen3 M3-N. Signed-off-by: Jacopo Mondi --- drivers/clk/renesas/r8a77965-cpg-mssr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/renesas/r8a77965-cpg-mssr.c b/drivers/clk/renesas/r8a77965-cpg-mssr.c index

[PATCH 03/20] dt-bindings: display, renesas,du: Update 'vsps' in example

2019-06-06 Thread Jacopo Mondi
Update the 'vsps' property structure in the documentation example to reflect what's actually implemented in the device tree sources. Signed-off-by: Jacopo Mondi --- Documentation/devicetree/bindings/display/renesas,du.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 01/20] dt-bindings: display: renesas,cmm: Add R-Car CMM documentation

2019-06-06 Thread Jacopo Mondi
Add device tree bindings documentation for the Renesas R-Car Display Unit Color Management Module. CMM is the image enhancement module available on each R-Car DU video channel on Gen2 and Gen3 SoCs (V3H and V3M excluded). Signed-off-by: Jacopo Mondi --- .../bindings/display/renesas,cmm.txt

[PATCH 00/20] drm: rcar-du: Add Color Management Module (CMM)

2019-06-06 Thread Jacopo Mondi
Hello, this series add support for the Color Management Module (CMM) found on the R-Car Display Unit output channels. CMM is present in most of the Gen3 SoCs (V3-H and V3-M excluded) and in Gen2 (which is not supported by the series). The CMM allows setting 1-D and 3-D gamma tables and

RE: [PATCH 1/2] update drm.h

2019-06-06 Thread Zhou, David(ChunMing)
> -Original Message- > From: Michel Dänzer > Sent: Thursday, June 06, 2019 10:09 PM > To: Zhou, David(ChunMing) ; Koenig, Christian > ; Zhou, David(ChunMing) > > Cc: dri-devel@lists.freedesktop.org > Subject: Re: [PATCH 1/2] update drm.h > > On 2019-06-06 12:31 p.m., Michel Dänzer

Re: [PATCH 1/2] update drm.h

2019-06-06 Thread Michel Dänzer
On 2019-06-06 12:31 p.m., Michel Dänzer wrote: > On 2019-06-06 12:26 p.m., zhoucm1 wrote: >> https://gitlab.freedesktop.org/mesa/drm, Where the merge request button? > > If you push to a branch in your personal repository, the output of git > push contains an URL for creating a merge request.

Re: [PATCH v2 7/7] arm64: dts: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-06-06 Thread Harald Geyer
Guys, this discussion is getting heated for no reason. Let's put personal frustrations aside and discuss the issue on its merits: Maxime Ripard writes: > On Wed, Jun 05, 2019 at 12:13:17PM +0200, Torsten Duwe wrote: > > On Tue, Jun 04, 2019 at 08:08:40AM -0700, Vasily Khoruzhick wrote: > > > On

Re: [PATCH v2 2/2] drm: panel-orientation-quirks: Add quirk for GPD MicroPC

2019-06-06 Thread Hans de Goede
Hi, On 06-06-19 15:38, Maxime Ripard wrote: On Thu, Jun 06, 2019 at 01:13:40PM +0200, Hans de Goede wrote: On 06-06-19 11:14, Maxime Ripard wrote: On Fri, May 24, 2019 at 02:57:59PM +0200, Hans de Goede wrote: GPD has done it again, make a nice device (good), use way too generic DMI strings

Re: [PATCH v2 2/2] drm: panel-orientation-quirks: Add quirk for GPD MicroPC

2019-06-06 Thread Maxime Ripard
On Thu, Jun 06, 2019 at 01:13:40PM +0200, Hans de Goede wrote: > On 06-06-19 11:14, Maxime Ripard wrote: > > On Fri, May 24, 2019 at 02:57:59PM +0200, Hans de Goede wrote: > > > GPD has done it again, make a nice device (good), use way too generic > > > DMI strings (bad) and use a portrait screen

Re: [PATCH 2/2] drm/edid: Ignore "DFP 1.x" bit for EDID 1.2 and earlier

2019-06-06 Thread Ville Syrjälä
On Wed, May 29, 2019 at 06:50:40PM +0200, Mario Kleiner wrote: > On Wed, May 29, 2019 at 7:02 AM Ville Syrjala > wrote: > > > > From: Ville Syrjälä > > > > From VESA EDID implementation guide v1.0: > > "For EDID version 1 revision 2 or earlier data structures when offset 14h > > bit 7 is set to

[Bug 201539] AMDGPU R9 390 automatic fan speed control in Linux 4.19/4.20/5.0

2019-06-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201539 --- Comment #16 from Steffen Klee (steffen.k...@gmail.com) --- (In reply to danglingpointerexcept...@gmail.com from comment #15) > @Steffen - Try my steps in the link mate, it may solve your problem. Alex > Ducher himself gave me the tip on

[PULL] drm-intel-fixes

2019-06-06 Thread Joonas Lahtinen
Hi Dave & Daniel, No i915 fixes this week, but forwarding the GVT pull request still. One GVT regression fix for debug build of i915 guest, guest ring state fix after execution for hang check and a couple of static checker fixes. CI is being clogged curently, but we really don't have that much

[Bug 201539] AMDGPU R9 390 automatic fan speed control in Linux 4.19/4.20/5.0

2019-06-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201539 --- Comment #15 from danglingpointerexcept...@gmail.com (danglingpointerexcept...@gmail.com) --- @Rudolf - Have you tried my solution in the link I provided above? I'm on 5.1.6 mainline and have no issues whatsoever with R9-290X @Alex Smith -

Re: [RFC] drm: Do not call drm_probe_ddc() when connector force isn't specified

2019-06-06 Thread Jani Nikula
On Thu, 06 Jun 2019, Harish Chegondi wrote: > This would allow the EDID override to be handled correctly in > drm_do_get_edid() for cases where EDID data is missing or corrupt. > > All drm_probe_ddc() does is call drm_do_probe_ddc_edid( , , , 1) > which probes the display by reading 1 byte of

Re: [PATCH 1/1] drm/panel: truly: Add additional delay after pulling down reset gpio

2019-06-06 Thread Vivek Gautam
On Wed, Jun 5, 2019 at 1:54 PM Sam Ravnborg wrote: > > Hi Vivek, > > On Mon, May 27, 2019 at 03:56:16PM +0530, Vivek Gautam wrote: > > MTP SDM845 panel seems to need additional delay to bring panel > > to a workable state. Running modetest without this change displays > > blurry artifacts. > > >

[Bug 201539] AMDGPU R9 390 automatic fan speed control in Linux 4.19/4.20/5.0

2019-06-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201539 --- Comment #14 from Steffen Klee (steffen.k...@gmail.com) --- Reproducible on an R9 390 with kernel 5.1.6-arch1-1-ARCH using amdgpu driver. Setting amdgpu.dpm=1 or changing amdgpu.dc does not have any effect. Also, sensors does not report the

Re: [PATCH 03/13] drm/etnaviv: drop DRM_AUTH usage from the driver

2019-06-06 Thread Christian Gmeiner
Am Do., 6. Juni 2019 um 12:59 Uhr schrieb Emil Velikov : > > On Mon, 27 May 2019 at 09:19, Emil Velikov wrote: > > > > From: Emil Velikov > > > > The authentication can be circumvented, by design, by using the render > > node. > > > > From the driver POV there is no distinction between primary

Re: [PATCH v2 2/2] drm: panel-orientation-quirks: Add quirk for GPD MicroPC

2019-06-06 Thread Hans de Goede
Hi, On 06-06-19 11:14, Maxime Ripard wrote: On Fri, May 24, 2019 at 02:57:59PM +0200, Hans de Goede wrote: GPD has done it again, make a nice device (good), use way too generic DMI strings (bad) and use a portrait screen rotated 90 degrees (ugly). Because of the too generic DMI strings this

Re: [PATCH v3 08/15] drm/bridge: tc358767: Increase AUX transfer length limit

2019-06-06 Thread Andrzej Hajda
On 05.06.2019 09:05, Andrey Smirnov wrote: > According to the datasheet tc358767 can transfer up to 16 bytes via > its AUX channel, so the artificial limit of 8 apperas to be too > low. However only up to 15-bytes seem to be actually supported and > trying to use 16-byte transfers results in

Re: [PATCH v3 07/15] drm/bridge: tc358767: Simplify AUX data write

2019-06-06 Thread Andrzej Hajda
On 05.06.2019 09:04, Andrey Smirnov wrote: > Simplify AUX data write by dropping index arithmetic and shifting and > replacing it with a call to a helper function that does three things: > > 1. Copies user-provided data into a write buffer > 2. Optionally fixes the endianness of the write

Re: [PATCH 11/13] drm/vgem: drop DRM_AUTH usage from the driver

2019-06-06 Thread Emil Velikov
On Mon, 27 May 2019 at 09:19, Emil Velikov wrote: > > From: Emil Velikov > > The authentication can be circumvented, by design, by using the render > node. > > From the driver POV there is no distinction between primary and render > nodes, thus we can drop the token. > > Cc: David Airlie > Cc:

Re: [PATCH 12/13] drm/virtio: drop DRM_AUTH usage from the driver

2019-06-06 Thread Emil Velikov
On Mon, 27 May 2019 at 09:19, Emil Velikov wrote: > > From: Emil Velikov > > The authentication can be circumvented, by design, by using the render > node. > > From the driver POV there is no distinction between primary and render > nodes, thus we can drop the token. > > Cc: Gerd Hoffmann > Cc:

Re: [PATCH 06/13] drm/lima: drop DRM_AUTH usage from the driver

2019-06-06 Thread Emil Velikov
On Mon, 27 May 2019 at 09:19, Emil Velikov wrote: > > From: Emil Velikov > > The authentication can be circumvented, by design, by using the render > node. > > From the driver POV there is no distinction between primary and render > nodes, thus we can drop the token. > > Cc: Qiang Yu > Cc:

Re: [PATCH 8/8] drivers: regulator: 88pm800: fix warning same module names

2019-06-06 Thread Mark Brown
On Thu, Jun 06, 2019 at 11:47:36AM +0200, Anders Roxell wrote: > obj-$(CONFIG_REGULATOR_88PG86X) += 88pg86x.o > -obj-$(CONFIG_REGULATOR_88PM800) += 88pm800.o > +obj-$(CONFIG_REGULATOR_88PM800) += 88pm800-regulator.o > +88pm800-regulator-objs := 88pm800.o Don't do this, no need for

Re: [PATCH 07/13] drm/msm: drop DRM_AUTH usage from the driver

2019-06-06 Thread Emil Velikov
On Mon, 27 May 2019 at 09:19, Emil Velikov wrote: > > From: Emil Velikov > > The authentication can be circumvented, by design, by using the render > node. > > From the driver POV there is no distinction between primary and render > nodes, thus we can drop the token. > > Cc: Rob Clark > Cc:

Re: [PATCH 08/13] drm/nouveau: drop DRM_AUTH from DRM_RENDER_ALLOW ioctls

2019-06-06 Thread Emil Velikov
On Mon, 27 May 2019 at 09:19, Emil Velikov wrote: > > From: Emil Velikov > > The authentication can be circumvented, by design, by using the render > node. > > From the driver POV there is no distinction between primary and render > nodes, thus we can drop the token. > > Note: the outstanding

Re: [PATCH 09/13] drm/omap: drop DRM_AUTH from DRM_RENDER_ALLOW ioctls

2019-06-06 Thread Emil Velikov
On Mon, 27 May 2019 at 09:19, Emil Velikov wrote: > > From: Emil Velikov > > The authentication can be circumvented, by design, by using the render > node. > > From the driver POV there is no distinction between primary and render > nodes, thus we can drop the token. > > Note: the outstanding

Re: [PATCH 03/13] drm/etnaviv: drop DRM_AUTH usage from the driver

2019-06-06 Thread Emil Velikov
On Mon, 27 May 2019 at 09:19, Emil Velikov wrote: > > From: Emil Velikov > > The authentication can be circumvented, by design, by using the render > node. > > From the driver POV there is no distinction between primary and render > nodes, thus we can drop the token. > > Cc: Lucas Stach > Cc:

Re: [PATCH v3 06/15] drm/bridge: tc358767: Simplify AUX data read

2019-06-06 Thread Andrzej Hajda
On 05.06.2019 09:04, Andrey Smirnov wrote: > Simplify AUX data read by removing index arithmetic and shifting with > a helper functions that does three things: > > 1. Fetch data from up to 4 32-bit registers from the chip > 2. Optionally fix data endianness (not needed on LE hosts) >

[Bug 110751] AMD Radeon HD 7670M, power_profile: Invalid argument

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

[Bug 110751] AMD Radeon HD 7670M, power_profile: Invalid argument

2019-06-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110751 vaidas.bo...@gmail.com changed: What|Removed |Added Attachment #144340|0 |1 is obsolete|

[Bug 110751] AMD Radeon HD 7670M, power_profile: Invalid argument

2019-06-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110751 vaidas.bo...@gmail.com changed: What|Removed |Added Attachment #144341|0 |1 is obsolete|

Re: [PATCH v3 05/15] drm/bridge: tc358767: Drop custom tc_write()/tc_read() accessors

2019-06-06 Thread Andrzej Hajda
On 05.06.2019 09:04, Andrey Smirnov wrote: > A very unfortunate aspect of tc_write()/tc_read() macro helpers is > that they capture quite a bit of context around them and thus require > the caller to have magic variables 'ret' and 'tc' as well as label > 'err'. That makes a number of code paths

Re: [PATCH 1/2] update drm.h

2019-06-06 Thread Michel Dänzer
On 2019-06-06 12:26 p.m., zhoucm1 wrote: > https://gitlab.freedesktop.org/mesa/drm, Where the merge request button? If you push to a branch in your personal repository, the output of git push contains an URL for creating a merge request. -- Earthling Michel Dänzer |

Re: [PATCH][next] drm/amd/display: remove redundant assignment to status

2019-06-06 Thread Dan Carpenter
On Fri, May 31, 2019 at 08:19:03PM +, Harry Wentland wrote: > On 2019-05-30 12:12 p.m., Colin King wrote: > > From: Colin Ian King > > > > The variable status is initialized with a value that is never read > > and status is reassigned several statements later. This initialization > > is

Re: [PATCH 1/2] update drm.h

2019-06-06 Thread Koenig, Christian
Seconded, I'm always totally confused about the web interface as well. Christian. Am 06.06.19 um 12:26 schrieb zhoucm1: > https://gitlab.freedesktop.org/mesa/drm, Where the merge request button? > > -David > > > On 2019年06月06日 18:20, Michel Dänzer wrote: >> On 2019-05-24 7:15 a.m., zhoucm1

Re: [PATCH 1/2] update drm.h

2019-06-06 Thread zhoucm1
https://gitlab.freedesktop.org/mesa/drm, Where the merge request button? -David On 2019年06月06日 18:20, Michel Dänzer wrote: On 2019-05-24 7:15 a.m., zhoucm1 wrote: anyone can pick up to gitlab for libdrm? Can you create a merge request? ___

Re: [PATCH 1/2] update drm.h

2019-06-06 Thread Michel Dänzer
On 2019-05-24 7:15 a.m., zhoucm1 wrote: > anyone can pick up to gitlab for libdrm? Can you create a merge request? -- Earthling Michel Dänzer | https://www.amd.com Libre software enthusiast | Mesa and X developer

Re: [PATCH 5/8] drivers: media: coda: fix warning same module names

2019-06-06 Thread Hans Verkuil
On 6/6/19 11:47 AM, Anders Roxell wrote: > When building with CONFIG_VIDEO_CODA and CONFIG_CODA_FS enabled as > loadable modules, we see the following warning: > > warning: same module names found: > fs/coda/coda.ko > drivers/media/platform/coda/coda.ko > > Rework so media coda matches the

Re: [PATCH 4/8] drivers: media: i2c: fix warning same module names

2019-06-06 Thread Hans Verkuil
On 6/6/19 11:47 AM, Anders Roxell wrote: > When building with CONFIG_VIDEO_ADV7511 and CONFIG_DRM_I2C_ADV7511 > enabled as loadable modules, we see the following warning: > > warning: same module names found: > drivers/gpu/drm/bridge/adv7511/adv7511.ko > drivers/media/i2c/adv7511.ko > >

Re: [PATCH 0/8] fix warnings for same module names

2019-06-06 Thread Mauro Carvalho Chehab
Em Thu, 6 Jun 2019 11:46:57 +0200 Anders Roxell escreveu: > Hi, > > This patch set addresses warnings that module names are named the > same, this may lead to a problem that wrong module gets loaded or if one > of the two same-name modules exports a symbol, this can confuse the > dependency

[PATCH v2 1/2] drm/komeda: Adds SMMU support

2019-06-06 Thread Lowry Li (Arm Technology China)
From: "Lowry Li (Arm Technology China)" Adds iommu_connect and disconnect for SMMU support, and configures TBU translation once SMMU has been attached to the display device. Signed-off-by: Lowry Li (Arm Technology China) --- .../gpu/drm/arm/display/komeda/d71/d71_component.c | 5 +++

[PATCH v2 2/2] dt/bindings: drm/komeda: Adds SMMU support for D71 devicetree

2019-06-06 Thread Lowry Li (Arm Technology China)
Updates the device-tree doc about how to enable SMMU by devicetree. Signed-off-by: Lowry Li (Arm Technology China) Reviewed-by: Liviu Dudau Reviewed-by: James Qian Wang (Arm Technology China) --- Documentation/devicetree/bindings/display/arm,komeda.txt | 7 +++ 1 file changed, 7

[PATCH v2 0/2] drm/komeda: Add SMMU support on Komeda driver

2019-06-06 Thread Lowry Li (Arm Technology China)
Hi, This serie aims at adding the support for SMMU on Komeda driver. Also updates the device-tree doc about how to enable SMMU by devicetree. This patch series depends on: - https://patchwork.freedesktop.org/series/58710/ - https://patchwork.freedesktop.org/series/59000/ -

[PATCH 1/8] drivers: net: dsa: realtek: fix warning same module names

2019-06-06 Thread Anders Roxell
When building with CONFIG_NET_DSA_REALTEK_SMI and CONFIG_REALTEK_PHY enabled as loadable modules, we see the following warning: warning: same module names found: drivers/net/phy/realtek.ko drivers/net/dsa/realtek.ko Rework so the names matches the config fragment. Signed-off-by: Anders

[PATCH 4/8] drivers: media: i2c: fix warning same module names

2019-06-06 Thread Anders Roxell
When building with CONFIG_VIDEO_ADV7511 and CONFIG_DRM_I2C_ADV7511 enabled as loadable modules, we see the following warning: warning: same module names found: drivers/gpu/drm/bridge/adv7511/adv7511.ko drivers/media/i2c/adv7511.ko Rework so the names matches the config fragment.

[PATCH 5/8] drivers: media: coda: fix warning same module names

2019-06-06 Thread Anders Roxell
When building with CONFIG_VIDEO_CODA and CONFIG_CODA_FS enabled as loadable modules, we see the following warning: warning: same module names found: fs/coda/coda.ko drivers/media/platform/coda/coda.ko Rework so media coda matches the config fragment. Leaving CODA_FS as is since thats a well

[PATCH 3/8] drivers: (video|gpu): fix warning same module names

2019-06-06 Thread Anders Roxell
When building with CONFIG_DRM_MXSFB and CONFIG_FB_MXS enabled as loadable modules, we see the following warning: warning: same module names found: drivers/video/fbdev/mxsfb.ko drivers/gpu/drm/mxsfb/mxsfb.ko Rework so the names matches the config fragment. Signed-off-by: Anders Roxell ---

[PATCH 7/8] drivers: mfd: 88pm800: fix warning same module names

2019-06-06 Thread Anders Roxell
When building with CONFIG_MFD_88PM800 and CONFIG_REGULATOR_88PM800 enabled as loadable modules, we see the following warning: warning: same module names found: drivers/regulator/88pm800.ko drivers/mfd/88pm800.ko Rework so the names matches the config fragment. Signed-off-by: Anders Roxell

[PATCH 8/8] drivers: regulator: 88pm800: fix warning same module names

2019-06-06 Thread Anders Roxell
When building with CONFIG_MFD_88PM800 and CONFIG_REGULATOR_88PM800 enabled as loadable modules, we see the following warning: warning: same module names found: drivers/regulator/88pm800.ko drivers/mfd/88pm800.ko Rework to rename the name. Signed-off-by: Anders Roxell ---

[PATCH 6/8] drivers: net: phy: fix warning same module names

2019-06-06 Thread Anders Roxell
When building with CONFIG_ASIX_PHY and CONFIG_USB_NET_AX8817X enabled as loadable modules, we see the following warning: warning: same module names found: drivers/net/phy/asix.ko drivers/net/usb/asix.ko Rework so media coda matches the config fragment. Leaving CONFIG_USB_NET_AX8817X as is

[PATCH 0/8] fix warnings for same module names

2019-06-06 Thread Anders Roxell
Hi, This patch set addresses warnings that module names are named the same, this may lead to a problem that wrong module gets loaded or if one of the two same-name modules exports a symbol, this can confuse the dependency resolution. and the build may fail. Patch "drivers: net: dsa: realtek:

Re: [PATCH] drm/crc-debugfs: User irqsafe spinlock in drm_crtc_add_crc_entry

2019-06-06 Thread Daniel Vetter
On Thu, Jun 06, 2019 at 10:27:23AM +0200, Benjamin Gaignard wrote: > Le jeu. 6 juin 2019 à 10:12, Ville Syrjälä > a écrit : > > > > On Wed, Jun 05, 2019 at 09:45:56PM +0200, Daniel Vetter wrote: > > > We can be called from any context, we need to be prepared. > > > > > > Noticed this while

Re: [PATCH v3 07/10] drm: rcar-du: Skip LVDS1 output on Gen3 when using dual-link LVDS mode

2019-06-06 Thread Sam Ravnborg
Hi Laurent. > > > Gen3 is the newest generation :-) We thus use >= through the DU and LVDS > > > drivers to prepare for support of Gen4, just in case. > > > > OK, but I guess we agree that the comment needs a small update them. > > > > Actually I implicitly reads that it is only from Gen3

Re: [PATCH v3 04/10] dt-bindings: display: renesas: lvds: Add renesas, companion property

2019-06-06 Thread Sam Ravnborg
Hi Laurent. > > > > The main difference is "when dual-link mode is supported". > > As per my understanding this property is only relevant when the actual > > HW supports / uses dual-link mode. > > So for a board that do not even wire up dual-link, then setting the > > property would be

Re: Linking ALSA playback devices and DRM connectors

2019-06-06 Thread Koenig, Christian
Am 06.06.19 um 11:13 schrieb Ser, Simon: > On Tue, 2019-06-04 at 17:15 +0200, Christian König wrote: >> Am 04.06.19 um 17:05 schrieb Ser, Simon: >>> Hi, >>> >>> I'm trying to link ALSA playback devices and DRM connectors. In other >>> words, I'd like to be able to know which ALSA device I should

Re: Linking ALSA playback devices and DRM connectors

2019-06-06 Thread Ser, Simon
On Tue, 2019-06-04 at 17:24 +0200, Daniel Vetter wrote: > On Tue, Jun 4, 2019 at 5:15 PM Christian König > wrote: > > Am 04.06.19 um 17:05 schrieb Ser, Simon: > > > Hi, > > > > > > I'm trying to link ALSA playback devices and DRM connectors. In other > > > words, I'd like to be able to know

Re: [PATCH v2 2/2] drm: panel-orientation-quirks: Add quirk for GPD MicroPC

2019-06-06 Thread Maxime Ripard
On Fri, May 24, 2019 at 02:57:59PM +0200, Hans de Goede wrote: > GPD has done it again, make a nice device (good), use way too generic > DMI strings (bad) and use a portrait screen rotated 90 degrees (ugly). > > Because of the too generic DMI strings this entry is also doing bios-date > matching,

Re: Linking ALSA playback devices and DRM connectors

2019-06-06 Thread Ser, Simon
On Tue, 2019-06-04 at 17:15 +0200, Christian König wrote: > Am 04.06.19 um 17:05 schrieb Ser, Simon: > > Hi, > > > > I'm trying to link ALSA playback devices and DRM connectors. In other > > words, I'd like to be able to know which ALSA device I should open to > > play audio on a given connector.

Re: [PATCH] arm/komeda: Convert dp_wait_cond() to return an error code.

2019-06-06 Thread james qian wang (Arm Technology China)
On Wed, Jun 05, 2019 at 12:19:29PM +0100, Liviu Dudau wrote: > dp_wait_cond() currently returns the number of retries left over which > is hardly an useful information. Convert to returning -ETIMEDOUT when > the wait times out, or 0 (zero) when condition is met before deadline. > > Also convert

Re: [PATCH v3 08/10] arm64: dts: renesas: r8a7799[05]: Point LVDS0 to its companion LVDS1

2019-06-06 Thread Simon Horman
On Thu, Jun 06, 2019 at 10:59:57AM +0300, Laurent Pinchart wrote: > Hi Simon, > > On Mon, Jun 03, 2019 at 01:40:45PM +0200, Simon Horman wrote: > > On Tue, May 28, 2019 at 05:12:32PM +0300, Laurent Pinchart wrote: > > > Add the new renesas,companion property to the LVDS0 node to point to the > >

[PATCH] drm/vkms: Forward timer right after drm_crtc_handle_vblank

2019-06-06 Thread Daniel Vetter
In commit def35e7c592616bc09be328de8795e5e624a3cf8 Author: Shayenne Moura Date: Wed Jan 30 14:06:36 2019 -0200 drm/vkms: Bugfix extra vblank frame we fixed the vblank counter to give accurate results outside of drm_crtc_handle_vblank, which fixed bugs around vblank timestamps being

Re: [PATCH] drm/crc-debugfs: User irqsafe spinlock in drm_crtc_add_crc_entry

2019-06-06 Thread Benjamin Gaignard
Le jeu. 6 juin 2019 à 10:12, Ville Syrjälä a écrit : > > On Wed, Jun 05, 2019 at 09:45:56PM +0200, Daniel Vetter wrote: > > We can be called from any context, we need to be prepared. > > > > Noticed this while hacking on vkms, which calls this function from a > > normal worker. Which really

[Bug 110751] AMD Radeon HD 7670M, power_profile: Invalid argument

2019-06-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110751 Michel Dänzer changed: What|Removed |Added QA Contact|xorg-t...@lists.x.org | Component|Driver/Radeon

Re: [PATCH v5 2/3] media: uapi: Add MEDIA_BUS_FMT_RGB888_3X8 media bus format

2019-06-06 Thread Sakari Ailus
On Thu, Jun 06, 2019 at 12:22:46AM +0200, Paul Cercueil wrote: > This patch adds MEDIA_BUS_FMT_RGB888_3X8, used for the GiantPlus > GPM940B0 24-bit TFT panel, where the RGB components are transferred > sequentially on a 8-bit bus. > > Signed-off-by: Paul Cercueil Acked-by: Sakari Ailus --

Re: [PATCH v3 04/15] drm/bridge: tc358767: Simplify tc_set_video_mode()

2019-06-06 Thread Andrzej Hajda
On 05.06.2019 09:04, Andrey Smirnov wrote: > Simplify tc_set_video_mode() by replacing explicit shifting using > macros from . No functional change intended. > > Signed-off-by: Andrey Smirnov > Cc: Archit Taneja > Cc: Andrzej Hajda > Cc: Laurent Pinchart > Cc: Tomi Valkeinen > Cc: Andrey

Re: [PATCH v1 1/2] drm/komeda: Adds SMMU support

2019-06-06 Thread Lowry Li (Arm Technology China)
Hi Liviu, Please ignore last email and please find the latest feedback inline as below. On Wed, Jun 05, 2019 at 07:19:37PM +0800, Liviu Dudau wrote: > Hi Lowry, > > On Tue, Apr 30, 2019 at 07:19:29AM +0100, Lowry Li (Arm Technology China) > wrote: > > Adds iommu_connect and disconnect for SMMU

Re: [PATCH] drm/crc-debugfs: User irqsafe spinlock in drm_crtc_add_crc_entry

2019-06-06 Thread Ville Syrjälä
On Wed, Jun 05, 2019 at 09:45:56PM +0200, Daniel Vetter wrote: > We can be called from any context, we need to be prepared. > > Noticed this while hacking on vkms, which calls this function from a > normal worker. Which really upsets lockdep. > > Cc: Rodrigo Siqueira > Cc: Tomeu Vizoso > Cc:

Re: [PATCH v3 03/15] drm/bridge: tc358767: Simplify polling in tc_link_training()

2019-06-06 Thread Andrzej Hajda
On 05.06.2019 09:04, Andrey Smirnov wrote: > Replace explicit polling in tc_link_training() with equivalent call to > tc_poll_timeout() for simplicity. No functional change intended (not > including slightly altered debug output). > > Signed-off-by: Andrey Smirnov > Cc: Archit Taneja > Cc:

Re: [GIT PULL] v5.2 fixes for Arm drivers

2019-06-06 Thread Liviu Dudau
On Thu, Jun 06, 2019 at 12:11:14PM +1000, Dave Airlie wrote: > Hi Liviu, Hi Dave, > > dim: c43de636a469 ("drm/komeda: Potential error pointer dereference"): > committer Signed-off-by missing. > dim: c43de636a469 ("drm/komeda: Potential error pointer dereference"): > SHA1 in fixes line not

Re: [PATCH] drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

2019-06-06 Thread Kai-Heng Feng
Hi, at 11:30, Kai-Heng Feng wrote: Another panel that needs 6BPC quirk. Please include this patch if possible. Kai-Heng BugLink: https://bugs.launchpad.net/bugs/1819968 Cc: # v4.8+ Signed-off-by: Kai-Heng Feng --- drivers/gpu/drm/drm_edid.c | 3 +++ 1 file changed, 3 insertions(+)

Re: [PATCH] drm: Ignore drm_gem_vram_mm_funcs in generated documentation

2019-06-06 Thread Thomas Zimmermann
Hi Am 06.06.19 um 09:49 schrieb Daniel Vetter: > On Thu, Jun 6, 2019 at 9:45 AM Gerd Hoffmann wrote: >> >> On Thu, Jun 06, 2019 at 08:39:12AM +0200, Thomas Zimmermann wrote: >>> Hi >>> >>> Am 05.06.19 um 17:58 schrieb Gerd Hoffmann: On Wed, Jun 05, 2019 at 11:59:04AM +0200, Thomas

Re: [PATCH v3 02/15] drm/bridge: tc358767: Simplify polling in tc_main_link_setup()

2019-06-06 Thread Andrzej Hajda
On 05.06.2019 09:04, Andrey Smirnov wrote: > Replace explicit polling loop with equivalent call to > tc_poll_timeout() for brevity. No functional change intended. > > Signed-off-by: Andrey Smirnov > Cc: Archit Taneja > Cc: Andrzej Hajda > Cc: Laurent Pinchart > Cc: Tomi Valkeinen > Cc: Andrey

Re: [PATCH v3 08/10] arm64: dts: renesas: r8a7799[05]: Point LVDS0 to its companion LVDS1

2019-06-06 Thread Laurent Pinchart
Hi Simon, On Mon, Jun 03, 2019 at 01:40:45PM +0200, Simon Horman wrote: > On Tue, May 28, 2019 at 05:12:32PM +0300, Laurent Pinchart wrote: > > Add the new renesas,companion property to the LVDS0 node to point to the > > companion LVDS encoder LVDS1. > > > > Signed-off-by: Laurent Pinchart > >

Re: [PATCH v3 07/10] drm: rcar-du: Skip LVDS1 output on Gen3 when using dual-link LVDS mode

2019-06-06 Thread Laurent Pinchart
Hi Sam, On Tue, May 28, 2019 at 07:02:42PM +0200, Sam Ravnborg wrote: > On Tue, May 28, 2019 at 07:50:52PM +0300, Laurent Pinchart wrote: > > On Tue, May 28, 2019 at 06:42:13PM +0200, Sam Ravnborg wrote: > >> On Tue, May 28, 2019 at 05:12:31PM +0300, Laurent Pinchart wrote: > >>> In dual-link

Re: [PATCH v3 04/10] dt-bindings: display: renesas: lvds: Add renesas, companion property

2019-06-06 Thread Laurent Pinchart
Hi Sam, On Tue, May 28, 2019 at 06:59:00PM +0200, Sam Ravnborg wrote: > Hi Laurent. > > > > > > > > > +Optional properties: > > > > + > > > > +- renesas,companion : phandle to the companion LVDS encoder. This > > > > property is > > > > + mandatory for the first LVDS encoder on D3 and E3

Re: [PATCH] drm: Ignore drm_gem_vram_mm_funcs in generated documentation

2019-06-06 Thread Daniel Vetter
On Thu, Jun 6, 2019 at 9:45 AM Gerd Hoffmann wrote: > > On Thu, Jun 06, 2019 at 08:39:12AM +0200, Thomas Zimmermann wrote: > > Hi > > > > Am 05.06.19 um 17:58 schrieb Gerd Hoffmann: > > > On Wed, Jun 05, 2019 at 11:59:04AM +0200, Thomas Zimmermann wrote: > > >> Hi > > >> > > >> Am 05.06.19 um

Re: [PATCH v1 1/2] drm/komeda: Adds SMMU support

2019-06-06 Thread Lowry Li (Arm Technology China)
On Wed, Jun 05, 2019 at 07:19:37PM +0800, Liviu Dudau wrote: > Hi Lowry, > > On Tue, Apr 30, 2019 at 07:19:29AM +0100, Lowry Li (Arm Technology China) > wrote: > > Adds iommu_connect and disconnect for SMMU support, and configures > > TBU translation once SMMU has been attached to the display

Re: [PATCH] drm: Ignore drm_gem_vram_mm_funcs in generated documentation

2019-06-06 Thread Gerd Hoffmann
On Thu, Jun 06, 2019 at 08:39:12AM +0200, Thomas Zimmermann wrote: > Hi > > Am 05.06.19 um 17:58 schrieb Gerd Hoffmann: > > On Wed, Jun 05, 2019 at 11:59:04AM +0200, Thomas Zimmermann wrote: > >> Hi > >> > >> Am 05.06.19 um 11:03 schrieb Gerd Hoffmann: > >>> On Tue, Jun 04, 2019 at 01:13:30PM

Re: [PATCH 4/4] drm/virtio: Add memory barriers for capset cache.

2019-06-06 Thread Gerd Hoffmann
On Wed, Jun 05, 2019 at 04:44:23PM -0700, davidri...@chromium.org wrote: > From: David Riley > > After data is copied to the cache entry, atomic_set is used indicate > that the data is the entry is valid without appropriate memory barriers. > Similarly the read side was missing the same memory

Re: [PATCH 00/33] fbcon notifier begone v3!

2019-06-06 Thread Daniel Vetter
Hi Bart, On Tue, May 28, 2019 at 11:02:31AM +0200, Daniel Vetter wrote: > Hi all, > > I think we're slowly getting there. Previous cover letters with more > context: > > https://lists.freedesktop.org/archives/dri-devel/2019-May/218362.html > > tldr; I have a multi-year plan to improve fbcon

[Bug 107877] deepin-desktop: xdg-email: no method available for opening 'mailto:'

2019-06-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107877 John M. Haynes changed: What|Removed |Added Version|unspecified |DRI git

[PATCH v3, 00/27] add drm support for MT8183

2019-06-06 Thread yongqiang.niu
From: Yongqiang Niu This series are based on 5.2-rc1 and provid 27 patch to support mediatek SOC MT8183 Change since v2 - fix reviewed issue in v2 - add mutex node into dts file Yongqiang Niu (27): dt-bindings: mediatek: add binding for mt8183 display dt-bindings: mediatek: add ovl_2l

[PATCH v3, 25/27] drm/mediatek: add connection from RDMA1 to DSI0

2019-06-06 Thread yongqiang.niu
From: Yongqiang Niu This patch add connection from RDMA1 to DSI0 Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index

[PATCH v3, 04/27] dt-bindings: mediatek: add dither description for mt8183 display

2019-06-06 Thread yongqiang.niu
From: Yongqiang Niu Update device tree binding documention for the display subsystem for Mediatek MT8183 SOCs Signed-off-by: Yongqiang Niu --- Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3, 26/27] drm/mediatek: add clock property check before get it

2019-06-06 Thread yongqiang.niu
From: Yongqiang Niu This patch add clock property check before get it Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c

[PATCH v3, 11/27] drm/mediatek: add mmsys private data for ddp path config

2019-06-06 Thread yongqiang.niu
From: Yongqiang Niu This patch add mmsys private data for ddp path config all these register offset and value will be different in future SOC add these define into mmsys private data u32 ovl0_mout_en; u32 rdma0_sout_sel_in; u32 rdma0_sout_color0; u32

<    1   2   3   >