[PATCH] drm: dw-hdmi-i2s: enable audio clock in audio_startup

2019-08-28 Thread Cheng-Yi Chiang
In the designware databook, the sequence of enabling audio clock and setting format is not clearly specified. Currently, audio clock is enabled in the end of hw_param ops after setting format. On some monitors, there is a possibility that audio does not come out. Fix this by enabling audio clock

Re: [PATCH v12 1/6] drm/i915: mei_hdcp: I915 sends ddi index as per ME FW

2019-08-28 Thread Ramalingam C
On 2019-08-28 at 23:23:42 +0530, Winkler, Tomas wrote: > > FW > > > > I915 converts it's port value into ddi index defiend by ME FW and pass it > > as a > > member of hdcp_port_data structure. > > > > Hence expose the enum mei_fw_ddi to I915 through i915_mei_interface.h. > > > > v2: > >

Re: [PATCH][drm-next] drm/amdgpu: fix spelling mistake "jumpimng" -> "jumping"

2019-08-28 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Aug 28, 2019 at 8:52 PM Colin King wrote: > > From: Colin Ian King > > There is a spelling mistake in a DRM_DEBUG_DRIVER debug message. > Fix it. > > Signed-off-by: Colin Ian King > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c | 2 +- > 1 file changed,

[Bug 204725] black screen

2019-08-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204725 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC|

[pull] amdgpu drm-fixes-5.3

2019-08-28 Thread Alex Deucher
Hi Dave, Daniel, A few fixes for 5.3. Nothing too major. The following changes since commit 7837951a12fdaf88d2c51ff0757980c00072790c: drm/mediatek: include dma-mapping header (2019-08-24 15:09:20 +1000) are available in the Git repository at: git://people.freedesktop.org/~agd5f/linux

[PATCH][drm-next] drm/amdgpu: fix spelling mistake "jumpimng" -> "jumping"

2019-08-28 Thread Colin King
From: Colin Ian King There is a spelling mistake in a DRM_DEBUG_DRIVER debug message. Fix it. Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c

[PATCH v2] drm/dp_mst: Clear all payload id tables downstream when initializing

2019-08-28 Thread Lyude Paul
From: Sean Paul It seems that on certain MST hubs, namely the CableMatters USB-C 2x DP hub, using the DP_PAYLOAD_ALLOCATE_SET and DP_PAYLOAD_TABLE_UPDATE_STATUS register ranges to clear any pre-existing payload allocations on the hub isn't always enough to reset things if the source device has

Re: [PATCH v8 00/18] drm/virtio: switch from ttm to gem shmem helpers.

2019-08-28 Thread Chia-I Wu
On Fri, Aug 23, 2019 at 2:55 AM Gerd Hoffmann wrote: > > ttm increasingly gets into the way while hacking on virtio-gpu memory > management. It also overkill for what virtio-gpu needs. Lets get rid > of it. > > v8: > - rebase to latest drm-misc-next, adapt to changes. Other than two (minor)

[Bug 204725] black screen

2019-08-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204725 --- Comment #4 from Dmitri Seletski (drj...@gmail.com) --- Comment on attachment 284671 --> https://bugzilla.kernel.org/attachment.cgi?id=284671 black screen kernel 5.30 its dmesg output -- You are receiving this mail because: You are

[Bug 204725] black screen

2019-08-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204725 --- Comment #3 from Dmitri Seletski (drj...@gmail.com) --- Created attachment 284675 --> https://bugzilla.kernel.org/attachment.cgi?id=284675=edit lspci -vv -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 204725] black screen

2019-08-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204725 --- Comment #2 from Dmitri Seletski (drj...@gmail.com) --- i can connect to machine over ssh, it's how i know machine is responsive. attempts to startx xorg fail with changing black screen to black screen. after which keyboard becomes

[Bug 204725] black screen

2019-08-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204725 --- Comment #1 from Dmitri Seletski (drj...@gmail.com) --- Created attachment 284673 --> https://bugzilla.kernel.org/attachment.cgi?id=284673=edit .config file -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 204725] New: black screen

2019-08-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204725 Bug ID: 204725 Summary: black screen Product: Drivers Version: 2.5 Kernel Version: linux-5.3-rc6, linux-5.3-rc6 latest, Hardware: x86-64 OS: Linux Tree:

[PATCH v2 3/3] dt-bindings: Convert Arm Mali Utgard GPU to DT schema

2019-08-28 Thread Rob Herring
Convert the Arm Utgard GPU binding to DT schema format. 'allwinner,sun8i-a23-mali' compatible was not documented, so add it. The 'clocks' property is now required. This simplifies the schema as effectively all the users require 'clocks' already and the upstream driver requires clocks.

[PATCH v2 2/3] dt-bindings: Convert Arm Mali Bifrost GPU to DT schema

2019-08-28 Thread Rob Herring
Convert the Arm Bifrost GPU binding to DT schema format. The 'clocks' property is now required. This simplifies the schema as effectively all the users require 'clocks' already and the upstream driver requires at least one clock. Reviewed-by: Neil Armstrong Acked-by: Maxime Ripard Acked-by:

[PATCH v2 0/3] dt-bindings: Convert Arm Mali GPUs to DT schema

2019-08-28 Thread Rob Herring
This series converts the various Arm Mali GPU bindings to use the DT schema format. The Midgard and Bifrost bindings generate warnings on 'interrupt-names' because there's all different ordering. The Utgard binding generates warnings on Rockchip platforms because 'clock-names' order is reversed.

[PATCH v2 1/3] dt-bindings: Convert Arm Mali Midgard GPU to DT schema

2019-08-28 Thread Rob Herring
Convert the Arm Midgard GPU binding to DT schema format. The 'clocks' property is now required. This simplifies the schema as effectively all the users require 'clocks' already and the upstream driver requires at least one clock. Reviewed-by: Neil Armstrong Acked-by: Maxime Ripard Acked-by:

Re: [PATCH v8 07/18] drm/virtio: add virtio_gpu_object_array & helpers

2019-08-28 Thread Chia-I Wu
On Fri, Aug 23, 2019 at 2:55 AM Gerd Hoffmann wrote: > > Some helper functions to manage an array of gem objects. > > v6: > - add ticket to struct virtio_gpu_object_array. > - add virtio_gpu_array_{lock,unlock}_resv helpers. > - add virtio_gpu_array_add_fence helper. > v5: some small

Re: [PATCH v8 02/18] drm/virtio: switch virtio_gpu_wait_ioctl() to gem helper.

2019-08-28 Thread Chia-I Wu
On Fri, Aug 23, 2019 at 2:55 AM Gerd Hoffmann wrote: > > Use drm_gem_reservation_object_wait() in virtio_gpu_wait_ioctl(). > This also makes the ioctl run lockless. > > v5: handle lookup failure. > v2: use reservation_object_test_signaled_rcu for VIRTGPU_WAIT_NOWAIT. > > Signed-off-by: Gerd

Re: [PATCH] drm/amdgpu/si: fix ASIC tests

2019-08-28 Thread Alex Deucher
On Wed, Aug 28, 2019 at 11:28 AM Jean Delvare wrote: > > Comparing adev->family with CHIP constants is not correct. > adev->family can only be compared with AMDGPU_FAMILY constants and > adev->asic_type is the struct member to compare with CHIP constants. > They are separate identification

Re: [PATCH v2 08/21] drm/msm: Use drm_attach_bridge() to attach a bridge to an encoder

2019-08-28 Thread Boris Brezillon
On Wed, 28 Aug 2019 11:30:43 -0400 Sean Paul wrote: > On Wed, Aug 28, 2019 at 11:25 AM Boris Brezillon > wrote: > > > > On Wed, 28 Aug 2019 11:22:57 -0400 > > Sean Paul wrote: > > > > > On Mon, Aug 26, 2019 at 05:26:36PM +0200, Boris Brezillon wrote: > > > > This is part of our attempt to

Re: [PATCH v2 01/21] drm: Stop including drm_bridge.h from drm_crtc.h

2019-08-28 Thread Boris Brezillon
On Mon, 26 Aug 2019 17:26:29 +0200 Boris Brezillon wrote: > We are about to add a drm_bridge_state that inherits from > drm_private_state which is defined in drm_atomic.h. Problem is, > drm_atomic.h includes drm_crtc.h which in turn includes drm_bridge.h, > leading to "drm_private_state has

Re: [PATCH] drm/amd/amdgpu: hide voltage and power sensors on SI and KV parts

2019-08-28 Thread Alex Deucher
On Wed, Aug 28, 2019 at 4:32 AM Jean Delvare wrote: > > The driver does not support these sensors yet and there is no point in > creating sysfs attributes which will always return an error. > > Signed-off-by: Jean Delvare > Cc: Alex Deucher > Cc: "Christian König" > Cc: "David (ChunMing) Zhou"

Re: [PATCH V2] drm: Add LTTPR defines for DP 1.4a

2019-08-28 Thread Siqueira, Rodrigo
On 08/27, Jani Nikula wrote: > On Mon, 26 Aug 2019, "Siqueira, Rodrigo" wrote: > > DP 1.4a specification defines Link Training Tunable PHY Repeater (LTTPR) > > which is required to add support for systems with Thunderbolt or other > > repeater devices. > > > > Changes since V1: > > - Adjusts

[PATCH V3] drm: Add LTTPR defines for DP 1.4a

2019-08-28 Thread Siqueira, Rodrigo
DP 1.4a specification defines Link Training Tunable PHY Repeater (LTTPR) which is required to add support for systems with Thunderbolt or other repeater devices. Changes since V2: - Drop the kernel-doc comment - Reorder LTTPR according to register offset Changes since V1: - Adjusts registers

[Bug 204683] amdgpu: ring sdma0 timeout

2019-08-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204683 --- Comment #5 from Matthias Heinz (m...@familie-heinz.name) --- Created attachment 284667 --> https://bugzilla.kernel.org/attachment.cgi?id=284667=edit Kernel trace -- You are receiving this mail because: You are watching the assignee of the

[Bug 204683] amdgpu: ring sdma0 timeout

2019-08-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204683 --- Comment #4 from Matthias Heinz (m...@familie-heinz.name) --- I still have 11 steps to go (as I mentioned it's a pretty lengthy task), but I got some more debug output, before the system stopped working. Please see the attached file, maybe it

[Bug 111077] link_shader and deserialize_glsl_program suddenly consume huge amount of RAM

2019-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111077 --- Comment #21 from Marek Olšák --- How do I reproduce it? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org

[PULL] drm-misc-fixes

2019-08-28 Thread Maarten Lankhorst
Hi Dave and Danvet, drm-misc-fixes for v5.3, enjoy! drm-misc-fixes-2019-08-28: drm-misc-fixes for v5.3 (rc7?): - Make qxl reservel the vga ports using vgaargb to prevent switching to vga compatibility mode. - Fix omap port lookup for SDI output - Use virtio_max_dma_size to fix an issue with

Re: [PATCH 3/5] kernel.h: Add non_block_start/end()

2019-08-28 Thread Daniel Vetter
On Wed, Aug 28, 2019 at 8:43 PM Jason Gunthorpe wrote: > On Wed, Aug 28, 2019 at 08:33:13PM +0200, Daniel Vetter wrote: > > On Wed, Aug 28, 2019 at 12:50 AM Jason Gunthorpe wrote: > > > > > > > diff --git a/include/linux/kernel.h b/include/linux/kernel.h > > > > index 4fa360a13c1e..82f84cfe372f

Re: mmotm 2019-08-27-20-39 uploaded (gpu/drm/amd/display/)

2019-08-28 Thread Alex Deucher
On Wed, Aug 28, 2019 at 2:51 PM Randy Dunlap wrote: > > On 8/27/19 8:40 PM, a...@linux-foundation.org wrote: > > The mm-of-the-moment snapshot 2019-08-27-20-39 has been uploaded to > > > >http://www.ozlabs.org/~akpm/mmotm/ > > > > mmotm-readme.txt says > > > > README for mm-of-the-moment: > >

RE: [PATCH v12 6/6] drm/i915/hdcp: Enable HDCP 1.4 and 2.2 on Gen12+

2019-08-28 Thread Winkler, Tomas
Now I'm reading this other patch about DG1 ' drm/i915/dg1: Initialize DDI ports for DG1' , is this condition still correct here? Is the condition 'INTEL_GEN(dev_priv) >= 12' sufficient ? > > >From Gen12 onwards, HDCP HW block is implemented within transcoders. > Till Gen11 HDCP HW block was

Re: [PATCH 3/5] kernel.h: Add non_block_start/end()

2019-08-28 Thread Jason Gunthorpe
On Wed, Aug 28, 2019 at 08:33:13PM +0200, Daniel Vetter wrote: > On Wed, Aug 28, 2019 at 12:50 AM Jason Gunthorpe wrote: > > > > > diff --git a/include/linux/kernel.h b/include/linux/kernel.h > > > index 4fa360a13c1e..82f84cfe372f 100644 > > > +++ b/include/linux/kernel.h > > > @@ -217,7 +217,9

[PATCH v3 0/8] Add dual-LVDS panel support to EK874

2019-08-28 Thread Fabrizio Castro
Dear All, this series adds support for dual-LVDS panel IDK-2121WR from Advantech: https://buy.advantech.eu/Displays/Embedded-LCD-Kits-High-Brightness/model-IDK-2121WR-K2FHA2E.htm V3 approaches the problem in a completely different way, we now have two new properties to mark the ports in the DT

[PATCH v3 3/8] drm: Add bus timings helper

2019-08-28 Thread Fabrizio Castro
Helper to provide bus timing information. Signed-off-by: Fabrizio Castro --- v2->v3: * new patch --- drivers/gpu/drm/Makefile | 3 +- drivers/gpu/drm/drm_bus_timings.c | 97 +++ include/drm/drm_bus_timings.h | 21 + 3 files changed, 120

[PATCH v3 1/8] dt-bindings: display: Add bindings for LVDS bus-timings

2019-08-28 Thread Fabrizio Castro
Dual-LVDS connections need markers in the DT, this patch adds some common documentation to be referenced by both panels and bridges. Signed-off-by: Fabrizio Castro --- v2->v3: * new patch --- .../bindings/display/bus-timings/lvds.yaml | 38 ++ 1 file changed, 38

[PATCH v3 4/8] drm: rcar-du: lvds: Add dual-LVDS panels support

2019-08-28 Thread Fabrizio Castro
The driver doesn't support dual-link LVDS displays, and the way it identifies bridges won't allow for dual-LVDS displays to be connected. Also, it's not possible to swap even and odd pixels around in case the wiring isn't taking advantage of the default hardware configuration. Further more, the

[PATCH v3 5/8] drm: bridge: thc63: Do not report input bus mode through bridge timings

2019-08-28 Thread Fabrizio Castro
No need to report the input bus mode through bridge timings anymore, that's now done through the DT, as specified by the dt-bindings. Signed-off-by: Fabrizio Castro --- v2->v3: * new patch --- drivers/gpu/drm/bridge/thc63lvd1024.c | 9 - include/drm/drm_bridge.h | 8

[PATCH v3 2/8] dt-bindings: display: Add idk-2121wr binding

2019-08-28 Thread Fabrizio Castro
Add binding for the idk-2121wr LVDS panel from Advantech. Some panel-specific documentation can be found here: https://buy.advantech.eu/Displays/Embedded-LCD-Kits-High-Brightness/model-IDK-2121WR-K2FHA2E.htm Signed-off-by: Fabrizio Castro --- v2->v3: * new patch ---

[Bug 111077] link_shader and deserialize_glsl_program suddenly consume huge amount of RAM

2019-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111077 Matt Turner changed: What|Removed |Added CC||mar...@gmail.com Keywords|

Re: [PATCH 3/5] kernel.h: Add non_block_start/end()

2019-08-28 Thread Daniel Vetter
On Wed, Aug 28, 2019 at 12:50 AM Jason Gunthorpe wrote: > > > diff --git a/include/linux/kernel.h b/include/linux/kernel.h > > index 4fa360a13c1e..82f84cfe372f 100644 > > +++ b/include/linux/kernel.h > > @@ -217,7 +217,9 @@ extern void __cant_sleep(const char *file, int line, > > int

Re: [PATCH] drm/msm/dpu: remove stray "\n"

2019-08-28 Thread Sean Paul
On Tue, Aug 27, 2019 at 02:10:09PM -0700, Rob Clark wrote: > From: Rob Clark > > The extra line-break in traces was annoying me. > > Signed-off-by: Rob Clark Reviewed-by: Sean Paul > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH v2] drm/komeda: Reordered the komeda's de-init functions

2019-08-28 Thread Ayan Halder
On Wed, Aug 28, 2019 at 03:58:12PM +, james qian wang (Arm Technology China) wrote: > On Wed, Aug 28, 2019 at 03:00:19PM +, Ayan Halder wrote: > > From: Ayan Halder > > > > The de-init routine should be doing the following in order:- > > 1. Unregister the drm device > > 2. Shut down the

Re: [PATCH v12 0/6] drm/i915: Enable HDCP 1.4 and 2.2 on Gen12+

2019-08-28 Thread Ramalingam C
On 2019-08-28 at 22:12:10 +0530, Ramalingam C wrote: > Enabling the HDCP1.4 and 2.2 on TGL by supporting the HW block movement > from DDI into transcoder. > > v12: > r-b and ack are collected. > few review comments are addressed. Tomas, Thanks for reviewing the patches and providing the

[PATCH v12 4/6] misc/mei/hdcp: Fill transcoder index in port info

2019-08-28 Thread Ramalingam C
For gen12+ platform we need to pass the transcoder info as part of the port info into ME FW. This change fills the payload for ME FW from hdcp_port_data. v2: Doc is enhanced for physical_port and attached_transcoder [Tomas] Signed-off-by: Ramalingam C Acked-by: Jani Nikula Reviewed-by:

[PATCH v12 5/6] drm/i915/hdcp: update current transcoder into intel_hdcp

2019-08-28 Thread Ramalingam C
On gen12+ platforms, HDCP HW is associated to the transcoder. Hence on every modeset update associated transcoder into the intel_hdcp of the port. v2: s/trans/cpu_transcoder [Jani] v3: comment is added for fw_ddi init for gen12+ [Shashank] only hdcp capable transcoder is translated into

[PATCH v12 6/6] drm/i915/hdcp: Enable HDCP 1.4 and 2.2 on Gen12+

2019-08-28 Thread Ramalingam C
>From Gen12 onwards, HDCP HW block is implemented within transcoders. Till Gen11 HDCP HW block was part of DDI. Hence required changes in HW programming is handled here. As ME FW needs the transcoder detail on which HDCP is enabled on Gen12+ platform, we are populating the detail in

[PATCH v12 0/6] drm/i915: Enable HDCP 1.4 and 2.2 on Gen12+

2019-08-28 Thread Ramalingam C
Enabling the HDCP1.4 and 2.2 on TGL by supporting the HW block movement from DDI into transcoder. v12: r-b and ack are collected. few review comments are addressed. Ramalingam C (6): drm/i915: mei_hdcp: I915 sends ddi index as per ME FW drm: Move port definition back to i915 header

Re: [PATCH] drm: dp_mst_topology: Ensure the proposed pbn does not exceed available bandwidth

2019-08-28 Thread Sean Paul
On Wed, Aug 28, 2019 at 10:29:32AM -0400, Sean Paul wrote: > On Tue, Aug 27, 2019 at 08:31:29PM -0400, Lyude Paul wrote: > > Hi! So, I don't have access to the DP 1.3 spec or anything later than 1.3. > > 1.3 was just what I was looking at, I checked 1.2 and it looks the same (aside > from a typo

[PATCH v12 1/6] drm/i915: mei_hdcp: I915 sends ddi index as per ME FW

2019-08-28 Thread Ramalingam C
I915 converts it's port value into ddi index defiend by ME FW and pass it as a member of hdcp_port_data structure. Hence expose the enum mei_fw_ddi to I915 through i915_mei_interface.h. v2: Copyright years are bumped [Tomas] Signed-off-by: Ramalingam C Acked-by: Jani Nikula Reviewed-by:

[PATCH v12 3/6] drm: Extend I915 mei interface for transcoder info

2019-08-28 Thread Ramalingam C
I915 needs to send the index of the transcoder as per ME FW. To support this, define enum mei_fw_tc and add as a member into the struct hdcp_port_data. v2: Typo in commit msg is fixed [Shashank] v3: kdoc is added for mei_fw_tc [Tomas] s/MEI_TC_x/MEI_TRANSCODER_x Signed-off-by: Ramalingam

[PATCH v12 2/6] drm: Move port definition back to i915 header

2019-08-28 Thread Ramalingam C
We dont need the definition of the enum port outside I915, anymore. Hence move enum port definition into I915 driver itself. v2: intel_display.h is included in intel_hdcp.h v3: enum port is declared in headers. v4: commit msg is rephrased. v5: copyright year is updated [Tomas]

Re: [PATCH v3 0/7] backlight: gpio: simplify the driver

2019-08-28 Thread Jacopo Mondi
Hi Geert, On Wed, Aug 28, 2019 at 06:31:19PM +0200, Linus Walleij wrote: > On Wed, Aug 28, 2019 at 10:36 AM Geert Uytterhoeven > wrote: > > > CC the pour soul with the ecovec board. > I'm sorry, Eco what ? :) > With great power comes great responsibility ;) > Yeah, that's -exactly- a 'great

Re: [PATCH v3 0/7] backlight: gpio: simplify the driver

2019-08-28 Thread Linus Walleij
On Wed, Aug 28, 2019 at 10:36 AM Geert Uytterhoeven wrote: > CC the pour soul with the ecovec board. With great power comes great responsibility ;) Yours, Linus Walleij ___ dri-devel mailing list dri-devel@lists.freedesktop.org

Re: [PATCH v2] drm/komeda: Reordered the komeda's de-init functions

2019-08-28 Thread james qian wang (Arm Technology China)
On Wed, Aug 28, 2019 at 03:00:19PM +, Ayan Halder wrote: > From: Ayan Halder > > The de-init routine should be doing the following in order:- > 1. Unregister the drm device > 2. Shut down the crtcs - failing to do this might cause a connector leakage > See the 'commit 109c4d18e574

Re: [Nouveau] [PATCH v3 5/7] drm/nouveau: utilize subconnector property for DP

2019-08-28 Thread Ville Syrjälä
On Wed, Aug 28, 2019 at 11:11:41AM -0400, Ilia Mirkin wrote: > On Wed, Aug 28, 2019 at 10:54 AM Ville Syrjälä > wrote: > > > > On Wed, Aug 28, 2019 at 10:47:08AM -0400, Ilia Mirkin wrote: > > > On Wed, Aug 28, 2019 at 10:38 AM Ville Syrjälä > > > wrote: > > > > > > > > On Mon, Aug 26, 2019 at

[Bug 111481] AMD Navi GPU frequent freezes on both Manjaro/Ubuntu with kernel 5.3 and mesa 19.2 -git/llvm9

2019-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111481 --- Comment #2 from Mathieu Belanger --- I confirm that I have this bug or a very similar one. It, for some reason, happens most when i'm using my IDE (Intellij based). It will append the most when I type code and the crash occur when the IDE

Re: [PATCH v2 08/21] drm/msm: Use drm_attach_bridge() to attach a bridge to an encoder

2019-08-28 Thread Sean Paul
On Wed, Aug 28, 2019 at 11:25 AM Boris Brezillon wrote: > > On Wed, 28 Aug 2019 11:22:57 -0400 > Sean Paul wrote: > > > On Mon, Aug 26, 2019 at 05:26:36PM +0200, Boris Brezillon wrote: > > > This is part of our attempt to make the bridge chain a double-linked > > > list based on the generic list

Re: [PATCH v2 08/21] drm/msm: Use drm_attach_bridge() to attach a bridge to an encoder

2019-08-28 Thread Boris Brezillon
On Wed, 28 Aug 2019 11:22:57 -0400 Sean Paul wrote: > On Mon, Aug 26, 2019 at 05:26:36PM +0200, Boris Brezillon wrote: > > This is part of our attempt to make the bridge chain a double-linked > > list based on the generic list helpers. In order to do that, we must > > patch all drivers

Re: [PATCH v2 08/21] drm/msm: Use drm_attach_bridge() to attach a bridge to an encoder

2019-08-28 Thread Sean Paul
On Mon, Aug 26, 2019 at 05:26:36PM +0200, Boris Brezillon wrote: > This is part of our attempt to make the bridge chain a double-linked > list based on the generic list helpers. In order to do that, we must > patch all drivers manipulating the encoder->bridge field directly. > > Signed-off-by:

Re: [PATCH 0/2] drm/meson: add resume/suspend hooks

2019-08-28 Thread Neil Armstrong
On 28/08/2019 17:12, Kevin Hilman wrote: > Neil Armstrong writes: > >> On 27/08/2019 21:17, Kevin Hilman wrote: >>> Neil Armstrong writes: >>> This serie adds the resume/suspend hooks in the Amlogic Meson VPU main driver and the DW-HDMI Glue driver to correctly save state and

Re: [PATCH 0/2] drm/meson: add resume/suspend hooks

2019-08-28 Thread Kevin Hilman
Neil Armstrong writes: > On 27/08/2019 21:17, Kevin Hilman wrote: >> Neil Armstrong writes: >> >>> This serie adds the resume/suspend hooks in the Amlogic Meson VPU main >>> driver >>> and the DW-HDMI Glue driver to correctly save state and disable HW before >>> suspend, and succesfully

Re: [Nouveau] [PATCH v3 5/7] drm/nouveau: utilize subconnector property for DP

2019-08-28 Thread Ilia Mirkin
On Wed, Aug 28, 2019 at 10:54 AM Ville Syrjälä wrote: > > On Wed, Aug 28, 2019 at 10:47:08AM -0400, Ilia Mirkin wrote: > > On Wed, Aug 28, 2019 at 10:38 AM Ville Syrjälä > > wrote: > > > > > > On Mon, Aug 26, 2019 at 09:36:50AM -0400, Ilia Mirkin wrote: > > > > This should probably be fixed to

Re: [PATCH v7 1/9] drm_dp_cec: add connector info support.

2019-08-28 Thread Ville Syrjälä
On Wed, Aug 14, 2019 at 12:44:59PM +0200, Dariusz Marcinkiewicz wrote: > Pass the connector info to the CEC adapter. This makes it possible > to associate the CEC adapter with the corresponding drm connector. > > Signed-off-by: Dariusz Marcinkiewicz > Signed-off-by: Hans Verkuil > Tested-by:

[PATCH v2] drm/komeda: Reordered the komeda's de-init functions

2019-08-28 Thread Ayan Halder
From: Ayan Halder The de-init routine should be doing the following in order:- 1. Unregister the drm device 2. Shut down the crtcs - failing to do this might cause a connector leakage See the 'commit 109c4d18e574 ("drm/arm/malidp: Ensure that the crtcs are shutdown before removing any

Re: [Nouveau] [PATCH v3 5/7] drm/nouveau: utilize subconnector property for DP

2019-08-28 Thread Ville Syrjälä
On Wed, Aug 28, 2019 at 10:47:08AM -0400, Ilia Mirkin wrote: > On Wed, Aug 28, 2019 at 10:38 AM Ville Syrjälä > wrote: > > > > On Mon, Aug 26, 2019 at 09:36:50AM -0400, Ilia Mirkin wrote: > > > This should probably be fixed to account for the scenario where an > > > HDMI connector is plugged

Re: [Nouveau] [PATCH v3 5/7] drm/nouveau: utilize subconnector property for DP

2019-08-28 Thread Ilia Mirkin
On Wed, Aug 28, 2019 at 10:38 AM Ville Syrjälä wrote: > > On Mon, Aug 26, 2019 at 09:36:50AM -0400, Ilia Mirkin wrote: > > This should probably be fixed to account for the scenario where an > > HDMI connector is plugged directly into the DP++ port. I don't think > > the dp.subconnector property

Re: [Nouveau] [PATCH v3 5/7] drm/nouveau: utilize subconnector property for DP

2019-08-28 Thread Ville Syrjälä
On Mon, Aug 26, 2019 at 09:36:50AM -0400, Ilia Mirkin wrote: > This should probably be fixed to account for the scenario where an > HDMI connector is plugged directly into the DP++ port. I don't think > the dp.subconnector property will be valid in that case. > (Unfortunately I don't remember how

Re: [EXT] [PATCH v3 0/2] drm: bridge: Add NWL MIPI DSI host controller support

2019-08-28 Thread Robert Chiras
Hi Guido, I tested this on my setup and it works. My DSI panel is a little bit different and it doesn't work with this as-is, but I added some improvements on top of this, in order to be able to setup the clocks. The changes I made can arrive on top of this as improvements, of course, since it

Re: [PATCH v3 4/7] drm/i915: utilize subconnector property for DP

2019-08-28 Thread Ville Syrjälä
On Mon, Aug 26, 2019 at 04:22:13PM +0300, Oleg Vasilev wrote: > Since DP-specific information is stored in driver's structures, every > driver needs to implement subconnector property by itself. > > v2: updates to match previous commit changes > > Reviewed-by: Emil Velikov > Tested-by: Oleg

Re: [PATCH v3 3/7] drm: report dp downstream port type as a subconnector property

2019-08-28 Thread Ville Syrjälä
On Mon, Aug 26, 2019 at 04:22:12PM +0300, Oleg Vasilev wrote: > Currently, downstream port type is only reported in debugfs. This > information should be considered important since it reflects the actual > physical connector type. Some userspace (e.g. window compositors) > may want to show this

[Bug 111482] Sapphire Pulse RX 5700 XT power consumption

2019-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111482 --- Comment #5 from Robert --- One additional observation I made yesterday: If I stop sddm/KDE via "systemctl stop sddm" the frequency has changed after I'm back in console: """ cat /sys/class/drm/card0/device/pp_dpm_mclk 0: 100Mhz 1: 500Mhz

Re: [PATCH] drm/komeda: Add ACLK rate to sysfs

2019-08-28 Thread james qian wang (Arm Technology China)
Hi Mihail: Looks good to me. Reviewed-by: James Qian Wang (Arm Technology China) James. On Wed, Aug 28, 2019 at 11:03:49AM +, Mihail Atanassov wrote: > Expose node with the name 'aclk_hz' > > Signed-off-by: Mihail Atanassov > --- > drivers/gpu/drm/arm/display/komeda/komeda_dev.c | 10

RE: [PATCH v11 3/6] drm: Extend I915 mei interface for transcoder info

2019-08-28 Thread Sharma, Shashank
Looks good to me, From display side, Please feel free to use Reviewed-by: Shashank Sharma Regards Shashank > -Original Message- > From: Winkler, Tomas > Sent: Wednesday, August 28, 2019 1:49 PM > To: C, Ramalingam > Cc: intel-gfx ; dri-devel de...@lists.freedesktop.org>; Sharma,

RE: [PATCH v11 5/6] drm/i915/hdcp: update current transcoder into intel_hdcp

2019-08-28 Thread Sharma, Shashank
Looks good to me, From display side, Please feel free to use Reviewed-by: Shashank Sharma > -Original Message- > From: C, Ramalingam > Sent: Wednesday, August 28, 2019 2:28 PM > To: Winkler, Tomas > Cc: intel-gfx ; dri-devel de...@lists.freedesktop.org>; Sharma, Shashank ; > Daniel

[Bug 111494] Raven Ridge (2400G): Firefox menu items become invisible

2019-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111494 Diego Viola changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[PATCH RESEND] drm/meson: vclk: use the correct G12A frac max value

2019-08-28 Thread Neil Armstrong
When calculating the HDMI PLL settings for a DMT mode PHY frequency, use the correct max fractional PLL value for G12A VPU. With this fix, we can finally setup the 1024x768-60 mode. Fixes: 202b9808f8ed ("drm/meson: Add G12A Video Clock setup") Signed-off-by: Neil Armstrong --- Fixed typo in

Re: [PATCH v3 6/8] drm/panfrost: Add cache/TLB flush before switching address space

2019-08-28 Thread Steven Price
On 26/08/2019 23:33, Rob Herring wrote: > It's not entirely clear if this is required, but add a flush of GPU caches > and TLBs before we change an address space to new page tables. > > Fixes: 7282f7645d06 ("drm/panfrost: Implement per FD address spaces") > Cc: Tomeu Vizoso > Cc: Steven Price >

Re: [PATCH v3 7/8] drm/panfrost: Flush and disable address space when freeing page tables

2019-08-28 Thread Steven Price
On 28/08/2019 13:35, Rob Herring wrote: > On Wed, Aug 28, 2019 at 5:55 AM Steven Price wrote: >> >> On 26/08/2019 23:33, Rob Herring wrote: >>> Currently, page tables are freed without disabling the address space first. >>> This probably is fine as we'll switch to new page tables when the address

Re: [PATCH v6 11/22] clk: sunxi-ng: a64: Add minimum rate for PLL_MIPI

2019-08-28 Thread Michael Nazzareno Trimarchi
Hi Maxime On Wed, Aug 28, 2019 at 3:03 PM Maxime Ripard wrote: > > Hi, > > On Thu, Aug 15, 2019 at 02:25:57PM +0200, Michael Nazzareno Trimarchi wrote: > > On Tue, Aug 13, 2019 at 8:05 AM Maxime Ripard > > wrote: > > > On Mon, Jul 29, 2019 at 08:59:04AM +0200, Michael Nazzareno Trimarchi > >

Re: [PATCH v6 11/22] clk: sunxi-ng: a64: Add minimum rate for PLL_MIPI

2019-08-28 Thread Maxime Ripard
Hi, On Thu, Aug 15, 2019 at 02:25:57PM +0200, Michael Nazzareno Trimarchi wrote: > On Tue, Aug 13, 2019 at 8:05 AM Maxime Ripard > wrote: > > On Mon, Jul 29, 2019 at 08:59:04AM +0200, Michael Nazzareno Trimarchi wrote: > > > Hi > > > > > > On Wed, Jul 24, 2019 at 11:05 AM Maxime Ripard > > >

Re: [PATCH v7 9/9] drm: exynos: exynos_hdmi: use cec_notifier_conn_(un)register

2019-08-28 Thread Dariusz Marcinkiewicz
Hi. On Wed, Aug 28, 2019 at 10:39 AM Sylwester Nawrocki wrote: > > nit: I think err_rpm_disable or err_pm_runtime_disable could be better > label names. > Submitted v7.1 which replaces err_runtime_disable with err_rpm_disable. Thank you.

Re: [PATCH v3 7/8] drm/panfrost: Flush and disable address space when freeing page tables

2019-08-28 Thread Rob Herring
On Wed, Aug 28, 2019 at 5:55 AM Steven Price wrote: > > On 26/08/2019 23:33, Rob Herring wrote: > > Currently, page tables are freed without disabling the address space first. > > This probably is fine as we'll switch to new page tables when the address > > space is allocated again and runtime PM

[PATCH v7.1 9/9] drm: exynos: exynos_hdmi: use cec_notifier_conn_(un)register

2019-08-28 Thread Dariusz Marcinkiewicz
Use the new cec_notifier_conn_(un)register() functions to (un)register the notifier for the HDMI connector, and fill in the cec_connector_info. Changes since v7: - err_runtime_disable -> err_rpm_disable Changes since v2: - removed unnecessary call to invalidate phys address before

RE: [PATCH v11 1/6] drm/i915: mei_hdcp: I915 sends ddi index as per ME FW

2019-08-28 Thread Winkler, Tomas
> I915 converts it's port value into ddi index defiend by ME FW and pass it as a > member of hdcp_port_data structure. > > Hence expose the enum mei_fw_ddi to I915 through i915_mei_interface.h. > > v2: > Copyright years are bumped [Tomas] > > Signed-off-by: Ramalingam C > Acked-by: Jani

RE: [PATCH v11 1/6] drm/i915: mei_hdcp: I915 sends ddi index as per ME FW

2019-08-28 Thread Winkler, Tomas
> I915 converts it's port value into ddi index defiend by ME FW and pass it as a > member of hdcp_port_data structure. > > Hence expose the enum mei_fw_ddi to I915 through i915_mei_interface.h. > > v2: > Copyright years are bumped [Tomas] > > Signed-off-by: Ramalingam C > Acked-by: Jani

Re: [PATCH v7 7/9] drm: tegra: use cec_notifier_conn_(un)register

2019-08-28 Thread Thierry Reding
On Wed, Aug 28, 2019 at 12:06:34PM +0200, Hans Verkuil wrote: > On 8/28/19 11:38 AM, Thierry Reding wrote: > > On Wed, Aug 28, 2019 at 10:09:30AM +0200, Hans Verkuil wrote: > >> Thierry, > >> > >> Can you review this patch? > >> > >> Thanks! > >> > >>Hans > > > > Did you want me to pick this

Re: [PATCH v6 0/6] Allwinner H6 Mali GPU support

2019-08-28 Thread Neil Armstrong
On 28/08/2019 13:49, Robin Murphy wrote: > Hi Neil, > > On 28/08/2019 12:28, Neil Armstrong wrote: >> Hi Robin, >> [...] >>> >>> OK - with the 32-bit hack pointed to up-thread, a quick kmscube test gave >>> me the impression that T720 works fine, but on closer inspection some parts >>> of

Re: [PATCH v6 0/6] Allwinner H6 Mali GPU support

2019-08-28 Thread Robin Murphy
Hi Neil, On 28/08/2019 12:28, Neil Armstrong wrote: Hi Robin, On 31/05/2019 15:47, Robin Murphy wrote: On 31/05/2019 13:04, Tomeu Vizoso wrote: On Wed, 29 May 2019 at 19:38, Robin Murphy wrote: On 29/05/2019 16:09, Tomeu Vizoso wrote: On Tue, 21 May 2019 at 18:11, Clément Péron wrote:

Re: [PATCH 3/5] kernel.h: Add non_block_start/end()

2019-08-28 Thread Michal Hocko
On Mon 26-08-19 22:14:23, Daniel Vetter wrote: > In some special cases we must not block, but there's not a > spinlock, preempt-off, irqs-off or similar critical section already > that arms the might_sleep() debug checks. Add a non_block_start/end() > pair to annotate these. > > This will be used

Re: [PATCH v6 0/6] Allwinner H6 Mali GPU support

2019-08-28 Thread Neil Armstrong
Hi Robyn, On 31/05/2019 15:47, Robin Murphy wrote: > On 31/05/2019 13:04, Tomeu Vizoso wrote: >> On Wed, 29 May 2019 at 19:38, Robin Murphy wrote: >>> >>> On 29/05/2019 16:09, Tomeu Vizoso wrote: On Tue, 21 May 2019 at 18:11, Clément Péron wrote: > [snip] > [  345.204813]

[PATCH] drm/komeda: Add ACLK rate to sysfs

2019-08-28 Thread Mihail Atanassov
Expose node with the name 'aclk_hz' Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/arm/display/komeda/komeda_dev.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_dev.c b/drivers/gpu/drm/arm/display/komeda/komeda_dev.c index

Re: [PATCH v3 8/8] drm/panfrost: Remove unnecessary hwaccess_lock spin_lock

2019-08-28 Thread Steven Price
On 26/08/2019 23:33, Rob Herring wrote: > With the introduction of the as_lock to serialize address space registers, > the hwaccess_lock is only used within the job code and is not protecting > anything. panfrost_job_hw_submit() only accesses registers for 1 job slot > and it's already serialized

Re: [PATCH v3 7/8] drm/panfrost: Flush and disable address space when freeing page tables

2019-08-28 Thread Steven Price
On 26/08/2019 23:33, Rob Herring wrote: > Currently, page tables are freed without disabling the address space first. > This probably is fine as we'll switch to new page tables when the address > space is allocated again and runtime PM suspend will reset the GPU > clearing the registers. However,

Re: [PATCH v3 5/8] drm/panfrost: Split mmu_hw_do_operation into locked and unlocked version

2019-08-28 Thread Steven Price
On 26/08/2019 23:33, Rob Herring wrote: > In preparation to call mmu_hw_do_operation with the as_lock already held, > Add a mmu_hw_do_operation_locked function. > > Fixes: 7282f7645d06 ("drm/panfrost: Implement per FD address spaces") > Cc: Tomeu Vizoso > Cc: Steven Price > Cc: Alyssa

Re: [PATCH v3 4/8] drm/panfrost: Rework page table flushing and runtime PM interaction

2019-08-28 Thread Steven Price
On 26/08/2019 23:33, Rob Herring wrote: > There is no point in resuming the h/w just to do flush operations and > doing so takes several locks which cause lockdep issues with the shrinker. > Rework the flush operations to only happen when the h/w is already awake. > This avoids taking any locks

Re: [LKP] [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-08-28 Thread Thomas Zimmermann
Hi Am 28.08.19 um 11:37 schrieb Rong Chen: > Hi Thomas, > > On 8/28/19 1:16 AM, Thomas Zimmermann wrote: >> Hi >> >> Am 27.08.19 um 14:33 schrieb Chen, Rong A: >>> Both patches have little impact on the performance from our side. >> Thanks for testing. Too bad they doesn't solve the issue. >> >>

Re: [PATCH v3 3/8] drm/panfrost: Remove unnecessary mmu->lock mutex

2019-08-28 Thread Steven Price
On 26/08/2019 23:33, Rob Herring wrote: > There's no need to serialize io-pgtable calls and the as_lock is > sufficient to serialize flush operations, so we can remove the per > page table lock. > > Fixes: 7282f7645d06 ("drm/panfrost: Implement per FD address spaces") > Suggested-by: Robin Murphy

Re: [PATCH v3 2/8] drm/panfrost: Hold runtime PM reference until jobs complete

2019-08-28 Thread Steven Price
On 26/08/2019 23:33, Rob Herring wrote: > Doing a pm_runtime_put as soon as a job is submitted is wrong as it should > not happen until the job completes. It works currently because we are > relying on the autosuspend timeout to keep the h/w enabled. > > Fixes: f3ba91228e8e ("drm/panfrost: Add

Re: [PATCH v3 1/8] drm/panfrost: Rework runtime PM initialization

2019-08-28 Thread Steven Price
On 26/08/2019 23:33, Rob Herring wrote: > There's a few issues with the runtime PM initialization. > > The documentation states pm_runtime_set_active() should be called before > pm_runtime_enable(). The pm_runtime_put_autosuspend() could suspend the GPU > before panfrost_perfcnt_init() is called

  1   2   >