Re: [PATCH 19/51] drm: Cleanups after drmm_add_final_kfree rollout

2020-04-01 Thread Daniel Vetter
On Thu, Apr 2, 2020 at 2:50 AM Laurent Pinchart wrote: > > Hi Daniel, > > (On a side note, git-format-patch accepts a -v argument to specify the > version, I didn't realize you were not aware of it :-)) > > On Mon, Mar 23, 2020 at 03:49:18PM +0100, Daniel Vetter wrote: > > A few things: > > -

Re: [PATCH v11 1/5] dt-bindings: display: xlnx: Add ZynqMP DP subsystem bindings

2020-04-01 Thread Laurent Pinchart
Hi Hyun, On Wed, Mar 18, 2020 at 06:08:57PM -0700, Hyun Kwon wrote: > On Wed, 2020-03-18 at 12:26:51 -0700, Sam Ravnborg wrote: > > On Wed, Mar 18, 2020 at 05:37:24PM +0200, Laurent Pinchart wrote: > >> From: Hyun Kwon > >> > >> The bindings describe the ZynqMP DP subsystem. They don't support

Re: [Outreachy kernel] [PATCH] staging: android: ion: Fix parenthesis alignment

2020-04-01 Thread Stefano Brivio
On Wed, 1 Apr 2020 18:25:15 -0700 "John B. Wyatt IV" wrote: > Fix 2 parenthesis alignment issues. > > Reported by checkpatch. > > Signed-off-by: John B. Wyatt IV Reviewed-by: Stefano Brivio -- Stefano ___ dri-devel mailing list

Re: [PATCH 19/51] drm: Cleanups after drmm_add_final_kfree rollout

2020-04-01 Thread Laurent Pinchart
Hi Daniel, (On a side note, git-format-patch accepts a -v argument to specify the version, I didn't realize you were not aware of it :-)) On Mon, Mar 23, 2020 at 03:49:18PM +0100, Daniel Vetter wrote: > A few things: > - Update the example driver in the documentation. > - We can drop the old

Re: [git pull] drm for 5.7-rc1

2020-04-01 Thread pr-tracker-bot
The pull request you sent on Wed, 1 Apr 2020 15:50:42 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-next-2020-04-01 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f365ab31efacb70bed1e821f7435626e0b2528a6 Thank you! -- Deet-doot-dot, I am a bot.

[PATCH 5/5] drm/virtio: only call virtio_gpu_cmd_create_resource for dumb resources

2020-04-01 Thread Gurchetan Singh
We want to avoid this path for upcoming blob resources. Signed-off-by: Gurchetan Singh --- drivers/gpu/drm/virtio/virtgpu_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_object.c b/drivers/gpu/drm/virtio/virtgpu_object.c index

[PATCH 1/5] drm/virtio: random virtgpu_drv.h cleanups

2020-04-01 Thread Gurchetan Singh
- Static-ify virtio_gpu_gem_create - Delete unused prototypes - Point to current implementation files Signed-off-by: Gurchetan Singh Reviewed-by: Chia-I Wu --- drivers/gpu/drm/virtio/virtgpu_drv.h | 26 +- drivers/gpu/drm/virtio/virtgpu_gem.c | 10 +- 2 files

[PATCH 2/5] drm/virtio: delete notify after virtio_gpu_cmd_context_create

2020-04-01 Thread Gurchetan Singh
The first 3D ioctl will take care of notification. Signed-off-by: Gurchetan Singh Reviewed-by: Chia-I Wu --- drivers/gpu/drm/virtio/virtgpu_ioctl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_ioctl.c b/drivers/gpu/drm/virtio/virtgpu_ioctl.c index

[PATCH 4/5] drm/virtio: make virtio_gpu_object_attach void

2020-04-01 Thread Gurchetan Singh
It always returns zero. Signed-off-by: Gurchetan Singh --- drivers/gpu/drm/virtio/virtgpu_drv.h| 8 drivers/gpu/drm/virtio/virtgpu_object.c | 6 +- drivers/gpu/drm/virtio/virtgpu_vq.c | 9 - 3 files changed, 9 insertions(+), 14 deletions(-) diff --git

[PATCH 3/5] drm/virtio: delete notify in virtio_gpu_object_create

2020-04-01 Thread Gurchetan Singh
For 3D buffers, virtio_gpu_gem_object_open notifies. We can have the same behavior for dumb buffer. v2: virtio_gpu_gem_object_open always notifies v3: avoid boolean variable Signed-off-by: Gurchetan Singh Reviewed-by: Chia-I Wu --- drivers/gpu/drm/virtio/virtgpu_gem.c| 3 ++-

Re: [v1 3/3] arm64: dts: sc7180: define interconnects for sc7180 target

2020-04-01 Thread Matthias Kaehlcke
On Wed, Apr 01, 2020 at 02:47:45PM +0530, Krishna Manikandan wrote: > Subject: arm64: dts: sc7180: define interconnects for sc7180 target Please be more specific about which interconnect entries are added. Also no need to repeat 'sc7180', it is already clear from the prefix.

Re: Aliases for DRI connectors?

2020-04-01 Thread Matt Hoosier
On Wed, Apr 1, 2020 at 3:17 PM Simon Ser wrote: > On Wednesday, April 1, 2020 9:38 PM, Matt Hoosier > wrote: > > > I'm searching for some sort of scheme that will let my DRI master query > the set of available connectors and select the one carrying a prearranged > designation. The problem I'm

Re: [PATCH 0/2] powerpc: Remove support for ppc405/440 Xilinx platforms

2020-04-01 Thread Arnd Bergmann
On Tue, Mar 31, 2020 at 7:51 PM Segher Boessenkool wrote: > > On Tue, Mar 31, 2020 at 08:56:23AM +0200, Christophe Leroy wrote: > > While we are at it, can we also remove the 601 ? This one is also full > > of workarounds and diverges a bit from other 6xx. > > > > I'm unable to find its end of

Re: Aliases for DRI connectors?

2020-04-01 Thread Simon Ser
On Wednesday, April 1, 2020 9:38 PM, Matt Hoosier wrote: > I'm searching for some sort of scheme that will let my DRI master query the > set of available connectors and select the one carrying a prearranged > designation. The problem I'm trying to solve is to allow deploying one >

[pull] amdgpu, amdkfd drm-next-5.7

2020-04-01 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.7. The following changes since commit 59e7a8cc2dcf335116d500d684bfb34d1d97a6fe: Merge tag 'drm-msm-next-2020-03-22' of https://gitlab.freedesktop.org/drm/msm into drm-next (2020-03-31 16:34:55 +1000) are available in the Git repository at:

Aliases for DRI connectors?

2020-04-01 Thread Matt Hoosier
I'm searching for some sort of scheme that will let my DRI master query the set of available connectors and select the one carrying a prearranged designation. The problem I'm trying to solve is to allow deploying one standardized userspace component across a fleet of devices that have varying

gpu: msm: possible circular locking dependency detected on 5.5

2020-04-01 Thread Fabio Estevam
Hi, Here is an adreno regression I noticed on imx53 running 5.5.13: [ 21.283902] == [ 21.290148] WARNING: possible circular locking dependency detected [ 21.296409] 5.5.13 #1 Not tainted [ 21.299785]

Re: [PATCH 0/4] drm/dp_mst: Remove ->destroy_connector() callback

2020-04-01 Thread Alex Deucher
On Tue, Mar 31, 2020 at 4:58 PM Lyude Paul wrote: > > This finishes up the work that Pankaj Bharadiya started in: > > https://patchwork.freedesktop.org/series/74412/ > > And allows us to entirely remove ->destroy_connector() > > Lyude Paul (4): > drm/amd/amdgpu_dm/mst: Remove unneeded edid

Re: [PATCH 2/2] drm/amd/dc: Kill dc_conn_log_hex_linux()

2020-04-01 Thread Alex Deucher
On Wed, Apr 1, 2020 at 9:00 AM Kazlauskas, Nicholas wrote: > > On 2020-03-31 5:22 p.m., Lyude Paul wrote: > > DRM already supports tracing DPCD transactions, there's no reason for > > the existence of this function. Also, it prints one byte per-line which > > is way too loud. So, just remove it.

Re: [PATCH][next] drm/amdgpu/vcn: fix spelling mistake "fimware" -> "firmware"

2020-04-01 Thread Alex Deucher
On Wed, Apr 1, 2020 at 12:35 PM Colin King wrote: > > From: Colin Ian King > > There is a spelling mistake in a dev_err error message. Fix it. > > Signed-off-by: Colin Ian King Applied. thanks! Alex > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH][next] drm/amdgpu/vcn: fix spelling mistake "fimware" -> "firmware"

2020-04-01 Thread Colin King
From: Colin Ian King There is a spelling mistake in a dev_err error message. Fix it. Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c

Re: [PATCH v3 4/4] MAINTAINERS: add files for Mediatek DRM drivers

2020-04-01 Thread Matthias Brugger
On 31/03/2020 17:57, Chun-Kuang Hu wrote: > Mediatek HDMI phy driver is moved from drivers/gpu/drm/mediatek to > drivers/phy/mediatek, so add the new folder to the Mediatek DRM drivers' > information. > > Signed-off-by: Chun-Kuang Hu Reviewed-by: Matthias Brugger > --- > MAINTAINERS | 1 +

Re: [PATCH v3 3/4] phy: mediatek: Move mtk_hdmi_phy driver into drivers/phy/mediatek folder

2020-04-01 Thread Matthias Brugger
On 31/03/2020 17:57, Chun-Kuang Hu wrote: > From: CK Hu > > mtk_hdmi_phy is currently placed inside mediatek drm driver, but it's > more suitable to place a phy driver into phy driver folder, so move > mtk_hdmi_phy driver into phy driver folder. > > Signed-off-by: CK Hu > Signed-off-by:

RE: [PATCH 1/6] dma-buf: add peer2peer flag

2020-04-01 Thread Ruhl, Michael J
>-Original Message- >From: dri-devel On Behalf Of >Daniel Vetter >Sent: Wednesday, April 1, 2020 7:35 AM >To: Christian König >Cc: amd-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org >Subject: Re: [PATCH 1/6] dma-buf: add peer2peer flag > >On Mon, Mar 30, 2020 at 03:55:31PM

Re: [PATCH v3 1/4] drm/mediatek: Move tz_disabled from mtk_hdmi_phy to mtk_hdmi driver

2020-04-01 Thread Matthias Brugger
On 01/04/2020 04:16, Chunfeng Yun wrote: > On Tue, 2020-03-31 at 23:57 +0800, Chun-Kuang Hu wrote: >> From: CK Hu >> >> tz_disabled is used to control mtk_hdmi output signal, but this variable >> is stored in mtk_hdmi_phy and mtk_hdmi_phy does not use it. So move >> tz_disabled to mtk_hdmi

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

2020-04-01 Thread Sakari Ailus
Add a printk modifier %ppf (for pixel format) for printing V4L2 and DRM pixel formats denoted by 4ccs. The 4cc encoding is the same for both so the same implementation can be used. Suggested-by: Mauro Carvalho Chehab Signed-off-by: Sakari Ailus --- Documentation/core-api/printk-formats.rst |

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

2020-04-01 Thread Hans Verkuil
On 4/1/20 4:05 PM, Sakari Ailus wrote: > Add a printk modifier %ppf (for pixel format) for printing V4L2 and DRM > pixel formats denoted by 4ccs. The 4cc encoding is the same for both so > the same implementation can be used. > > Suggested-by: Mauro Carvalho Chehab > Signed-off-by: Sakari Ailus

[Bug 207047] Crash after failed to pin userptr on amdgpu

2020-04-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207047 --- Comment #2 from bigbeesh...@gmail.com --- 5.5.14 is out and should contain the fixes for the above https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.5.y=aeeda19db4ab8b8e5bf653835058728ebe26909f

Re: [PATCH 2/2] drm/amd/dc: Kill dc_conn_log_hex_linux()

2020-04-01 Thread Kazlauskas, Nicholas
On 2020-03-31 5:22 p.m., Lyude Paul wrote: DRM already supports tracing DPCD transactions, there's no reason for the existence of this function. Also, it prints one byte per-line which is way too loud. So, just remove it. Signed-off-by: Lyude Paul Thanks for helping clean this up! Series

Re: [PATCHv2 00/56] drm/omap: Convert DSI code to use drm_mipi_dsi and drm_panel

2020-04-01 Thread Tomi Valkeinen
On 25/03/2020 15:03, Laurent Pinchart wrote: Hi Tomi, On Wed, Mar 25, 2020 at 02:47:48PM +0200, Tomi Valkeinen wrote: On 25/02/2020 01:20, Sebastian Reichel wrote: This updates the existing omapdrm DSI code, so that it uses common drm_mipi_dsi API and drm_panel. The patchset has been tested

Re: [PATCHv2 41/56] drm/omap: dsi: return proper error code from dsi_update_all()

2020-04-01 Thread Tomi Valkeinen
On 25/02/2020 01:21, Sebastian Reichel wrote: Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/dss/dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dsi.c b/drivers/gpu/drm/omapdrm/dss/dsi.c index acbfffe83b3e..f629e6b1025b

Re: [PATCH 3/5] drm: msm: scale DDR BW along with GPU frequency

2020-04-01 Thread Sharat Masetty
On 3/31/2020 10:56 PM, Jordan Crouse wrote: On Tue, Mar 31, 2020 at 01:25:51PM +0530, Sharat Masetty wrote: This patch adds support to parse the OPP tables attached the GPU device, the main opp table and the DDR bandwidth opp table. Additionally, vote for the GPU->DDR bandwidth when setting

Re: [PATCHv2 18/56] drm/omap: panel-dsi-cm: use common MIPI DCS 1.3 defines

2020-04-01 Thread Tomi Valkeinen
On 25/02/2020 01:20, Sebastian Reichel wrote: Drop local definition of common MIPI DCS 1.3 defines. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Reviewed-by: Tomi Valkeinen Tomi

Re: [PATCHv2 10/56] drm/omap: dsi: drop virtual channel logic

2020-04-01 Thread Tomi Valkeinen
On 01/04/2020 14:33, Laurent Pinchart wrote: Hi Tomi, On Wed, Apr 01, 2020 at 02:30:25PM +0300, Tomi Valkeinen wrote: On 25/02/2020 17:01, Laurent Pinchart wrote: On Tue, Feb 25, 2020 at 12:20:40AM +0100, Sebastian Reichel wrote: This drops the virtual channel logic. Afterwards DSI clients

Re: [PATCHv2 10/56] drm/omap: dsi: drop virtual channel logic

2020-04-01 Thread Tomi Valkeinen
On 25/02/2020 17:01, Laurent Pinchart wrote: Hi Sebastian, Thank you for the patch. On Tue, Feb 25, 2020 at 12:20:40AM +0100, Sebastian Reichel wrote: This drops the virtual channel logic. Afterwards DSI clients request their channel number and get the virtual channel with the same number or

Re: [PATCH 1/6] dma-buf: add peer2peer flag

2020-04-01 Thread Daniel Vetter
On Mon, Mar 30, 2020 at 03:55:31PM +0200, Christian König wrote: > Add a peer2peer flag noting that the importer can deal with device > resources which are not backed by pages. > > Signed-off-by: Christian König > --- > drivers/dma-buf/dma-buf.c | 2 ++ > include/linux/dma-buf.h | 10

Re: [PATCHv2 10/56] drm/omap: dsi: drop virtual channel logic

2020-04-01 Thread Laurent Pinchart
Hi Tomi, On Wed, Apr 01, 2020 at 02:30:25PM +0300, Tomi Valkeinen wrote: > On 25/02/2020 17:01, Laurent Pinchart wrote: > > On Tue, Feb 25, 2020 at 12:20:40AM +0100, Sebastian Reichel wrote: > >> This drops the virtual channel logic. Afterwards DSI clients > >> request their channel number and

Re: [PATCH v2 0/2] powerpc: Remove support for ppc405/440 Xilinx platforms

2020-04-01 Thread Takashi Iwai
On Wed, 01 Apr 2020 12:35:16 +0200, Michael Ellerman wrote: > > Michal Simek writes: > > On 01. 04. 20 4:07, Michael Ellerman wrote: > >> Michal Simek writes: > >>> Hi, > >>> > >>> recently we wanted to update xilinx intc driver and we found that function > >>> which we wanted to remove is

Re: [git pull] drm for 5.7-rc1

2020-04-01 Thread Jani Nikula
On Wed, 01 Apr 2020, Dave Airlie wrote: > i915 and amdgpu have initial OLED backlight support I suppose we've had a bunch of "initial support" code for a long time already, but only now Lyude made it actually work on real world machines. ;) BR, Jani. -- Jani Nikula, Intel Open Source

Re: [PATCH] drm/mm: revert "Break long searches in fragmented address spaces"

2020-04-01 Thread Christian König
Am 01.04.20 um 10:53 schrieb Chris Wilson: Quoting Christian König (2020-04-01 08:29:34) Am 31.03.20 um 15:19 schrieb Chris Wilson: Quoting Daniel Vetter (2020-03-31 11:38:50) On Tue, Mar 31, 2020 at 11:20 AM Chris Wilson wrote: Quoting Daniel Vetter (2020-03-31 10:16:18) On Tue, Mar 31,

Re: [PATCH 2/2] drm/core: Calculate bpp in afbc helper

2020-04-01 Thread Daniel Vetter
On Tue, Mar 31, 2020 at 05:53:08PM +0200, Andrzej Pietrasiewicz wrote: > Some drivers (komeda, malidp) don't set anything in cpp. If that is the > case the right value can be inferred from the format. Then the "bpp" member > can be eliminated from struct drm_afbc_framebuffer. > > Signed-off-by:

Re: [PATCH 1/2] drm/core: Use proper debugging macro

2020-04-01 Thread Daniel Vetter
On Tue, Mar 31, 2020 at 05:53:07PM +0200, Andrzej Pietrasiewicz wrote: > Use drm_dbg_kms() instead of DRM_DEBUG_KMS. > > Signed-off-by: Andrzej Pietrasiewicz Reviewed-by: Daniel Vetter > --- > drivers/gpu/drm/drm_gem_framebuffer_helper.c | 6 +++--- > 1 file changed, 3 insertions(+), 3

Re: INFO: trying to register non-static key in try_to_wake_up

2020-04-01 Thread Daniel Vetter
On Wed, Apr 1, 2020 at 10:59 AM Daniel Vetter wrote: > > On Wed, Apr 1, 2020 at 10:47 AM Dmitry Vyukov wrote: > > > > On Tue, Mar 31, 2020 at 2:50 PM Daniel Vetter wrote: > > > > > > On Tue, Mar 31, 2020 at 2:18 PM Bartlomiej Zolnierkiewicz > > > wrote: > > > > > > > > > > > > On 3/31/20 12:18

Re: INFO: trying to register non-static key in try_to_wake_up

2020-04-01 Thread Daniel Vetter
On Wed, Apr 1, 2020 at 10:47 AM Dmitry Vyukov wrote: > > On Tue, Mar 31, 2020 at 2:50 PM Daniel Vetter wrote: > > > > On Tue, Mar 31, 2020 at 2:18 PM Bartlomiej Zolnierkiewicz > > wrote: > > > > > > > > > On 3/31/20 12:18 PM, Dmitry Vyukov wrote: > > > > On Tue, Mar 31, 2020 at 11:57 AM Peter

Re: [PATCH] drm/mm: revert "Break long searches in fragmented address spaces"

2020-04-01 Thread Chris Wilson
Quoting Christian König (2020-04-01 08:29:34) > Am 31.03.20 um 15:19 schrieb Chris Wilson: > > Quoting Daniel Vetter (2020-03-31 11:38:50) > >> On Tue, Mar 31, 2020 at 11:20 AM Chris Wilson > >> wrote: > >>> Quoting Daniel Vetter (2020-03-31 10:16:18) > On Tue, Mar 31, 2020 at 10:59:45AM

Re: How to handle disconnection of eDP panels due to dynamic display mux switches

2020-04-01 Thread Jani Nikula
On Tue, 31 Mar 2020, Daniel Dadap wrote: > On 3/30/20 10:11 AM, Jani Nikula wrote: >> On Fri, 27 Mar 2020, Daniel Dadap wrote: >>> A number of hybrid GPU notebook computer designs with dual (integrated >>> plus discrete) GPUs are equipped with multiplexers (muxes) that allow >>> display panels

Re: How to handle disconnection of eDP panels due to dynamic display mux switches

2020-04-01 Thread Pekka Paalanen
On Tue, 31 Mar 2020 20:59:39 -0500 Daniel Dadap wrote: > On 3/30/20 10:11 AM, Jani Nikula wrote: > > On Fri, 27 Mar 2020, Daniel Dadap wrote: > >> A number of hybrid GPU notebook computer designs with dual (integrated > >> plus discrete) GPUs are equipped with multiplexers (muxes) that allow

Re: [PATCH] drm/mm: revert "Break long searches in fragmented address spaces"

2020-04-01 Thread Christian König
Am 31.03.20 um 15:19 schrieb Chris Wilson: Quoting Daniel Vetter (2020-03-31 11:38:50) On Tue, Mar 31, 2020 at 11:20 AM Chris Wilson wrote: Quoting Daniel Vetter (2020-03-31 10:16:18) On Tue, Mar 31, 2020 at 10:59:45AM +0200, Christian König wrote: A not so gentle ping, since this pretty

Re: [PATCH v2 2/2] powerpc: Remove Xilinx PPC405/PPC440 support

2020-04-01 Thread Nick Desaulniers
On Mon, Mar 30, 2020 at 6:32 AM Michal Simek wrote: > > The latest Xilinx design tools called ISE and EDK has been released in > October 2013. New tool doesn't support any PPC405/PPC440 new designs. > These platforms are no longer supported and tested. > > PowerPC 405/440 port is orphan from 2013

Re: INFO: trying to register non-static key in try_to_wake_up

2020-04-01 Thread Dmitry Vyukov
On Tue, Mar 31, 2020 at 11:57 AM Peter Zijlstra wrote: > > On Mon, Mar 30, 2020 at 10:01:12PM -0700, syzbot wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:9420e8ad Merge tag 'for-linus' of git://git.kernel.org/pub.. > > git tree: upstream > > console

Re: [PATCH 20/22] drm/vkms: Use simple encoder

2020-04-01 Thread Thomas Zimmermann
Hi Am 24.03.20 um 12:59 schrieb Rodrigo Siqueira: > Hi Thomas, > > First of all, thanks for your patch! > > I applied all your series, compiled it, and when I tried > `make INSTALL_MOD_PATH=/PATH/ modules_instal` I got the following > message: > > depmod: ERROR: Cycle detected: drm_kms_helper

Re: How to handle disconnection of eDP panels due to dynamic display mux switches

2020-04-01 Thread Daniel Dadap
On 3/31/20 2:32 AM, Daniel Vetter wrote: Since I see no mention of this anywhere in your mail ... have you tried looking at drivers/gpu/vga/vga_switcheroo.c? This also supports switching of just outputs, not just the old optimus way of switching out the entire gpu and having to disable the

[PATCH] drm/bridge: adv7511: Fix cec clock EPROBE_DEFER handling

2020-04-01 Thread Vincent Whitchurch
If adv7511's devm_clk_get() for the cec clock returns -EPROBE_DEFER, we end up in an infinite probe loop. This happens: (1) adv7511's probe is called. (2) adv7511's probe adds some secondary i2c devices which bind to the dummy driver and thus call driver_deferred_probe_trigger() and

Re: [PATCH v2 0/2] powerpc: Remove support for ppc405/440 Xilinx platforms

2020-04-01 Thread Michal Simek
On 01. 04. 20 4:07, Michael Ellerman wrote: > Michal Simek writes: >> Hi, >> >> recently we wanted to update xilinx intc driver and we found that function >> which we wanted to remove is still wired by ancient Xilinx PowerPC >> platforms. Here is the thread about it. >>

Re: [PATCH v3 3/4] phy: mediatek: Move mtk_hdmi_phy driver into drivers/phy/mediatek folder

2020-04-01 Thread Chunfeng Yun
On Tue, 2020-03-31 at 23:57 +0800, Chun-Kuang Hu wrote: > From: CK Hu > > mtk_hdmi_phy is currently placed inside mediatek drm driver, but it's > more suitable to place a phy driver into phy driver folder, so move > mtk_hdmi_phy driver into phy driver folder. > > Signed-off-by: CK Hu >

Re: [PATCH] Update my email address in various drivers

2020-04-01 Thread Hans Verkuil
On 3/29/20 12:19 PM, Russell King wrote: > Globally update my email address in six files scattered through the > tree. > > Signed-off-by: Russell King For media/cec files: Acked-by: Hans Verkuil Regards, Hans > --- > drivers/gpu/drm/armada/armada_drv.c | 2 +- >

Re: [PATCH 0/2] powerpc: Remove support for ppc405/440 Xilinx platforms

2020-04-01 Thread Michal Simek
On 31. 03. 20 11:49, Christophe Leroy wrote: > > > Le 31/03/2020 à 09:19, Christophe Leroy a écrit : >> >> >> Le 31/03/2020 à 08:59, Michal Simek a écrit : >>> On 31. 03. 20 8:56, Christophe Leroy wrote: Le 31/03/2020 à 07:30, Michael Ellerman a écrit : > Christophe Leroy

Re: [PATCH 0/2] powerpc: Remove support for ppc405/440 Xilinx platforms

2020-04-01 Thread Segher Boessenkool
On Tue, Mar 31, 2020 at 08:56:23AM +0200, Christophe Leroy wrote: > While we are at it, can we also remove the 601 ? This one is also full > of workarounds and diverges a bit from other 6xx. > > I'm unable to find its end of life date, but it was on the market in > 1994, so I guess it must be

Re: [PATCH 0/2] powerpc: Remove support for ppc405/440 Xilinx platforms

2020-04-01 Thread Christophe Leroy
Le 31/03/2020 à 12:04, Michal Simek a écrit : On 31. 03. 20 11:49, Christophe Leroy wrote: Le 31/03/2020 à 09:19, Christophe Leroy a écrit : Le 31/03/2020 à 08:59, Michal Simek a écrit : On 31. 03. 20 8:56, Christophe Leroy wrote: Le 31/03/2020 à 07:30, Michael Ellerman a écrit :

Re: [PATCH v10 00/12] Convert PWM period and duty cycle to u64

2020-04-01 Thread Guru Das Srinagesh
On Tue, Mar 31, 2020 at 02:48:04PM +0100, Daniel Thompson wrote: > On Mon, Mar 30, 2020 at 02:00:12PM -0700, Guru Das Srinagesh wrote: > > On Mon, Mar 30, 2020 at 09:26:36PM +0100, Daniel Thompson wrote: > > > On Mon, Mar 30, 2020 at 12:15:07PM -0700, Guru Das Srinagesh wrote: > > > > On Sat, Mar

Re: [PATCH v2 0/2] powerpc: Remove support for ppc405/440 Xilinx platforms

2020-04-01 Thread Michael Ellerman
Michal Simek writes: > Hi, > > recently we wanted to update xilinx intc driver and we found that function > which we wanted to remove is still wired by ancient Xilinx PowerPC > platforms. Here is the thread about it. >

Re: [PATCH] drm: fix ifnullfree.cocci warnings

2020-04-01 Thread Julia Lawall
On Tue, 31 Mar 2020, Daniel Vetter wrote: > On Fri, Mar 27, 2020 at 09:11:44AM +0100, Julia Lawall wrote: > > NULL check before kfree is not needed. > > > > Generated by: scripts/coccinelle/free/ifnullfree.cocci > > > > Fixes: c6603c740e0e ("drm: add managed resources tied to drm_device") > >

[PATCH v1] dt-bindings: display: convert rockchip rk3066 hdmi bindings to yaml

2020-04-01 Thread Johan Jonker
Current dts files with 'hdmi' nodes for rk3066 are manually verified. In order to automate this process rockchip,rk3066-hdmi.txt has to be converted to yaml. Signed-off-by: Johan Jonker --- .../display/rockchip/rockchip,rk3066-hdmi.txt | 72 ---

[PATCH -next] drm/i915/gt: fix spelling mistake "undeflow" -> "underflow"

2020-04-01 Thread Chen Zhou
There is a spelling mistake in comment, fix it. Signed-off-by: Chen Zhou --- drivers/gpu/drm/i915/gt/intel_engine_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gt/intel_engine_pm.c b/drivers/gpu/drm/i915/gt/intel_engine_pm.c index

[PATCH] drm/msm/dpu: ensure device suspend happens during PM sleep

2020-04-01 Thread Kalyan Thota
"The PM core always increments the runtime usage counter before calling the ->suspend() callback and decrements it after calling the ->resume() callback" DPU and DSI are managed as runtime devices. When suspend is triggered, PM core adds a refcount on all the devices and calls device suspend,

Re: [PATCH 0/2] powerpc: Remove support for ppc405/440 Xilinx platforms

2020-04-01 Thread Christophe Leroy
Le 31/03/2020 à 08:59, Michal Simek a écrit : On 31. 03. 20 8:56, Christophe Leroy wrote: Le 31/03/2020 à 07:30, Michael Ellerman a écrit : Christophe Leroy writes: Le 27/03/2020 à 15:14, Andy Shevchenko a écrit : On Fri, Mar 27, 2020 at 02:22:55PM +0100, Arnd Bergmann wrote: On Fri,

Re: [PATCH v3 1/4] drm/mediatek: Move tz_disabled from mtk_hdmi_phy to mtk_hdmi driver

2020-04-01 Thread Chunfeng Yun
On Tue, 2020-03-31 at 23:57 +0800, Chun-Kuang Hu wrote: > From: CK Hu > > tz_disabled is used to control mtk_hdmi output signal, but this variable > is stored in mtk_hdmi_phy and mtk_hdmi_phy does not use it. So move > tz_disabled to mtk_hdmi where it's used. > > Signed-off-by: CK Hu >

Re: [PATCH v3 2/4] drm/mediatek: Separate mtk_hdmi_phy to an independent module

2020-04-01 Thread Chunfeng Yun
On Tue, 2020-03-31 at 23:57 +0800, Chun-Kuang Hu wrote: > From: CK Hu > > mtk_hdmi_phy is a part of mtk_hdmi module, but phy driver should be an > independent module rather than be part of drm module, so separate the phy > driver to an independent module. > > Signed-off-by: CK Hu >

Re: [PATCH 0/2] powerpc: Remove support for ppc405/440 Xilinx platforms

2020-04-01 Thread Michal Simek
On 31. 03. 20 8:56, Christophe Leroy wrote: > > > Le 31/03/2020 à 07:30, Michael Ellerman a écrit : >> Christophe Leroy writes: >>> Le 27/03/2020 à 15:14, Andy Shevchenko a écrit : On Fri, Mar 27, 2020 at 02:22:55PM +0100, Arnd Bergmann wrote: > On Fri, Mar 27, 2020 at 2:15 PM Andy

Re: How to handle disconnection of eDP panels due to dynamic display mux switches

2020-04-01 Thread Daniel Dadap
On 3/30/20 10:11 AM, Jani Nikula wrote: On Fri, 27 Mar 2020, Daniel Dadap wrote: A number of hybrid GPU notebook computer designs with dual (integrated plus discrete) GPUs are equipped with multiplexers (muxes) that allow display panels to be driven by either the integrated GPU or the

Re: [Freedreno] [PATCH] drm/msm/dpu: ensure device suspend happens during PM sleep

2020-04-01 Thread kalyan_t
On 2020-03-31 00:25, Doug Anderson wrote: Hi, On Mon, Mar 30, 2020 at 2:04 AM Kalyan Thota wrote: "The PM core always increments the runtime usage counter before calling the ->suspend() callback and decrements it after calling the ->resume() callback" DPU and DSI are managed as runtime

Re: [PATCH 0/2] powerpc: Remove support for ppc405/440 Xilinx platforms

2020-04-01 Thread Christophe Leroy
Le 31/03/2020 à 09:19, Christophe Leroy a écrit : Le 31/03/2020 à 08:59, Michal Simek a écrit : On 31. 03. 20 8:56, Christophe Leroy wrote: Le 31/03/2020 à 07:30, Michael Ellerman a écrit : Christophe Leroy writes: Le 27/03/2020 à 15:14, Andy Shevchenko a écrit : On Fri, Mar 27, 2020

Re: How to handle disconnection of eDP panels due to dynamic display mux switches

2020-04-01 Thread Daniel Vetter
On Wed, Apr 1, 2020 at 3:58 AM Daniel Dadap wrote: > On 3/31/20 2:32 AM, Daniel Vetter wrote: > > Since I see no mention of this anywhere in your mail ... have you > > tried looking at drivers/gpu/vga/vga_switcheroo.c? This also supports > > switching of just outputs, not just the old optimus way

[Bug 207047] Crash after failed to pin userptr on amdgpu

2020-04-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207047 bigbeesh...@gmail.com changed: What|Removed |Added CC||bigbeesh...@gmail.com ---