[PATCH] gpu: ipu-v3: image-convert: Wait for channels before disabling

2020-06-09 Thread Steve Longerbeam
Call ipu_idmac_wait_busy() on each idmac channel to busy wait for the channel to be idle before disabling. Otherwise it was found that a conversion would stall after the completion of a tile and the start of the next tile. Fixes: 0537db801bb01 ("gpu: ipu-v3: image-convert: reconfigure IC per

[PATCH] drm/msm: call drm_mode_config_reset before drm_dev_register

2020-06-09 Thread Abhinav Kumar
As per the documentation of drm_dev_register, all drivers should call drm_dev_register after all the initialization is completed. This also means that drm_mode_config_reset should be done before drm_dev_register. Change the sequence to align with this documentation. Signed-off-by: Abhinav Kumar

Re: [PATCH v1 5/6] dt-bindings: panel: add LOGIC Technologies panels

2020-06-09 Thread Rob Herring
On Mon, 01 Jun 2020 10:33:08 +0200, Sam Ravnborg wrote: > Add support for the following panels from LOGIC Technologies, Inc: > - LTTD800480070-L2RT > - LTTD800480070-L6WH-RT > > The LTTD800480 L2RT is discontinued, but it may be used in > existing products. > > Both panels are dumb panels that

Re: [PATCH v1 3/6] dt-bindings: panel: add Hitachi 3,5" QVGA panel

2020-06-09 Thread Rob Herring
On Mon, 01 Jun 2020 10:33:06 +0200, Sam Ravnborg wrote: > This panel is used on evaluation boards for Atmel at91sam9261 and > at91sam6263. > > The panel is named: TX09D71VM1CCA > > The panel is a dumb panel that matches the panel-simple binding > > Signed-off-by: Sam Ravnborg > Cc: Thierry

Re: [PATCH v1 1/6] dt-bindings: panel: add Seiko 70WVW2T 7" panel

2020-06-09 Thread Rob Herring
On Mon, 01 Jun 2020 10:33:04 +0200, Sam Ravnborg wrote: > Add compatible for Seiko Instruments 7" TFT LCD. > This panel is a dumb panel that matches the panel-simple binding. > > Signed-off-by: Sam Ravnborg > Cc: Søren Andersen > Cc: Thierry Reding > Cc: Sam Ravnborg > --- >

Re: [PATCH 1/2] dt-bindings: panel-simple: Add koe, tx26d202vm0bwa compatible

2020-06-09 Thread Rob Herring
On Mon, 01 Jun 2020 14:10:43 +0800, Liu Ying wrote: > Add compatible to panel-simple for Kaohsiung Opto-Electronics Inc. > 10.1" WUXGA(1920x1200) TX26D202VM0BWA TFT LCD panel with LVDS interface. > > Cc: Thierry Reding > Cc: Sam Ravnborg > Cc: Rob Herring > Signed-off-by: Liu Ying > --- >

Re: [PATCH 1/2] drm/amd: correct trivial kernel-doc inconsistencies

2020-06-09 Thread Alex Deucher
On Tue, Jun 9, 2020 at 3:35 AM Colton Lewis wrote: > > Silence documentation warnings by correcting kernel-doc comments. > > ./drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:3388: warning: Excess function > parameter 'suspend' description in 'amdgpu_device_suspend' >

[Bug 208115] New: amdgpu (likely) - power management and display connection problems with an RX590 card

2020-06-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208115 Bug ID: 208115 Summary: amdgpu (likely) - power management and display connection problems with an RX590 card Product: Drivers Version: 2.5 Kernel Version: 5.x.x

Re: [PATCH 4/4] drm: pl111: Update documentation

2020-06-09 Thread Eric Anholt
On Tue, Jun 9, 2020 at 1:17 PM Linus Walleij wrote: > > On Tue, Jun 9, 2020 at 10:11 PM Eric Anholt wrote: > > > FWIW, series is Reviewed-by: Eric Anholt > > Thanks Eric, do I remember correct that you were using this > driver for something like a clock display? Are you still using it > for

Re: [Intel-gfx] [PATCH 1/3] drm/dp_mst: Fix the DDC I2C device unregistration of an MST port

2020-06-09 Thread Lisovskiy, Stanislav
On Mon, Jun 08, 2020 at 12:25:20AM +0300, Imre Deak wrote: > The WARN below triggers during the removal of an MST port. The problem > is that the parent device's (the connector's kdev) sysfs directory is > removed recursively when the connector is unregistered (even though the > I2C device holds a

Re: [PATCH v3 07/15] drm/amdgpu: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-09 Thread Alex Deucher
On Tue, Jun 9, 2020 at 5:18 AM Piotr Stankiewicz wrote: > > Seeing as there is shorthand available to use when asking for any type > of interrupt, or any type of message signalled interrupt, leverage it. > > Signed-off-by: Piotr Stankiewicz > Reviewed-by: Andy Shevchenko Acked-by: Alex Deucher

Re: [PATCH] drm/omap: force runtime PM suspend on system suspend

2020-06-09 Thread Tomi Valkeinen
On 09/06/2020 19:10, Tony Lindgren wrote: * Tomi Valkeinen [200609 15:38]: On 09/06/2020 18:12, Tony Lindgren wrote: * Tomi Valkeinen [200609 10:33]: Use suspend_late and resume_early callbacks in DSS submodules to force runtime PM suspend and resume. We use suspend_late callback so that

Re: [PATCH 4/4] drm: pl111: Update documentation

2020-06-09 Thread Linus Walleij
On Tue, Jun 9, 2020 at 10:11 PM Eric Anholt wrote: > FWIW, series is Reviewed-by: Eric Anholt Thanks Eric, do I remember correct that you were using this driver for something like a clock display? Are you still using it for that? Nowadays the biggest user is arguably the ARM FVP emulator

Re: [PATCH 4/4] drm: pl111: Update documentation

2020-06-09 Thread Eric Anholt
On Tue, Jun 9, 2020 at 1:08 PM Linus Walleij wrote: > > Remove notes about migrating from the old driver which is > retired as all users are now migrated. > > Update the text to reflect that we support PL110 and PL111 > alike. > > Drop the bullet on memory bandwidth scaling: this has been >

[PATCH 4/4] drm: pl111: Update documentation

2020-06-09 Thread Linus Walleij
Remove notes about migrating from the old driver which is retired as all users are now migrated. Update the text to reflect that we support PL110 and PL111 alike. Drop the bullet on memory bandwidth scaling: this has been implemented. Cc: Russell King Signed-off-by: Linus Walleij ---

[PATCH 2/4] video: fbdev: amba-clcd: Retire elder CLCD driver

2020-06-09 Thread Linus Walleij
All the functionality in this driver has been reimplemented in the new DRM driver in drivers/gpu/drm/pl111/* and all the boards using it have been migrated to use the DRM driver with all configuration coming from the device tree. I started the work to migrate the CLCD driver to DRM in april 2017

[PATCH 3/4] drm: pl111: Absorb the external register header

2020-06-09 Thread Linus Walleij
The PL111 DRM driver is now the sole user of the external CLCD registers header file, so let's absorb that into the pl111_drm.h file and save the external include. Cc: Russell King Signed-off-by: Linus Walleij --- drivers/gpu/drm/pl111/pl111_debugfs.c | 1 -

[PATCH 1/4] drm: pl111: Credit where credit is due

2020-06-09 Thread Linus Walleij
This moves over some of the credit for the development of this driver from the old fbdev driver that I used as reference when getting this in place. Cc: Russell King Signed-off-by: Linus Walleij --- drivers/gpu/drm/pl111/pl111_versatile.c | 9 + 1 file changed, 9 insertions(+) diff

Re: [PATCH v3 24/39] dt-bindings: memory: tegra30: Add memory client IDs

2020-06-09 Thread Rob Herring
On Sun, 07 Jun 2020 21:55:15 +0300, Dmitry Osipenko wrote: > Each memory client have a unique hardware ID, this patch adds these IDs. > > Signed-off-by: Dmitry Osipenko > --- > include/dt-bindings/memory/tegra30-mc.h | 67 + > 1 file changed, 67 insertions(+) > Please

Re: [PATCH v3 23/39] dt-bindings: memory: tegra20: Add memory client IDs

2020-06-09 Thread Rob Herring
On Sun, 07 Jun 2020 21:55:14 +0300, Dmitry Osipenko wrote: > Each memory client have a unique hardware ID, this patch adds these IDs. > > Signed-off-by: Dmitry Osipenko > --- > include/dt-bindings/memory/tegra20-mc.h | 53 + > 1 file changed, 53 insertions(+) > Please

Re: [PATCH] drm/msm: fix link error without CONFIG_DEBUG_FS

2020-06-09 Thread Linus Walleij
On Tue, Jun 9, 2020 at 4:04 PM Rob Clark wrote: > On Tue, Jun 9, 2020 at 5:48 AM Linus Walleij wrote: > > On Tue, May 5, 2020 at 10:27 AM Linus Walleij > > wrote: > > > On Wed, Apr 8, 2020 at 9:15 PM Arnd Bergmann wrote: > > > > > > > I ran into a randconfig link error with debugfs disabled:

Re: [PATCH] drm/omap: force runtime PM suspend on system suspend

2020-06-09 Thread Tomi Valkeinen
On 09/06/2020 18:12, Tony Lindgren wrote: * Tomi Valkeinen [200609 10:33]: Use suspend_late and resume_early callbacks in DSS submodules to force runtime PM suspend and resume. We use suspend_late callback so that omapdrm's system suspend callback is called first, as that will disable all the

Re: [PATCH 1/5] drm/omap: Fix suspend resume regression after platform data removal

2020-06-09 Thread Tomi Valkeinen
On 09/06/2020 18:19, Tony Lindgren wrote: But there's an extra runtime PM reference (dev.power.usage_count) that seems to come out of nowhere. So when omap_drm_suspend is finished, there's still usage_count of 1, and dispc never suspends fully. Hmm no idea about that. My guess is that there

Re: [PATCH v5 01/13] drm/mipi_dbi: Convert pr_debug calls to DRM_DEBUG_DRIVER

2020-06-09 Thread Sam Ravnborg
Hi Sean Paul. On Mon, Jun 08, 2020 at 05:04:51PM -0400, Sean Paul wrote: > From: Sean Paul > > Use the drm logging helpers to output these messages to ensure they'll > be included by the drm tracefs instance. > > Signed-off-by: Sean Paul > > Changes in v5: > -Added to the set > --- >

Re: [Intel-gfx] [PATCH v3 3/3] drm/i915/dp_mst: Work around out-of-spec adapters filtering short pulses

2020-06-09 Thread Imre Deak
On Tue, Jun 09, 2020 at 11:58:18AM -0400, Lyude Paul wrote: > Hi! Awesome patch series! > > Reviewed-by: Lyude Paul Thanks. > Also re merging via drm-intel-next-queued - I think that should be fine, fwiw > merging via drm-misc-next might be another option (I've definitely done this > in > the

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

2020-06-09 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 v9 03/11] drm: bridge: dw_mipi_dsi: add dsi v1.01 support

2020-06-09 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 v9 02/11] drm: bridge: dw_mipi_dsi: abstract register access using reg_fields

2020-06-09 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 v9 04/11] drm: bridge: dw_mipi_dsi: remove bind/unbind API

2020-06-09 Thread Adrian Ratiu
The DW mipi-dsi bind/unbind API was only used to attach the bridge to the encoder in the Rockchip driver, but with the addition of i.MX6 it gets more complicated because the i.MX6 part of the bridge is another bridge in itself which needs to daisy chain to the dw-mipi-dsi core. So, instead of

[PATCH v9 06/11] ARM: dts: imx6qdl: add missing mipi dsi properties

2020-06-09 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 v9 08/11] drm: stm: dw-mipi-dsi: let the bridge handle the HW version check

2020-06-09 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 v9 07/11] drm: imx: Add i.MX 6 MIPI DSI host platform driver

2020-06-09 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 v9 00/11] Genericize DW MIPI DSI bridge and add i.MX 6 driver

2020-06-09 Thread Adrian Ratiu
[Re-submitting to cc dri-devel, sorry about the noise] Hello all, v9 cleanly applies on top of latest next-20200609 tree. v9 does not depend on other patches as the last binding doc has been merged. All feedback up to this point has been addressed. Specific details in individual patch

[PATCH v9 01/11] drm: bridge: dw_mipi_dsi: add initial regmap infrastructure

2020-06-09 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 v9 05/11] dt-bindings: display: add i.MX6 MIPI DSI host controller doc

2020-06-09 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 v9 11/11] Documentation: gpu: todo: Add dw-mipi-dsi consolidation plan

2020-06-09 Thread Adrian Ratiu
This documents the longer-term plan to cleanup the dw-mipi-dsi bridge based drivers after the regmap refactor and i.MX6 driver have landed. The goal is to get the entire bridge logic in one place and continue the refactorings under the drm/bridge tree. Cc: Laurent Pinchart Cc: Boris Brezillon

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

2020-06-09 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

Re: [PATCH 1/6] drm/ttm: Add unampping of the entire device address space

2020-06-09 Thread Koenig, Christian
Am 09.06.2020 18:37 schrieb "Grodzovsky, Andrey" : On 6/5/20 2:40 PM, Christian König wrote: > Am 05.06.20 um 16:29 schrieb Andrey Grodzovsky: >> >> On 5/11/20 2:45 AM, Christian König wrote: >>> Am 09.05.20 um 20:51 schrieb Andrey Grodzovsky: Signed-off-by: Andrey Grodzovsky ---

Re: [PATCH 1/6] drm/ttm: Add unampping of the entire device address space

2020-06-09 Thread Andrey Grodzovsky
On 6/5/20 2:40 PM, Christian König wrote: Am 05.06.20 um 16:29 schrieb Andrey Grodzovsky: On 5/11/20 2:45 AM, Christian König wrote: Am 09.05.20 um 20:51 schrieb Andrey Grodzovsky: Signed-off-by: Andrey Grodzovsky ---   drivers/gpu/drm/ttm/ttm_bo.c    | 22 +-  

Re: [Intel-gfx] [PATCH v3 3/3] drm/i915/dp_mst: Work around out-of-spec adapters filtering short pulses

2020-06-09 Thread Lyude Paul
Hi! Awesome patch series! Reviewed-by: Lyude Paul Also re merging via drm-intel-next-queued - I think that should be fine, fwiw merging via drm-misc-next might be another option (I've definitely done this in the past for series that touched MST and drivers, but I don't have a hard preference

[PATCH v6 13/13] drm/print: Add tracefs support to the drm logging helpers

2020-06-09 Thread Sean Paul
From: Sean Paul This patch adds a new module parameter called drm.trace which accepts the same mask as drm.debug. When a debug category is enabled, log messages will be put in a new tracefs instance called drm for consumption. Using the new tracefs instance will allow distros to enable drm

Re: [PATCH] drm/edid: add support for min horizontal rate equal to max horizontal rate

2020-06-09 Thread Ville Syrjälä
On Tue, Jun 09, 2020 at 03:57:04AM +0800, Cyrus Lien wrote: > According to EDID spec, table 3.26, byte #6 and #8, which said "Minimum > rate value shall be less than or equal to maximum rate value". The minimum > horizontal/vertical rate value is able to be equal to maximum horizontal/ > veritcal

[PATCH] drm/omap: force runtime PM suspend on system suspend

2020-06-09 Thread Tomi Valkeinen
Use suspend_late and resume_early callbacks in DSS submodules to force runtime PM suspend and resume. We use suspend_late callback so that omapdrm's system suspend callback is called first, as that will disable all the display outputs after which it's safe to force DSS into suspend.

[PATCH] drm/panel-simple: fix connector type for newhaven_nhd_43_480272ef_atxl

2020-06-09 Thread Tomi Valkeinen
Add connector type for newhaven_nhd_43_480272ef_atxl, as drm_panel_bridge_add() requires connector type to be set. Signed-off-by: Tomi Valkeinen Cc: sta...@vger.kernel.org # v5.5+ --- drivers/gpu/drm/panel/panel-simple.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v6] drm/ioctl: Add a ioctl to set and get a label on GEM objects

2020-06-09 Thread Rohan Garg
On viernes, 29 de mayo de 2020 19:10:29 (CEST) Eric Anholt wrote: > On Fri, May 29, 2020 at 6:44 AM Rohan Garg wrote: > > Hey Eric! > > > > On jueves, 28 de mayo de 2020 20:45:24 (CEST) Eric Anholt wrote: > > > On Thu, May 28, 2020 at 10:06 AM Rohan Garg > > > > wrote: > > > >

Re: [PATCH v2 06/15] pwm: crc: Fix period / duty_cycle times being off by a factor of 256

2020-06-09 Thread Hans de Goede
Hi, On 6/9/20 1:29 PM, Andy Shevchenko wrote: On Sun, Jun 07, 2020 at 08:18:31PM +0200, Hans de Goede wrote: While looking into adding atomic-pwm support to the pwm-crc driver I noticed something odd, there is a PWM_BASE_CLK define of 6 MHz and there is a clock-divider which divides this with

Re: [PATCH v2 10/15] pwm: crc: Implement apply() method to support the new atomic PWM API

2020-06-09 Thread Hans de Goede
Hi, On 6/9/20 1:32 PM, Andy Shevchenko wrote: On Sun, Jun 07, 2020 at 08:18:35PM +0200, Hans de Goede wrote: Replace the enable, disable and config pwm_ops with an apply op, to support the new atomic PWM API. ... -static int crc_pwm_calc_clk_div(int period_ns) +static int

drivers, video: logo: Query regarding logo selection at run-time

2020-06-09 Thread Moses Christopher
Hi, I'd like to know one if my approach towards the following problem statement is correct or wrong, *Developer should be able to select a logo on runtime using kernel command line argument or something similar.* As far as I see from the drivers/video/logo section, we need to implement some

Re: [PATCH 53/59] drm/arc: Move to drm/tiny

2020-06-09 Thread Daniel Vetter
Hi Eugeniy, Very much appreciated, and kinda expected. That 2nd backtrace really confuses me, so "something strange is going on" and the bisect looks funny is within expectations. Hopefully we can track down what's going on. Thanks, Daniel On Tue, Jun 9, 2020 at 2:08 PM Eugeniy Paltsev wrote:

Re: [PATCH] drm/msm: fix link error without CONFIG_DEBUG_FS

2020-06-09 Thread Linus Walleij
On Tue, May 5, 2020 at 10:27 AM Linus Walleij wrote: > On Wed, Apr 8, 2020 at 9:15 PM Arnd Bergmann wrote: > > > I ran into a randconfig link error with debugfs disabled: > > > > arm-linux-gnueabi-ld: > > drivers/gpu/drm/msm/msm_gpu.o: in function `should_dump': > > msm_gpu.c:(.text+0x1cc):

[PATCH 08/17] drivers: gpu: drm: Fix trivial spelling

2020-06-09 Thread Kieran Bingham
The word 'descriptor' is misspelled throughout the tree. Fix it up accordingly: decriptors -> descriptors Signed-off-by: Kieran Bingham --- drivers/gpu/drm/drm_dp_helper.c | 2 +- include/drm/drm_dp_helper.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 00/17] spelling.txt: /decriptors/descriptors/

2020-06-09 Thread Kieran Bingham
I wouldn't normally go through spelling fixes, but I caught sight of this typo twice, and then foolishly grepped the tree for it, and saw how pervasive it was. so here I am ... fixing a typo globally... but with an addition in scripts/spelling.txt so it shouldn't re-appear ;-) Cc:

Re: [Intel-gfx] [PATCH v3 3/3] drm/i915/dp_mst: Work around out-of-spec adapters filtering short pulses

2020-06-09 Thread Imre Deak
Hi Dave, Lyude, are you ok to merge this patchset via the drm-intel-next-queued tree? --Imre On Thu, Jun 04, 2020 at 09:45:00PM +0300, Imre Deak wrote: > Some TypeC -> native DP adapters, at least the Club 3D CAC-1557 adapter, > incorrectly filter out HPD short pulses with a duration less than

Re: [PATCH 53/59] drm/arc: Move to drm/tiny

2020-06-09 Thread Eugeniy Paltsev
Hi Daniel, I've got pretty strange results so I need some time to investigate it and probably retest. I'll send you update in a few days. --- Eugeniy Paltsev From: Daniel Vetter Sent: Friday, June 5, 2020 22:55 To: Eugeniy Paltsev Cc: Intel Graphics

Re: [Bug Report] drivers/video/fbdev/da8xx-fb.c: undefined behavior when left shifting

2020-06-09 Thread Bartlomiej Zolnierkiewicz
[ added TI DaVinci platform Maintainers to Cc: ] Hi, On 5/22/20 5:01 AM, Changming Liu wrote: > Hi Bartlomiej, > Greetings, it's me again, I sent you a bug report yesterday, I hope that find > you well. > > This time I found that in /drivers/video/fbdev/da8xx-fb.c > function

Re: [PATCH v4 08/12] device core: Introduce multiple dma pfn offsets

2020-06-09 Thread Jim Quinlan
Hi Andy, On Sun, Jun 7, 2020 at 12:500f9bfe0fb8840b268af1bbcc51f1cd440514e PM Andy Shevchenko wrote: > > On Fri, Jun 05, 2020 at 05:26:48PM -0400, Jim Quinlan wrote: > > The new field in struct device 'dma_pfn_offset_map' is used to facilitate > > the use of single or multiple pfn offsets

[PATCH 1/2] drm/amd: correct trivial kernel-doc inconsistencies

2020-06-09 Thread Colton Lewis
Silence documentation warnings by correcting kernel-doc comments. ./drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:3388: warning: Excess function parameter 'suspend' description in 'amdgpu_device_suspend' ./drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:3485: warning: Excess function parameter 'resume'

[PATCH 2/2] drm: correct trivial kernel-doc inconsistencies

2020-06-09 Thread Colton Lewis
Silence documentation warnings by correcting kernel-doc comments. ./include/drm/drm_dp_helper.h:1767: warning: Function parameter or member 'hbr2_reset' not described in 'drm_dp_phy_test_params' ./drivers/gpu/drm/drm_dp_helper.c:1600: warning: Function parameter or member 'dp_rev' not described

Re: [PATCH 1/5] drm/omap: Fix suspend resume regression after platform data removal

2020-06-09 Thread Tomi Valkeinen
On 03/06/2020 17:06, Tony Lindgren wrote: * Tomi Valkeinen [200603 12:34]: Hi Tony, On 31/05/2020 22:39, Tony Lindgren wrote: When booting without legacy platform data, we no longer have omap_device calling PM runtime suspend for us on suspend. This causes the driver context not be saved as

Re: [Bug Report] drivers/video/fbdev/kyro/fbdev.c: unsigned integer wrap-around might cause unexpected behavior

2020-06-09 Thread Bartlomiej Zolnierkiewicz
Hi, On 5/21/20 3:15 AM, Changming Liu wrote: > Hi Bartlomiej, > Greetings, I'm a first-year PhD student who is interested in the usage of > UBSan for linux. > And after some experiments, I found that in drivers/video/fbdev/kyro/fbdev.c > function kyro_dev_overlay_viewport_set, there is an

Re: [PATCH v2] fbdev: geode: Add the missed pci_disable_device() in gx1fb_map_video_memory()

2020-06-09 Thread Bartlomiej Zolnierkiewicz
Hi, On 6/5/20 6:14 PM, Chuhong Yuan wrote: > Although gx1fb_probe() has handled the failure of gx1fb_map_video_memory() > partly, it does not call pci_disable_device() as gx1fb_map_video_memory() > calls pci_enable_device(). > Add the missed function call to fix the bug. > > Fixes:

Re: [PATCH v5 0/3] Support virtio cross-device resources

2020-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2020 at 10:25:15AM +0900, David Stevens wrote: > This patchset implements the current proposal for virtio cross-device > resource sharing [1]. It will be used to import virtio resources into > the virtio-video driver currently under discussion [2]. The patch > under consideration

Re: [PATCH v3 03/43] drm/cma-helper: Add DRM_GEM_CMA_DRIVER_OPS to set default GEM CMA functions

2020-06-09 Thread Thomas Zimmermann
Hi Am 05.06.20 um 10:16 schrieb Laurent Pinchart: > Hi Thomas, > > Thank you for the patch. > > On Fri, Jun 05, 2020 at 09:32:07AM +0200, Thomas Zimmermann wrote: >> The macro to DRM_GEM_CMA_DRIVER_OPS sets GEM callbacks in struct drm_driver >> to their defaults for CMA. An variant of the macro

[PATCH v2] video: fbdev: uvesafb: fix "noblank" option handling

2020-06-09 Thread Bartlomiej Zolnierkiewicz
Fix the recent regression. Fixes: dbc7ece12a38 ("video: uvesafb: use true,false for bool variables") Cc: Jason Yan Reviewed-by: Sam Ravnborg Signed-off-by: Bartlomiej Zolnierkiewicz --- v2: - added Reviewed-by tag from Sam - removed no longer working Michal's email address from Cc:

[PATCH v3 07/15] drm/amdgpu: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-09 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 11 +-- 1 file changed, 1

[PATCH v3 02/15] PCI: Add macro for message signalled interrupt types

2020-06-09 Thread Piotr Stankiewicz
There are several places in the kernel which check/ask for MSI or MSI-X interrupts. It would make sense to have a macro which defines all types of message signalled interrupts, to use in such situations. Add PCI_IRQ_MSI_TYPES, for this purpose. Signed-off-by: Piotr Stankiewicz Suggested-by: Andy

[PATCH v3 00/15] Forward MSI-X vector enable error code in pci_alloc_irq_vectors_affinity()

2020-06-09 Thread Piotr Stankiewicz
The primary objective of this patch series is to change the behaviour of pci_alloc_irq_vectors_affinity() such that it forwards the MSI-X enable error code when appropriate. In the process, though, it was pointed out that there are multiple places in the kernel which check/ask for message

[PATCH v3 1/2] drm/shmem-helper: Add .gem_create_object helper that sets map_cached flag

2020-06-09 Thread Thomas Zimmermann
The helper drm_gem_shmem_create_object_cached() allocates an GEM SHMEM object and sets the map_cached flag. Useful for drivers that want cached mappings. v3: * style fixes Signed-off-by: Thomas Zimmermann Reviewed-by: Emil Velikov --- drivers/gpu/drm/drm_gem_shmem_helper.c | 27

[PATCH v3 0/2] drm/udl: Map pages with SHMEM helpers

2020-06-09 Thread Thomas Zimmermann
Udl implments cached mappings. Convert it to SHMEM's default helpers. This version contains only style fixes. I'm posting v3 mostly for reference before merging. v3: * rebased onto Daniel's shmem untangle series * style fixes v2: * keep writecombine mappings as the

[PATCH v3 2/2] drm/udl: Use GEM vmap/mmap function from SHMEM helpers

2020-06-09 Thread Thomas Zimmermann
The udl driver contains an implementation of GEM vmap and mmap operations that is identical to the common SHMEM helper; except that udl's code uses cached pages by default. Convert udl to regular SHMEM helper functions. There's no reason to have udl behave differently from all other SHMEM

Re: [PATCH 01/11] tty/sysrq: alpha: export and use __sysrq_get_key_op()

2020-06-09 Thread Guenter Roeck
On Wed, May 13, 2020 at 10:43:41PM +0100, Emil Velikov wrote: > Export a pointer to the sysrq_get_key_op(). This way we can cleanly > unregister it, instead of the current solutions of modifuing it inplace. > > Since __sysrq_get_key_op() is no longer used externally, let's make it > a static

Re: [PATCH v2 03/15] pwm: lpss: Add range limit check for the base_unit register value

2020-06-09 Thread Andy Shevchenko
On Mon, Jun 08, 2020 at 01:07:12PM +0200, Hans de Goede wrote: > On 6/8/20 5:50 AM, Andy Shevchenko wrote: > > On Sun, Jun 07, 2020 at 08:18:28PM +0200, Hans de Goede wrote: > > > When the user requests a high enough period ns value, then the > > > calculations in pwm_lpss_prepare() might result

[PATCH v5 3/3] drm/virtio: Support virtgpu exported resources

2020-06-09 Thread David Stevens
Add support for UUID-based resource sharing mechanism to virtgpu. This implements the new virtgpu commands and hooks them up to dma-buf's get_uuid callback. Signed-off-by: David Stevens --- drivers/gpu/drm/virtio/virtgpu_drv.c | 3 + drivers/gpu/drm/virtio/virtgpu_drv.h | 20 ++

Re: [PATCH 1/2] dt-binding: Add DSI/LVDS tc358775 bridge bindings

2020-06-09 Thread Vinay Simha B N
sam, This is my latest yaml file https://github.com/vinaysimhabn/kernel-msm/blob/5.6.0-rc3-d2l-wip/Documentation/devicetree/bindings/display/bridge/toshiba%2Ctc358775.yaml make CROSS_COMPILE=$TC64 ARCH=arm64 DT_SCHEMA_FILES=Documentation/devicetree/bindings/display/bridge/toshiba,tc358775.yaml

[PATCH v13 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP

2020-06-09 Thread Xin Ji
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. Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/Kconfig |9 + drivers/gpu/drm/bridge/analogix/Makefile |1 +

[PATCH v5 1/3] virtio: add dma-buf support for exported objects

2020-06-09 Thread David Stevens
This change adds a new flavor of dma-bufs that can be used by virtio drivers to share exported objects. A virtio dma-buf can be queried by virtio drivers to obtain the UUID which identifies the underlying exported object. Signed-off-by: David Stevens --- drivers/virtio/Makefile | 2 +-

Re: [PATCH v3 4/4] drm/virtio: Support virtgpu exported resources

2020-06-09 Thread David Stevens
On Mon, Jun 8, 2020 at 6:43 PM Michael S. Tsirkin wrote: > > On Fri, May 15, 2020 at 04:26:15PM +0900, David Stevens wrote: > > > > + if (virtio_has_feature(vgdev->vdev, VIRTIO_GPU_F_RESOURCE_UUID)) { > > > > + vgdev->has_resource_assign_uuid = true; > > > > + } > > > > > > >

[PATCH v13 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter DT schema

2020-06-09 Thread Xin Ji
anx7625: MIPI to DP transmitter DT schema Signed-off-by: Xin Ji Reviewed-by: Rob Herring --- .../bindings/display/bridge/analogix,anx7625.yaml | 95 ++ 1 file changed, 95 insertions(+) create mode 100644

[PATCH v5 2/3] virtio-gpu: add VIRTIO_GPU_F_RESOURCE_UUID feature

2020-06-09 Thread David Stevens
This feature allows the guest to request a UUID from the host for a particular virtio_gpu resource. The UUID can then be shared with other virtio devices, to allow the other host devices to access the virtio_gpu's corresponding host resource. Signed-off-by: David Stevens ---

Re: [PATCH v8 4/8] PM / EM: add support for other devices than CPUs in Energy Model

2020-06-09 Thread Lukasz Luba
On 6/8/20 2:25 PM, Dan Carpenter wrote: It's not really a proper bug report so it doesn't deserve a reported-by. Thanks, though! regards, dan carpenter Thank you Dan for your work. This is very much appreciated! Lukasz ___ dri-devel mailing

Re: [PATCH] drm/radeon: Convert get_user_pages() --> pin_user_pages()

2020-06-09 Thread Souptick Joarder
On Fri, May 29, 2020 at 12:58 PM John Hubbard wrote: > > On 2020-05-28 23:49, Souptick Joarder wrote: > ... > >> This is what case 3 was *intended* to cover, but it looks like case 3 > >> needs to > >> be written a little better. I'll attempt that, and Cc you on the actual > >> patch > >> to

[PATCH v2] drm/panfrost: Use kvfree() to free bo->sgts

2020-06-09 Thread Denis Efremov
Use kvfree() to free bo->sgts, because the memory is allocated with kvmalloc_array() in panfrost_mmu_map_fault_addr(). Fixes: 187d2929206e ("drm/panfrost: Add support for GPU heap allocations") Cc: sta...@vger.kernel.org Signed-off-by: Denis Efremov --- Change in v2: - kvfree() fixed in

[PATCH v5 0/3] Support virtio cross-device resources

2020-06-09 Thread David Stevens
This patchset implements the current proposal for virtio cross-device resource sharing [1]. It will be used to import virtio resources into the virtio-video driver currently under discussion [2]. The patch under consideration to add support in the virtio-video driver is [3]. It uses the APIs from

Re: [PATCH v8 4/8] PM / EM: add support for other devices than CPUs in Energy Model

2020-06-09 Thread Lukasz Luba
On 6/8/20 1:51 PM, Dan Carpenter wrote: On Mon, Jun 08, 2020 at 01:34:37PM +0100, Lukasz Luba wrote: Hi Dan, Thank you for your analyzes. On 6/8/20 12:51 PM, Dan Carpenter wrote: Hi Lukasz, I love your patch! Perhaps something to improve: url:

Re: [PATCH v8 4/8] PM / EM: add support for other devices than CPUs in Energy Model

2020-06-09 Thread Lukasz Luba
Hi Dan, Thank you for your analyzes. On 6/8/20 12:51 PM, Dan Carpenter wrote: Hi Lukasz, I love your patch! Perhaps something to improve: url: https://github.com/0day-ci/linux/commits/Lukasz-Luba/Add-support-for-devices-in-the-Energy-Model/20200527-180614 base:

Re: [PATCH v5 0/8] drm: rcar-du: Add Color Management Module (CMM)

2020-06-09 Thread Eugeniu Rosca
Hello, Many thanks for your comments and involvement. On Sun, Jun 07, 2020 at 05:41:58AM +0300, Laurent Pinchart wrote: > On Fri, Jun 05, 2020 at 03:53:15PM +0200, Jacopo Mondi wrote: > > On Fri, Jun 05, 2020 at 03:41:24PM +0200, Eugeniu Rosca wrote: > > > On Fri, Jun 05, 2020 at 03:29:00PM

Re: [PATCH v4 1/3] virtio: add dma-buf support for exported objects

2020-06-09 Thread David Stevens
On Mon, Jun 8, 2020 at 6:05 PM Michael S. Tsirkin wrote: > > On Mon, Jun 08, 2020 at 05:32:26PM +0900, David Stevens wrote: > > On Mon, Jun 8, 2020 at 3:00 PM Michael S. Tsirkin wrote: > > > > > > On Mon, Jun 08, 2020 at 10:33:09AM +0900, David Stevens wrote: > > > > On Sun, Jun 7, 2020 at 5:04

Re: [PATCH v4 1/3] virtio: add dma-buf support for exported objects

2020-06-09 Thread David Stevens
On Mon, Jun 8, 2020 at 3:00 PM Michael S. Tsirkin wrote: > > On Mon, Jun 08, 2020 at 10:33:09AM +0900, David Stevens wrote: > > On Sun, Jun 7, 2020 at 5:04 AM Michael S. Tsirkin wrote: > > > > > > On Fri, Jun 05, 2020 at 10:28:42AM +0900, David Stevens wrote: > > > > On Fri, Jun 5, 2020 at 4:05

Re: [PATCH v2 04/15] pwm: lpss: Fix off by one error in base_unit math in pwm_lpss_prepare()

2020-06-09 Thread Andy Shevchenko
On Mon, Jun 08, 2020 at 01:13:01PM +0200, Hans de Goede wrote: > On 6/8/20 5:55 AM, Andy Shevchenko wrote: > > On Sun, Jun 07, 2020 at 08:18:29PM +0200, Hans de Goede wrote: > > > According to the data-sheet the way the PWM controller works is that > > > each input clock-cycle the base_unit gets

[PATCH v13 0/2] Add initial support for slimport anx7625

2020-06-09 Thread Xin Ji
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 v13 version, any mistakes, please let me know, I will fix it in the next series. Change history: v13: Fix comments from

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

2020-06-09 Thread Michael Ellerman
On Mon, 30 Mar 2020 15:32:15 +0200, Michal Simek wrote: > 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 v5 06/13] drm/amd: Gate i2c transaction logs on drm_debug_syslog

2020-06-09 Thread Christian König
Am 08.06.20 um 23:04 schrieb Sean Paul: From: Sean Paul Since the logs protected by these checks specifically target syslog, use the new drm_debug_syslog_enabled() call to avoid triggering these prints when only trace is enabled. Mhm, of hand that doesn't looks like something which belongs

Re: [PATCH v6 3/5] drm/msm/dp: add displayPort driver support

2020-06-09 Thread kernel test robot
-for-Snapdragon/20200609-115137 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: arm-allyesconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin