Re: Msg "PM: pci_pm_suspend(): ast_pm_suspend+0x0/0x40 [ast] returns -22" after migrating to V5.6.7 kernel from v5.5.10.

2020-04-27 Thread David Airlie
Adding dri-devel. This might need a bisect to work out where it went wrong, Dave. On Tue, Apr 28, 2020 at 7:48 AM Cary Garrett wrote: > > Hello, > > System won't go into suspend state after migrating to V5.6.7 kernel. Working > in V5.5.10. > > Journal showing following: > > Apr 27 16:07:54

Re: [PATCH 1/2] dt-bindings: msm: disp: Add Display Port HPD GPIO bindings

2020-04-27 Thread tanmay
Thanks Rob for reviews. We are using Display Port Controller block to detect hot plug. So we won't be using that pin as GPIO. I found now that we don't need any bindings for that pin in such case. So I am abandoning this patch series and upload new patch. Thanks. On 2020-04-15 08:24, Rob

[PATCH 1/1] drm/dp_mst: Kill the second sideband tx slot, save the world

2020-04-27 Thread Lyude Paul
While we support using both tx slots for sideband transmissions, it appears that DisplayPort devices in the field didn't end up doing a very good job of supporting it. From section 5.2.1 of the DP 2.0 specification: There are MST Sink/Branch devices in the field that do not handle interleaved

Re: [PATCH v3 1/4] dt-bindings: display: Add IPK DSI subsystem bindings

2020-04-27 Thread Rob Herring
On Mon, 27 Apr 2020 16:00:33 +0200, Angelo Ribeiro wrote: > Add dt-bindings for Synopsys DesignWare MIPI DSI Host and VPG (Video > Pattern Generator) support in the IPK display subsystem. > > The Synopsys DesignWare IPK display video pipeline is composed by a DSI > controller (snps,dw-ipk-dsi)

[PATCH 0/1] Backport "drm/dp_mst: Kill the second sideband tx slot, save the world" for drm-fixes

2020-04-27 Thread Lyude Paul
Because this patch will likely end up fixing a lot of MST issues we either don't know about, or weren't able to figure out a fix for before, I definitely want to make sure this patch gets cc'd to stable as well. It doesn't apply cleanly to drm-misc-fixes, so here's a backported version that does.

Re: [PATCH 2/3] drm/db9000: Add bindings documentation for LCD controller

2020-04-27 Thread Rob Herring
On Mon, 27 Apr 2020 09:21:48 +0100, Gareth Williams wrote: > Add the DT bindings information for the Digital Blocks DB9000 LCD > controller. Also include documentation for the Renesas RZN1 specific > compatible string. > > Signed-off-by: Gareth Williams > --- >

Re: [PATCH v2 27/91] dt-bindings: display: Convert VC4 bindings to schemas

2020-04-27 Thread Rob Herring
On Fri, 24 Apr 2020 17:34:08 +0200, Maxime Ripard wrote: > The BCM283x SoCs have a display pipeline composed of several controllers > with device tree bindings that are supported by Linux. > > Now that we have the DT validation in place, let's split into separate > files and convert the device

[PATCH V2] get_maintainer: Add email addresses from .yaml files

2020-04-27 Thread Joe Perches
.yaml files can contain maintainer/author addresses and it seems unlikely or unnecessary that individual MAINTAINER file section entries for each .yaml file will be created. So add the email addresses found in .yaml files to the default get_maintainer output. The email addresses are marked with

Re: [PATCH] drm: enable render nodes wherever buffer sharing is supported

2020-04-27 Thread Eric Anholt
On Mon, Apr 27, 2020 at 1:05 PM Peter Collingbourne wrote: > > Render nodes are not just useful for devices supporting GPU hardware > acceleration. Even on devices that only support dumb frame buffers, > they are useful in situations where composition (using software > rasterization) and KMS are

Re: [PATCH] get_maintainer: Add email addresses from .yaml files

2020-04-27 Thread Sam Ravnborg
Hi Andrew. > The patch assumes that we have > > - if ($file_emails) { > - my @poss_addr = $text =~ m$[A-Za-z_-_\"\' > \,\.\+-]*\s*[\,]*\s*[\(\<\{]{0,1}[A-Za-z0-9_\.\+-]+\@[A-Za-z0-9\.-]+\.[A-Za-z0-9]+[\)\>\}]{0,1}$g; > - push(@file_emails,

Re: [PATCH] get_maintainer: Add email addresses from .yaml files

2020-04-27 Thread Joe Perches
On Mon, 2020-04-27 at 13:04 -0700, Andrew Morton wrote: > On Sun, 26 Apr 2020 23:33:02 -0700 Joe Perches wrote: > > > On Mon, 2020-04-27 at 07:57 +0200, Sam Ravnborg wrote: > > > Hi Joe. > > > > Hi Sam. > > > > > On Sun, Apr 26, 2020 at 10:40:52PM -0700, Joe Perches wrote: > > > > .yaml files

Re: [PATCH] get_maintainer: Add email addresses from .yaml files

2020-04-27 Thread Andrew Morton
On Sun, 26 Apr 2020 23:33:02 -0700 Joe Perches wrote: > On Mon, 2020-04-27 at 07:57 +0200, Sam Ravnborg wrote: > > Hi Joe. > > Hi Sam. > > > On Sun, Apr 26, 2020 at 10:40:52PM -0700, Joe Perches wrote: > > > .yaml files can contain maintainer/author addresses and it seems > > > unlikely or

Re: [PATCH v8 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver

2020-04-27 Thread Sam Ravnborg
Hi Xin Ji On Mon, Apr 27, 2020 at 02:18:44PM +0800, Xin Ji wrote: > The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed > for portable device. It converts MIPI DSI/DPI to DisplayPort 1.3 4K. > > The ANX7625 can support both USB Type-C PD feature and MIPI DSI/DPI > to DP feature.

[Bug 207383] [Regression] 5.7-rc: amdgpu/polaris11 gpf: amdgpu_atomic_commit_tail

2020-04-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207383 --- Comment #6 from Alex Deucher (alexdeuc...@gmail.com) --- Can you bisect? -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel mailing list

[Bug 207383] [Regression] 5.7-rc: amdgpu/polaris11 gpf: amdgpu_atomic_commit_tail

2020-04-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207383 --- Comment #5 from Duncan (1i5t5.dun...@cox.net) --- Well, that didn't take long. Four konsole terminals open to do (various aspects of) a system update. Just a few seconds after I entered the (git-based) sync command, display-FREEZE! Back on

Re: [PATCH] drm/amd/display: remove conversion to bool in dc_link_ddc.c

2020-04-27 Thread Alex Deucher
Applied. Thanks! Alex On Mon, Apr 27, 2020 at 4:03 AM Christian König wrote: > > Am 27.04.20 um 08:37 schrieb Jason Yan: > > The '>' expression itself is bool, no need to convert it to bool again. > > This fixes the following coccicheck warning: > > > >

Re: [PATCH] drm/amd/display: remove conversion to bool in dcn20_mpc.c

2020-04-27 Thread Alex Deucher
Applied. Thanks! Alex On Mon, Apr 27, 2020 at 4:03 AM Christian König wrote: > > Am 27.04.20 um 08:37 schrieb Jason Yan: > > The '==' expression itself is bool, no need to convert it to bool again. > > This fixes the following coccicheck warning: > > > >

Re: [PATCH] drm/amdgpu: remove conversion to bool in amdgpu_device.c

2020-04-27 Thread Alex Deucher
Applied. thanks! Alex On Mon, Apr 27, 2020 at 4:02 AM Christian König wrote: > > Am 27.04.20 um 08:36 schrieb Jason Yan: > > The '>' expression itself is bool, no need to convert it to bool again. > > This fixes the following coccicheck warning: > > > >

[Bug 207383] [Regression] 5.7-rc: amdgpu/polaris11 gpf: amdgpu_atomic_commit_tail

2020-04-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207383 Duncan (1i5t5.dun...@cox.net) changed: What|Removed |Added Kernel Version|5.7-rc1, 5.7-rc2|5.7-rc1, 5.7-rc2, 5.7-rc3

[Bug 206987] [drm] [amdgpu] Whole system crashes when the driver is in mode_support_and_system_configuration

2020-04-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206987 Cyrax (ev...@hotmail.com) changed: What|Removed |Added Kernel Version|5.6.7 |5.7.0-rc3 -- You are

[Bug 206987] [drm] [amdgpu] Whole system crashes when the driver is in mode_support_and_system_configuration

2020-04-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206987 --- Comment #11 from Cyrax (ev...@hotmail.com) --- Created attachment 288781 --> https://bugzilla.kernel.org/attachment.cgi?id=288781=edit dmesg output from Linux 5.7-rc3 This is starting to be real problem, I can't do anything remotely

Re: [PATCH] drm/rockchip: Remove unneeded semicolon

2020-04-27 Thread Heiko Stuebner
On Fri, 24 Apr 2020 15:44:10 +0800, Zheng Bin wrote: > Fixes coccicheck warning: > > drivers/gpu/drm/rockchip/cdn-dp-reg.c:604:2-3: Unneeded semicolon > drivers/gpu/drm/rockchip/cdn-dp-reg.c:622:2-3: Unneeded semicolon > drivers/gpu/drm/rockchip/cdn-dp-reg.c:703:2-3: Unneeded semicolon > >

Re: [PATCH] drm/rockchip: cdn-dp-core: Make cdn_dp_core_suspend/resume static

2020-04-27 Thread Heiko Stuebner
On Sun, 26 Apr 2020 18:16:53 +0200, Enric Balletbo i Serra wrote: > This fixes the following warning detected when running make with W=1 > > drivers/gpu/drm/rockchip//cdn-dp-core.c:1112:5: warning: no previous > prototype for ‘cdn_dp_suspend’ [-Wmissing-prototypes] > >

Re: [PATCH v8 0/2] Add initial support for slimport anx7625

2020-04-27 Thread Sam Ravnborg
Hi Xin Ji On Mon, Apr 27, 2020 at 02:16:49PM +0800, Xin Ji wrote: > Hi all, > > The following series add support for the Slimport ANX7625 transmitter, a > ultra-low power Full-HD 4K MIPI to DP transmitter designed for portable > device. > > This is the v8 version, any mistakes, please let me

Re: [PATCH v8 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding

2020-04-27 Thread Sam Ravnborg
Hi Xin Ji On Mon, Apr 27, 2020 at 02:17:46PM +0800, Xin Ji wrote: > The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed > for portable device. It converts MIPI to DisplayPort 1.3 4K. Thanks for providing this binding. When you re-submit please also send to

Re: [PATCH v8 05/10] drm: imx: Add i.MX 6 MIPI DSI host platform driver

2020-04-27 Thread Adrian Ratiu
Hi Enric, Thank you very much for your review, comments below. I'll leave this a bit more on review before resending with your suggested fixes. On Mon, 27 Apr 2020, Enric Balletbo i Serra wrote: Hi Adrian Thank you for your patch. On 27/4/20 10:19, Adrian Ratiu wrote: This adds

Re: [RESEND PATCH v3 1/1] lib/vsprintf: Add support for printing V4L2 and DRM fourccs

2020-04-27 Thread Joe Perches
On Mon, 2020-04-27 at 09:02 -0700, Joe Perches wrote: > On Mon, 2020-04-27 at 17:53 +0300, Sakari Ailus wrote: > > Add a printk modifier %p4cc (for pixel format) for printing V4L2 and DRM > > pixel formats denoted by fourccs. The fourcc encoding is the same for both > > so the same implementation

[Bug 205089] amdgpu : drm:amdgpu_cs_ioctl : Failed to initialize parser -125

2020-04-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205089 --- Comment #10 from Bruno Jacquet (maxi...@free.fr) --- With a more recent stack it seems I am no longer experiencing this. Kernel 5.4.35 and mesa 20.0.5 seems stable for me. Andreas, did you try upgrading your SW components and see if you

Re: [PATCH] drm: pl111: enable render node

2020-04-27 Thread Eric Anholt
On Mon, Apr 27, 2020 at 7:45 AM Emil Velikov wrote: > > On Fri, 24 Apr 2020 at 19:54, Peter Collingbourne wrote: > > > > On Fri, Apr 24, 2020 at 4:11 AM Emil Velikov > > wrote: > > > > > > On Thu, 23 Apr 2020 at 23:51, Peter Collingbourne wrote: > > > > > > > > The render node is required by

Re: [RESEND PATCH v3 1/1] lib/vsprintf: Add support for printing V4L2 and DRM fourccs

2020-04-27 Thread Joe Perches
On Mon, 2020-04-27 at 17:53 +0300, Sakari Ailus wrote: > Add a printk modifier %p4cc (for pixel format) for printing V4L2 and DRM > pixel formats denoted by fourccs. The fourcc encoding is the same for both > so the same implementation can be used. [] > - Added WARN_ON_ONCE() sanity checks.

Re: [PATCH v7 08/12] arm: dts: s5pv210: Add node for SGX 540

2020-04-27 Thread Krzysztof Kozlowski
On Sun, Apr 26, 2020 at 07:57:12AM -0700, Jonathan Bakker wrote: > Hi Paul, > > On 2020-04-26 5:56 a.m., Paul Cercueil wrote: > > > > > > Le ven. 24 avril 2020 à 22:34, H. Nikolaus Schaller a > > écrit : > >> From: Jonathan Bakker > >> > >> All s5pv210 devices have a PowerVR SGX 540

Re: [PATCH] misc: sram: Add dma-heap-export reserved SRAM area type

2020-04-27 Thread Rob Herring
On Fri, Apr 24, 2020 at 5:27 PM Andrew F. Davis wrote: > > This new export type exposes to userspace the SRAM area as a DMA-Heap, > this allows for allocations as DMA-BUFs that can be consumed by various > DMA-BUF supporting devices. > > Signed-off-by: Andrew F. Davis > --- >

Re: [PATCH v2 6/7] debugfs: switch to simplefs inode creation API

2020-04-27 Thread Paolo Bonzini
On 21/04/20 15:57, Emanuele Giuseppe Esposito wrote: > - inode = debugfs_get_inode(dentry->d_sb); You're not removing debugfs_get_inode so I think you're going to get a warning (same in tracefs)? You can wait a few more days for reviews and/or Acked-bys (especially for patches 6 and 7) and

Re: [PATCH 1/1] lib/vsprintf: Add support for printing V4L2 and DRM fourccs

2020-04-27 Thread Sakari Ailus
On Mon, Apr 27, 2020 at 05:50:07PM +0300, Sakari Ailus wrote: > Add a printk modifier %p4cc (for pixel format) for printing V4L2 and DRM > pixel formats denoted by fourccs. The fourcc encoding is the same for both > so the same implementation can be used. > > Suggested-by: Mauro Carvalho Chehab

[RESEND PATCH v3 1/1] lib/vsprintf: Add support for printing V4L2 and DRM fourccs

2020-04-27 Thread Sakari Ailus
Add a printk modifier %p4cc (for pixel format) for printing V4L2 and DRM pixel formats denoted by fourccs. The fourcc encoding is the same for both so the same implementation can be used. Suggested-by: Mauro Carvalho Chehab Signed-off-by: Sakari Ailus --- since v2: - Add comments to explain

[Bug 207463] [amdgpu] System freeze / corrupted graphics

2020-04-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207463 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC|

[PATCH 1/1] lib/vsprintf: Add support for printing V4L2 and DRM fourccs

2020-04-27 Thread Sakari Ailus
Add a printk modifier %p4cc (for pixel format) for printing V4L2 and DRM pixel formats denoted by fourccs. The fourcc encoding is the same for both so the same implementation can be used. Suggested-by: Mauro Carvalho Chehab Signed-off-by: Sakari Ailus ---

Re: [PATCH v3 4/4] MAINTAINERS: Add IPK MIPI DSI Host driver entry

2020-04-27 Thread Joe Perches
On Mon, 2020-04-27 at 16:00 +0200, Angelo Ribeiro wrote: > Creates entry for Synopsys DesignWare IPK DRM driver and > adds myself as maintainer. [] > diff --git a/MAINTAINERS b/MAINTAINERS [] > @@ -5507,6 +5507,14 @@ T: git git://anongit.freedesktop.org/drm/drm-misc > F:

Re: [PATCH] drm: pl111: enable render node

2020-04-27 Thread Emil Velikov
On Fri, 24 Apr 2020 at 19:54, Peter Collingbourne wrote: > > On Fri, Apr 24, 2020 at 4:11 AM Emil Velikov wrote: > > > > On Thu, 23 Apr 2020 at 23:51, Peter Collingbourne wrote: > > > > > > The render node is required by Android which does not support the legacy > > > drmAuth authentication

[Bug 107381] radeon VCE init error (-110) -- AMD/Intel Mars Hybrid Graphics

2020-04-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=107381 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC|

Re: KASAN: use-after-free Read in vkms_dumb_create

2020-04-27 Thread Ezequiel Garcia
On Mon, 27 Apr 2020 at 00:48, syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:c578ddb3 Merge tag 'linux-kselftest-5.7-rc3' of git://git... > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=10fbf0d810 > kernel config:

[Bug 207463] [amdgpu] System freeze / corrupted graphics

2020-04-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207463 --- Comment #1 from Rokas Kupstys (rokups+kernel-b...@zoho.com) --- Tested 5.4.35-1-lts kernel as well, corruption does happen, but looks bit different visually. Also i can access another VT without issues, rendering is ok there. Restarting X11

Re: [PATCH] drm/dp_mst: Fix drm_dp_send_dpcd_write() return code

2020-04-27 Thread Sean Paul
On Fri, Apr 24, 2020 at 3:07 PM Lyude Paul wrote: > > drm_dp_mst_wait_tx_reply() returns > 1 if time elapsed in > wait_event_timeout() before check_txmsg_state(mgr, txmsg) evaluated to > true. However, we make the mistake of returning this time from > drm_dp_send_dpcd_write() on success instead

Re: [PATCH] drm/dp_mst: Kill the second sideband tx slot, save the world

2020-04-27 Thread Sean Paul
On Fri, Apr 24, 2020 at 2:13 PM Lyude Paul wrote: > > While we support using both tx slots for sideband transmissions, it > appears that DisplayPort devices in the field didn't end up doing a very > good job of supporting it. From section 5.2.1 of the DP 2.0 > specification: > > There are MST

Re: [PATCH v13 01/11] drm/i915: Use 64-bit division macro

2020-04-27 Thread Jani Nikula
On Fri, 24 Apr 2020, Guru Das Srinagesh wrote: > On Fri, Apr 24, 2020 at 09:17:58AM +0300, Jani Nikula wrote: >> On Tue, 21 Apr 2020, Guru Das Srinagesh wrote: >> > Since the PWM framework is switching struct pwm_state.duty_cycle's >> > datatype to u64, prepare for this transition by using

[Bug 207463] New: [amdgpu] System freeze / corrupted graphics

2020-04-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207463 Bug ID: 207463 Summary: [amdgpu] System freeze / corrupted graphics Product: Drivers Version: 2.5 Kernel Version: 5.6.7-arch1-1 Hardware: x86-64 OS: Linux

Re: [PATCH net-next] net: lpc-enet: fix error return code in lpc_mii_init()

2020-04-27 Thread Vladimir Zapolskiy
On 4/27/20 3:15 PM, Wei Yongjun wrote: > Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. > > Fixes: b7370112f519 ("lpc32xx: Added ethernet driver") > Signed-off-by: Wei Yongjun Acked-by: Vladimir Zapolskiy -- Best wishes,

Re: [PATCH] backlight: lp855x: Ensure regulators are disabled on probe failure

2020-04-27 Thread Jon Hunter
Hi Lee, On 16/03/2020 09:05, Daniel Thompson wrote: > On Fri, Mar 13, 2020 at 02:16:16PM +, Jon Hunter wrote: >> Hi Lee, Daniel, >> >> On 24/02/2020 14:37, Daniel Thompson wrote: >>> On Mon, Feb 24, 2020 at 02:07:48PM +, Jon Hunter wrote: If probing the LP885x backlight fails after

Re: KASAN: use-after-free Read in vkms_dumb_create

2020-04-27 Thread Ezequiel Garcia
On Mon, 27 Apr 2020 at 00:48, syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:c578ddb3 Merge tag 'linux-kselftest-5.7-rc3' of git://git... > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=10fbf0d810 > kernel config:

[PATCH v3] dt-bindings: display: anx7814.txt: convert to yaml

2020-04-27 Thread Ricardo Cañuelo
This converts the Analogix ANX7814 bridge DT binding to yaml. Port definitions and descriptions were expanded, apart from that it's a direct translation from the original binding. Signed-off-by: Ricardo Cañuelo Acked-by: Sam Ravnborg --- Changes in v3 (suggested by Sam Ravnborg): - Rename

Re: [PATCH v2] dt-bindings: display: anx7814.txt: convert to yaml

2020-04-27 Thread Ricardo Cañuelo
On lun 27-04-2020 11:09:00, Sam Ravnborg wrote: > Hi Ricardo. > > On Mon, Apr 27, 2020 at 10:46:58AM +0200, Ricardo Cañuelo wrote: > > This converts the Analogix ANX7814 bridge DT binding to yaml. Port > > definitions and descriptions were expanded, apart from that it's a > > direct translation

Re: [PATCH v1] staging: fbtft: fb_st7789v: Initialize the Display

2020-04-27 Thread Dan Carpenter
On Mon, Apr 27, 2020 at 10:36:42AM +0200, Oliver Graute wrote: > On 09/04/20, Dan Carpenter wrote: > > On Thu, Apr 09, 2020 at 11:25:32AM +0200, Oliver Graute wrote: > > > From: Oliver Graute > > > > > > Set Gamma Values and Register Values for the HSD20_IPS > > > > > > Signed-off-by: Oliver

Re: [PATCH 2/8] dt-bindings: intc: Convert ingenic,intc.txt to YAML

2020-04-27 Thread Sergei Shtylyov
Hello! On 26.04.2020 21:58, Paul Cercueil wrote: Convert the ingenic,intc.txt doc file to ingenic,intc.yaml. Some compatible strings now require a fallback, as the controller generally works the same across the SoCs families. Signed-off-by: Paul Cercueil [...] diff --git

Re: [PATCH v2] dt-bindings: display: anx7814.txt: convert to yaml

2020-04-27 Thread Sam Ravnborg
Hi Ricardo. On Mon, Apr 27, 2020 at 10:46:58AM +0200, Ricardo Cañuelo wrote: > This converts the Analogix ANX7814 bridge DT binding to yaml. Port > definitions and descriptions were expanded, apart from that it's a > direct translation from the original binding. > > Signed-off-by: Ricardo

[PATCH v2] dt-bindings: display: anx7814.txt: convert to yaml

2020-04-27 Thread Ricardo Cañuelo
This converts the Analogix ANX7814 bridge DT binding to yaml. Port definitions and descriptions were expanded, apart from that it's a direct translation from the original binding. Signed-off-by: Ricardo Cañuelo --- Changes in v2 (suggested by Enric Balletbo): - File name change: use full

Re: [PATCH 3/3] drm/panel: simple: Add Newhaven ATXL#-CTP panel

2020-04-27 Thread Sam Ravnborg
Hi Gareth. Looking forward to see the other patches - they seem to be stuck awaiting approval. A few comments in the following. Sam On Mon, Apr 27, 2020 at 09:21:49AM +0100, Gareth Williams wrote: > This commit adds support for the Newhaven ATXL#-CTP panel used by the > Renesas RZ/N1

[PATCH v2 03/21] drm/bridge: tc358764: drop drm_connector_(un)register

2020-04-27 Thread Sam Ravnborg
Drop drm_connector handling that is not needed: - drm_dev_register() in the display controller driver takes care of registering connectors. So the call to drm_connector_register() call is not needed in the bridge driver. - Use of drm_connector_unregister() is only required for drivers that

[PATCH v2 18/21] drm/bridge: nxp-ptn3460: add drm_panel_bridge support

2020-04-27 Thread Sam Ravnborg
Prepare the bridge driver for use in a chained setup by replacing direct use of drm_panel with drm_panel_bridge support. Note: the bridge panel will use the connector type from the panel. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman

[PATCH v2 17/21] drm/bridge: megachips: make connector creation optional

2020-04-27 Thread Sam Ravnborg
Make the connector creation optional to enable usage of the megachips-stdp-ge-b850v3-fw bridge with the DRM bridge connector helper. Signed-off-by: Sam Ravnborg Cc: Peter Senna Tschudin Cc: Martin Donnelly Cc: Martyn Welch Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc:

[PATCH v2 21/21] drm/bridge: ti-sn65dsi86: add drm_panel_bridge support

2020-04-27 Thread Sam Ravnborg
Prepare the bridge driver for use in a chained setup by replacing direct use of drm_panel with drm_panel_bridge support. Note: the bridge panel will use the connector type from the panel. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman

[PATCH v8 09/10] drm: bridge: dw-mipi-dsi: split low power cfg register into fields

2020-04-27 Thread Adrian Ratiu
According to the Host Registers documentation for IMX, STM and RK the LP cfg register should not be written entirely in one go because some bits are reserved and should be kept to reset values, for eg. BIT(15) which is reserved in all versions. This also cleans up the code by removing the the

[PATCH v2 08/21] drm/bridge: tc358767: add get_edid bride operation

2020-04-27 Thread Sam Ravnborg
Prepare for chained bridge with the addition of get_edid support. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec --- drivers/gpu/drm/bridge/tc358767.c | 24 +--- 1 file changed, 17

[PATCH v2 15/21] drm/bridge: megachips: enable detect bridge operation

2020-04-27 Thread Sam Ravnborg
To prepare for use in a chained bridge setup enable the detect operation. Signed-off-by: Sam Ravnborg Cc: Peter Senna Tschudin Cc: Martin Donnelly Cc: Martyn Welch Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec ---

[PATCH v2 20/21] drm/bridge: nxp-ptn3460: make connector creation optional

2020-04-27 Thread Sam Ravnborg
Make the connector creation optional to enable usage of the nxp-ptn3460 bridge with the DRM bridge connector helper. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec --- drivers/gpu/drm/bridge/nxp-ptn3460.c | 6

[PATCH v2 07/21] drm/bridge: tc358767: add detect bridge operation

2020-04-27 Thread Sam Ravnborg
Prepare the bridge driver for chained operation by adding support for the detect operation. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec --- drivers/gpu/drm/bridge/tc358767.c | 16 +--- 1 file

[PATCH v2 09/21] drm/bridge: tc358767: make connector creation optional

2020-04-27 Thread Sam Ravnborg
Display drivers are in the new model expected to create the connector using drm_bridge_connector_init(). Allow users of this bridge driver to support the new model by introducing support for optional connector creation. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc:

[PATCH v2 16/21] drm/bridge: megachips: add get_edid bridge operation

2020-04-27 Thread Sam Ravnborg
To prepare for a chained bridge setup add support for the get_edid bridge operation. Signed-off-by: Sam Ravnborg Cc: Peter Senna Tschudin Cc: Martin Donnelly Cc: Martyn Welch Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec ---

[PATCH v2 14/21] drm/bridge: megachips: get drm_device from bridge

2020-04-27 Thread Sam Ravnborg
Fix so drm_device is read from the bridge. This is a preparation for the connector being optional. Signed-off-by: Sam Ravnborg Cc: Peter Senna Tschudin Cc: Martin Donnelly Cc: Martyn Welch Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec ---

[PATCH v2 10/21] drm/bridge: ti-tpd12s015: make connector creation optional

2020-04-27 Thread Sam Ravnborg
The ti-tpd12s015 do not create any connector, so ignore the flags argument, just pass it on to the next bridge in the chain. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec --- drivers/gpu/drm/bridge/ti-tpd12s015.c

[PATCH v2 13/21] drm/bridge: megachips: add helper to create connector

2020-04-27 Thread Sam Ravnborg
Factor out connector creation to a small helper function. Signed-off-by: Sam Ravnborg Cc: Peter Senna Tschudin Cc: Martin Donnelly Cc: Martyn Welch Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec ---

[PATCH v8 03/10] drm: bridge: dw_mipi_dsi: add dsi v1.01 support

2020-04-27 Thread Adrian Ratiu
The Synopsis MIPI DSI v1.01 host controller is quite widely used on platforms like i.mx6 and is not very different from the other versions like the 1.31/1.30 used on rockchip/stm. The protocols appear to be the same, only the register layout is different and the newer versions have new features

[PATCH v8 06/10] ARM: dts: imx6qdl: add missing mipi dsi properties

2020-04-27 Thread Adrian Ratiu
Now that we have a proper driver for the imx6 mipi dsi host controller we can fill in the missing properties to get it working. Cc: Laurent Pinchart Cc: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: Adrian Ratiu --- New in v8. --- arch/arm/boot/dts/imx6qdl.dtsi | 8 1

[PATCH v8 05/10] drm: imx: Add i.MX 6 MIPI DSI host platform driver

2020-04-27 Thread Adrian Ratiu
This adds support for the Synopsis DesignWare MIPI DSI v1.01 host controller which is embedded in i.MX 6 SoCs. Based on following patches, but updated/extended to work with existing support found in the kernel: - drm: imx: Support Synopsys DesignWare MIPI DSI host controller Signed-off-by: Liu

[PATCH v8 04/10] drm: bridge: dw_mipi_dsi: allow bridge daisy chaining

2020-04-27 Thread Adrian Ratiu
Up until now the assumption was that the synopsis dsi bridge will directly connect to an encoder provided by the platform driver, but the current practice for drivers is to leave the encoder empty via the simple encoder API and add their logic to their own drm_bridge. Thus we need an ablility to

[PATCH v2 12/21] drm/bridge: parade-ps8622: make connector creation optional

2020-04-27 Thread Sam Ravnborg
Make the connector creation optional to enable usage of the parade-ps8622 bridge with the DRM bridge connector helper. This change moves drm_helper_hpd_irq_event() call in the attach function up before the connector creation. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong

[PATCH v2 19/21] drm/bridge: nxp-ptn3460: add get_modes bridge operation

2020-04-27 Thread Sam Ravnborg
Add the get_modes() bridge operation to prepare for use as a chained bridge. Add helper function that is also used by the connector. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec ---

[PATCH v2 05/21] drm/bridge: tc358764: make connector creation optional

2020-04-27 Thread Sam Ravnborg
Make the connector creation optional to enable usage of the tc358764 bridge with the DRM bridge connector helper. Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec ---

[PATCH v8 07/10] dt-bindings: display: add i.MX6 MIPI DSI host controller doc

2020-04-27 Thread Adrian Ratiu
This provides an example DT binding for the MIPI DSI host controller present on the i.MX6 SoC based on Synopsis DesignWare v1.01 IP. Cc: Rob Herring Cc: Neil Armstrong Cc: Fabio Estevam Cc: Laurent Pinchart Cc: devicet...@vger.kernel.org Tested-by: Adrian Pop Tested-by: Arnaud Ferraris

[PATCH v2 11/21] drm/bridge: parade-ps8622: add drm_panel_bridge support

2020-04-27 Thread Sam Ravnborg
Prepare the bridge driver for use in a chained setup by replacing direct use of drm_panel with drm_panel_bridge support. Note: the bridge panel will use the connector type from the panel. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman

[PATCH v2 04/21] drm/bridge: tc358764: add drm_panel_bridge support

2020-04-27 Thread Sam Ravnborg
Prepare the bridge driver for use in a chained setup by replacing direct use of drm_panel with drm_panel_bridge support. The bridge panel will use the connector type reported by the panel, where the connector for this driver hardcode DRM_MODE_CONNECTOR_LVDS. Signed-off-by: Sam Ravnborg

[PATCH v8 10/10] drm: bridge: dw-mipi-dsi: fix bad register field offsets

2020-04-27 Thread Adrian Ratiu
According to the DSI Host Registers sections available in the IMX, STM and RK ref manuals for 1.01, 1.30 and 1.31, the register fields are smaller or bigger than what's coded in the driver, leading to r/w in reserved spaces which might cause undefined behaviours. Tested-by: Adrian Pop Tested-by:

[PATCH v2 06/21] drm/bridge: tc358767: add drm_panel_bridge support

2020-04-27 Thread Sam Ravnborg
Prepare the bridge driver for use in a chained setup by replacing direct use of drm_panel with drm_panel_bridge support. The bridge driver assume the panel is optional. The relevant tests are migrated over to check for the pnale bridge to keep the same functionality. Note: the bridge panel will

[PATCH v8 01/10] drm: bridge: dw_mipi_dsi: add initial regmap infrastructure

2020-04-27 Thread Adrian Ratiu
In order to support multiple versions of the Synopsis MIPI DSI host controller, which have different register layouts but almost identical HW protocols, we add a regmap infrastructure which can abstract away register accesses for platform drivers using the bridge. The controller HW revision is

[PATCH v8 00/10] Genericize DW MIPI DSI bridge and add i.MX 6 driver

2020-04-27 Thread Adrian Ratiu
Hello everyone, The dt-binding added in this series depends on [1] for "make dt_binding_check" to pass. The biggest change in v8 is a conversion of the imx6 host controller driver to drm_bridge and an extension to dw_mipi_dsi.c which allows platform drivers to daisy-chain bridges between the

[PATCH v2 02/21] drm/panel: panel-simple: add default connector_type

2020-04-27 Thread Sam Ravnborg
All panels shall report a connector type. panel-simple has a lot of panels with no connector_type, and for these fall back to DPI as the default. Signed-off-by: Sam Ravnborg Cc: Thierry Reding Cc: Sam Ravnborg --- drivers/gpu/drm/panel/panel-simple.c | 10 -- 1 file changed, 8

[PATCH v2 0/21] drm/bridge: support drm bridge connector helper + panel updates

2020-04-27 Thread Sam Ravnborg
Somehow Laurent tricked me into updating a bridge driver. In reality, having updated a driver yourself makes for much better understanding of what is going on. So in order to provide proper review feedback I deciced to give it a spin. Second iteration of this patchset covers several drivers, and

[PATCH v8 08/10] drm: stm: dw-mipi-dsi: let the bridge handle the HW version check

2020-04-27 Thread Adrian Ratiu
The stm mipi-dsi platform driver added a version test in commit fa6251a747b7 ("drm/stm: dsi: check hardware version") so that HW revisions other than v1.3x get rejected. The rockchip driver had no such check and just assumed register layouts are v1.3x compatible. Having such tests was a good idea

[PATCH v8 02/10] drm: bridge: dw_mipi_dsi: abstract register access using reg_fields

2020-04-27 Thread Adrian Ratiu
Register existence, address/offsets, field layouts, reserved bits and so on differ between MIPI-DSI versions and between SoC vendor boards. Despite these differences the hw IP and protocols are mostly the same so the generic bridge can be made to compensate these differences. The current Rockchip

[PATCH v2 01/21] drm/panel: add connector type to boe, hv070wsa-100 panel

2020-04-27 Thread Sam Ravnborg
The boe,hv070wsa-100 panel is a LVDS panel. Fix connector type to reflect this. With this change users of this panel do not have to specify the connector type. v2: - Add .bus_format (Laurent) - Add .bus_flags Signed-off-by: Sam Ravnborg Cc: Laurent Pinchart Cc: Thierry Reding Cc: Sam

Re: [PATCH] dt-bindings: display: anx7814.txt: convert to yaml

2020-04-27 Thread Ricardo Cañuelo
On vie 24-04-2020 16:08:10, Enric Balletbo i Serra wrote: > Hi Ricardo, > > Thank you for your patch. Hi Enric, Thanks for reviewing it. > > + "#size-cells": > > +const: 0 > > + > > I don't' think you need to specify this. You can drop it (better double check > with Rob, though)

Re: [PATCH] drm/amd/display: remove conversion to bool in dc_link_ddc.c

2020-04-27 Thread Christian König
Am 27.04.20 um 08:37 schrieb Jason Yan: The '>' expression itself is bool, no need to convert it to bool again. This fixes the following coccicheck warning: drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c:602:28-33: WARNING: conversion to bool not needed here Signed-off-by: Jason Yan

Re: [PATCH] drm/amd/display: remove conversion to bool in dcn20_mpc.c

2020-04-27 Thread Christian König
Am 27.04.20 um 08:37 schrieb Jason Yan: The '==' expression itself is bool, no need to convert it to bool again. This fixes the following coccicheck warning: drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c:455:70-75: WARNING: conversion to bool not needed here Signed-off-by: Jason Yan

Re: [PATCH] drm/amdgpu: remove conversion to bool in amdgpu_device.c

2020-04-27 Thread Christian König
Am 27.04.20 um 08:36 schrieb Jason Yan: The '>' expression itself is bool, no need to convert it to bool again. This fixes the following coccicheck warning: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:3004:68-73: WARNING: conversion to bool not needed here Signed-off-by: Jason Yan

[PATCH] gpu: host1x: Clean up debugfs in error handling path in 'host1x_probe()'

2020-04-27 Thread Christophe JAILLET
'host1x_debug_init()' must be reverted in an error handling path. This is already fixed in the remove function since commit 44156eee91ba ("gpu: host1x: Clean up debugfs on removal") Signed-off-by: Christophe JAILLET --- drivers/gpu/host1x/dev.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH] drm/amd/display: remove conversion to bool in dc_link_ddc.c

2020-04-27 Thread Jason Yan
The '>' expression itself is bool, no need to convert it to bool again. This fixes the following coccicheck warning: drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c:602:28-33: WARNING: conversion to bool not needed here Signed-off-by: Jason Yan ---

[PATCH 2/8] dt-bindings: intc: Convert ingenic,intc.txt to YAML

2020-04-27 Thread Paul Cercueil
Convert the ingenic,intc.txt doc file to ingenic,intc.yaml. Some compatible strings now require a fallback, as the controller generally works the same across the SoCs families. Signed-off-by: Paul Cercueil --- .../interrupt-controller/ingenic,intc.txt | 28 -

[PATCH 5/8] dt-bindings: mtd: Convert ingenic, jz4780-nand.txt to YAML

2020-04-27 Thread Paul Cercueil
Convert the ingenic,jz4780-nand.txt doc file to ingenic,nand.yaml. Signed-off-by: Paul Cercueil --- .../bindings/mtd/ingenic,jz4780-nand.txt | 92 .../devicetree/bindings/mtd/ingenic,nand.yaml | 133 ++ 2 files changed, 133 insertions(+), 92 deletions(-)

Re: [PATCH v7 06/12] ARM: DTS: omap4: add sgx gpu child node

2020-04-27 Thread Paul Cercueil
Hi Nikolaus, Le ven. 24 avril 2020 à 22:34, H. Nikolaus Schaller a écrit : Add SGX GPU node with interrupt. Tested on PandaBoard ES. Since omap4420/30/60 and omap4470 come with different SGX variants we need to introduce a new omap4470.dtsi. If an omap4470 board does not want to use SGX it

[PATCH] drm/amdgpu: remove conversion to bool in amdgpu_device.c

2020-04-27 Thread Jason Yan
The '>' expression itself is bool, no need to convert it to bool again. This fixes the following coccicheck warning: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:3004:68-73: WARNING: conversion to bool not needed here Signed-off-by: Jason Yan --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-

KASAN: use-after-free Read in vkms_dumb_create

2020-04-27 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:c578ddb3 Merge tag 'linux-kselftest-5.7-rc3' of git://git... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10fbf0d810 kernel config: https://syzkaller.appspot.com/x/.config?x=b7a70e992f2f9b68

  1   2   >