[PATCH AUTOSEL 4.9 01/13] gpu: host1x: Detach driver on unregister

2020-07-01 Thread Sasha Levin
From: Thierry Reding [ Upstream commit d9a0a05bf8c76e6dc79230669a8b5d685b168c30 ] Currently when a host1x device driver is unregistered, it is not detached from the host1x controller, which means that the device will stay around and when the driver is registered again, it may bind to the old,

[PATCH AUTOSEL 4.19 04/27] gpu: host1x: Detach driver on unregister

2020-07-01 Thread Sasha Levin
From: Thierry Reding [ Upstream commit d9a0a05bf8c76e6dc79230669a8b5d685b168c30 ] Currently when a host1x device driver is unregistered, it is not detached from the host1x controller, which means that the device will stay around and when the driver is registered again, it may bind to the old,

[PATCH AUTOSEL 4.19 15/27] drm: panel-orientation-quirks: Use generic orientation-data for Acer S1003

2020-07-01 Thread Sasha Levin
From: Hans de Goede [ Upstream commit a05caf9e62a85d12da27e814ac13195f4683f21c ] The Acer S1003 has proper DMI strings for sys-vendor and product-name, so we do not need to match by BIOS-date. This means that the Acer S1003 can use the generic lcd800x1280_rightside_up

[PATCH AUTOSEL 4.14 02/17] gpu: host1x: Detach driver on unregister

2020-07-01 Thread Sasha Levin
From: Thierry Reding [ Upstream commit d9a0a05bf8c76e6dc79230669a8b5d685b168c30 ] Currently when a host1x device driver is unregistered, it is not detached from the host1x controller, which means that the device will stay around and when the driver is registered again, it may bind to the old,

[PATCH AUTOSEL 4.19 14/27] drm: panel-orientation-quirks: Add quirk for Asus T101HA panel

2020-07-01 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 6c22bc18a3b93a38018844636557ad02e588e055 ] Like the Asus T100HA the Asus T101HA also uses a panel which has been mounted 90 degrees rotated, albeit in the opposite direction. Add a quirk for this. Reviewed-by: Emil Velikov Signed-off-by: Hans de Goede

[PATCH AUTOSEL 4.19 03/27] drm/tegra: hub: Do not enable orphaned window group

2020-07-01 Thread Sasha Levin
From: Nicolin Chen [ Upstream commit ef4e417eb3ec7fe657928f10ac1d2154d8a5fb38 ] Though the unconditional enable/disable code is not a final solution, we don't want to run into a NULL pointer situation when window group doesn't link to its DC parent if the DC is disabled in Device Tree. So this

[PATCH AUTOSEL 4.19 19/27] drm/sun4i: mixer: Call of_dma_configure if there's an IOMMU

2020-07-01 Thread Sasha Levin
From: Maxime Ripard [ Upstream commit 842ec61f4006a6477a9deaedd69131e9f46e4cb5 ] The main DRM device is actually a virtual device so it doesn't have the iommus property, which is instead on the DMA masters, in this case the mixers. Add a call to of_dma_configure with the mixers DT node but on

[PATCH AUTOSEL 5.4 07/40] gpu: host1x: Detach driver on unregister

2020-07-01 Thread Sasha Levin
From: Thierry Reding [ Upstream commit d9a0a05bf8c76e6dc79230669a8b5d685b168c30 ] Currently when a host1x device driver is unregistered, it is not detached from the host1x controller, which means that the device will stay around and when the driver is registered again, it may bind to the old,

[PATCH AUTOSEL 5.4 05/40] drm/ttm: Fix dma_fence refcnt leak when adding move fence

2020-07-01 Thread Sasha Levin
From: Xiyu Yang [ Upstream commit 11425c4519e2c974a100fc984867046d905b9380 ] ttm_bo_add_move_fence() invokes dma_fence_get(), which returns a reference of the specified dma_fence object to "fence" with increased refcnt. When ttm_bo_add_move_fence() returns, local variable "fence" becomes

[PATCH AUTOSEL 5.4 31/40] drm/sun4i: mixer: Call of_dma_configure if there's an IOMMU

2020-07-01 Thread Sasha Levin
From: Maxime Ripard [ Upstream commit 842ec61f4006a6477a9deaedd69131e9f46e4cb5 ] The main DRM device is actually a virtual device so it doesn't have the iommus property, which is instead on the DMA masters, in this case the mixers. Add a call to of_dma_configure with the mixers DT node but on

[PATCH AUTOSEL 5.4 26/40] drm: panel-orientation-quirks: Add quirk for Asus T101HA panel

2020-07-01 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 6c22bc18a3b93a38018844636557ad02e588e055 ] Like the Asus T100HA the Asus T101HA also uses a panel which has been mounted 90 degrees rotated, albeit in the opposite direction. Add a quirk for this. Reviewed-by: Emil Velikov Signed-off-by: Hans de Goede

[PATCH AUTOSEL 5.4 09/40] drm: mcde: Fix display initialization problem

2020-07-01 Thread Sasha Levin
From: Linus Walleij [ Upstream commit b984b6d8b52372b98cce0a6ff6c2787f50665b87 ] The following bug appeared in the MCDE driver/display initialization during the recent merge window. First the place we call drm_fbdev_generic_setup() in the wrong place: this needs to be called AFTER calling

[PATCH AUTOSEL 5.4 27/40] drm: panel-orientation-quirks: Use generic orientation-data for Acer S1003

2020-07-01 Thread Sasha Levin
From: Hans de Goede [ Upstream commit a05caf9e62a85d12da27e814ac13195f4683f21c ] The Acer S1003 has proper DMI strings for sys-vendor and product-name, so we do not need to match by BIOS-date. This means that the Acer S1003 can use the generic lcd800x1280_rightside_up

[PATCH AUTOSEL 5.4 06/40] drm/tegra: hub: Do not enable orphaned window group

2020-07-01 Thread Sasha Levin
From: Nicolin Chen [ Upstream commit ef4e417eb3ec7fe657928f10ac1d2154d8a5fb38 ] Though the unconditional enable/disable code is not a final solution, we don't want to run into a NULL pointer situation when window group doesn't link to its DC parent if the DC is disabled in Device Tree. So this

[PATCH AUTOSEL 5.7 13/53] drm: mcde: Fix display initialization problem

2020-07-01 Thread Sasha Levin
From: Linus Walleij [ Upstream commit b984b6d8b52372b98cce0a6ff6c2787f50665b87 ] The following bug appeared in the MCDE driver/display initialization during the recent merge window. First the place we call drm_fbdev_generic_setup() in the wrong place: this needs to be called AFTER calling

[PATCH AUTOSEL 5.7 10/53] gpu: host1x: Detach driver on unregister

2020-07-01 Thread Sasha Levin
From: Thierry Reding [ Upstream commit d9a0a05bf8c76e6dc79230669a8b5d685b168c30 ] Currently when a host1x device driver is unregistered, it is not detached from the host1x controller, which means that the device will stay around and when the driver is registered again, it may bind to the old,

[PATCH AUTOSEL 5.7 07/53] drm/ttm: Fix dma_fence refcnt leak when adding move fence

2020-07-01 Thread Sasha Levin
From: Xiyu Yang [ Upstream commit 11425c4519e2c974a100fc984867046d905b9380 ] ttm_bo_add_move_fence() invokes dma_fence_get(), which returns a reference of the specified dma_fence object to "fence" with increased refcnt. When ttm_bo_add_move_fence() returns, local variable "fence" becomes

[PATCH AUTOSEL 5.7 34/53] drm: panel-orientation-quirks: Use generic orientation-data for Acer S1003

2020-07-01 Thread Sasha Levin
From: Hans de Goede [ Upstream commit a05caf9e62a85d12da27e814ac13195f4683f21c ] The Acer S1003 has proper DMI strings for sys-vendor and product-name, so we do not need to match by BIOS-date. This means that the Acer S1003 can use the generic lcd800x1280_rightside_up

[PATCH AUTOSEL 5.7 08/53] gpu: host1x: Clean up debugfs in error handling path

2020-07-01 Thread Sasha Levin
From: Christophe JAILLET [ Upstream commit 109be8b23fb2ec8e2d309325ee3b7a49eab63961 ] 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

[PATCH AUTOSEL 5.7 33/53] drm: panel-orientation-quirks: Add quirk for Asus T101HA panel

2020-07-01 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 6c22bc18a3b93a38018844636557ad02e588e055 ] Like the Asus T100HA the Asus T101HA also uses a panel which has been mounted 90 degrees rotated, albeit in the opposite direction. Add a quirk for this. Reviewed-by: Emil Velikov Signed-off-by: Hans de Goede

[PATCH AUTOSEL 5.7 38/53] drm/sun4i: mixer: Call of_dma_configure if there's an IOMMU

2020-07-01 Thread Sasha Levin
From: Maxime Ripard [ Upstream commit 842ec61f4006a6477a9deaedd69131e9f46e4cb5 ] The main DRM device is actually a virtual device so it doesn't have the iommus property, which is instead on the DMA masters, in this case the mixers. Add a call to of_dma_configure with the mixers DT node but on

[PATCH AUTOSEL 5.7 06/53] drm/ttm: Fix dma_fence refcnt leak in ttm_bo_vm_fault_reserved

2020-07-01 Thread Sasha Levin
From: Xiyu Yang [ Upstream commit 37cc4b95d13f311c04aa8e9daacca3905ad45ca7 ] ttm_bo_vm_fault_reserved() invokes dma_fence_get(), which returns a reference of the specified dma_fence object to "moving" with increased refcnt. When ttm_bo_vm_fault_reserved() returns, local variable "moving"

[PATCH AUTOSEL 5.7 09/53] drm/tegra: hub: Do not enable orphaned window group

2020-07-01 Thread Sasha Levin
From: Nicolin Chen [ Upstream commit ef4e417eb3ec7fe657928f10ac1d2154d8a5fb38 ] Though the unconditional enable/disable code is not a final solution, we don't want to run into a NULL pointer situation when window group doesn't link to its DC parent if the DC is disabled in Device Tree. So this

Re: [PATCH] drm/msm: ratelimit crtc event overflow error

2020-07-01 Thread abhinavk
On 2020-07-01 13:36, Rob Clark wrote: From: Rob Clark This can happen a lot when things go pear shaped. Lets not flood dmesg when this happens. Signed-off-by: Rob Clark Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] drm/bridge/synopsys: dsi: allows LP commands in video mode

2020-07-01 Thread kernel test robot
Hi Yannick, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.8-rc3 next-20200701] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https

RE: [PATCH 00/59] Add support for Keem Bay DRM driver

2020-07-01 Thread Chrisanthus, Anitha
Thanks much Sam for reviewing the code so quickly. I'll address your reviews in v2. Anitha > -Original Message- > From: Sam Ravnborg > Sent: Wednesday, July 1, 2020 12:01 AM > To: Chrisanthus, Anitha > Cc: dri-devel@lists.freedesktop.org; Paauwe, Bob J ; > Dea, Edmund J ; Vetter,

[PATCH] drm/msm: ratelimit crtc event overflow error

2020-07-01 Thread Rob Clark
From: Rob Clark This can happen a lot when things go pear shaped. Lets not flood dmesg when this happens. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c

Re: [PATCH v9 00/11] Genericize DW MIPI DSI bridge and add i.MX 6 driver

2020-07-01 Thread Adrian Ratiu
Hi Heiko, On Wed, 01 Jul 2020, Heiko Stübner wrote: Hi Adrian, Am Dienstag, 9. Juni 2020, 19:49:48 CEST schrieb Adrian Ratiu: [Re-submitting to cc dri-devel, sorry about the noise] Hello all, v9 cleanly applies on top of latest next-20200609 tree. at least it doesn't apply on top of

Re: [git pull] drm for 5.8-rc1

2020-07-01 Thread James Jones
OK, I think I see what's going on. In the Xorg modesetting driver, the logic is basically: if (gbm_has_modifiers && DRM_CAP_ADDFB2_MODIFIERS != 0) { drmModeAddFB2WithModifiers(..., gbm_bo_get_modifier(bo->gbm)); } else { drmModeAddFB(...); } There's no attempt to verify the DRM-KMS device

[pull] amdgpu drm-fixes-5.8

2020-07-01 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.8. The following changes since commit 5b83c254571b26e6b6110019929dc9729e5c59d1: Merge tag 'amd-drm-fixes-5.8-2020-06-24' of git://people.freedesktop.org/~agd5f/linux into drm-fixes (2020-06-25 14:51:14 +1000) are available in the Git repository at:

[PATCH] drm/bridge/synopsys: dsi: add support for non-continuous HS clock

2020-07-01 Thread Yannick Fertre
From: Antonio Borneo Current code enables the HS clock when video mode is started or to send out a HS command, and disables the HS clock to send out a LP command. This is not what DSI spec specify. Enable HS clock either in command and in video mode. Set automatic HS clock management for panels

[PATCH] drm/bridge/synopsys: dsi: allow LP commands in video mode

2020-07-01 Thread Yannick Fertre
From: Antonio Borneo Current code only sends LP commands in command mode. Allows sending LP commands also in video mode by setting the proper flag in DSI_VID_MODE_CFG. Signed-off-by: Antonio Borneo --- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 7 +++ 1 file changed, 7 insertions(+)

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

2020-07-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207383 --- Comment #35 from Duncan (1i5t5.dun...@cox.net) --- (In reply to mnrzk from comment #34) > Has anyone tried 5.8-rc3? I've been testing it out for the past 3 hours and > it seems stable to me. I have now (well, v5.8.0-rc3-00017-g7c30b859a).

Re: [PATCH] drm/vc4/vc4_hdmi: fill ASoC card owner

2020-07-01 Thread Stefan Wahren
Hi Marek, Am 01.07.20 um 09:39 schrieb Marek Szyprowski: > card->owner is a required property and since commit 81033c6b584b ("ALSA: > core: Warn on empty module") a warning is issued if it is empty. Fix lack > of it. This fixes following warning observed on RaspberryPi 3B board > with ARM 32bit

Re: [git pull] drm for 5.8-rc1

2020-07-01 Thread Karol Herbst
On Wed, Jul 1, 2020 at 7:37 PM James Jones wrote: > > On 7/1/20 10:04 AM, Karol Herbst wrote: > > On Wed, Jul 1, 2020 at 6:01 PM Daniel Vetter wrote: > >> > >> On Wed, Jul 1, 2020 at 5:51 PM James Jones wrote: > >>> > >>> On 7/1/20 4:24 AM, Karol Herbst wrote: > On Wed, Jul 1, 2020 at 6:45

Re: [git pull] drm for 5.8-rc1

2020-07-01 Thread James Jones
On 7/1/20 10:04 AM, Karol Herbst wrote: On Wed, Jul 1, 2020 at 6:01 PM Daniel Vetter wrote: On Wed, Jul 1, 2020 at 5:51 PM James Jones wrote: On 7/1/20 4:24 AM, Karol Herbst wrote: On Wed, Jul 1, 2020 at 6:45 AM James Jones wrote: This implies something is trying to use one of the old

Re: [PATCH v2] dt-bindings: display: Convert connectors to DT schema

2020-07-01 Thread Sam Ravnborg
Hi Rob On Tue, Jun 30, 2020 at 02:02:16PM -0600, Rob Herring wrote: > Convert the analog TV, DVI, HDMI, and VGA connector bindings to DT schema > format. > > Cc: Sam Ravnborg > Cc: Laurent Pinchart > Cc: Maxime Ripard > Signed-off-by: Rob Herring Reviewed-by: Sam Ravnborg > --- > v2: > -

Re: [PATCH] drm/msm: handle for EPROBE_DEFER for of_icc_get

2020-07-01 Thread Matthias Kaehlcke
On Wed, Jul 01, 2020 at 01:13:34PM -0400, Jonathan Marek wrote: > On 7/1/20 1:12 PM, Matthias Kaehlcke wrote: > > Hi Jonathan, > > > > On Tue, Jun 30, 2020 at 11:08:41PM -0400, Jonathan Marek wrote: > > > Check for EPROBE_DEFER instead of silently not using icc if the msm driver > > > probes

Re: [PATCH v7 00/13] Add support for PinePhone LCD panel

2020-07-01 Thread Sam Ravnborg
Hi Ondrej. On Wed, Jul 01, 2020 at 06:29:15PM +0200, Ondrej Jirman wrote: > This patchset adds support for the LCD panel of PinePhone. > > I've tested this on PinePhone 1.0 and 1.2. Thanks for this nive sereis. Applied the first 11 patches to drm-misc-next. The DTS files needs to go in via

Re: [PATCH] drm/msm: handle for EPROBE_DEFER for of_icc_get

2020-07-01 Thread Matthias Kaehlcke
Hi Jonathan, On Tue, Jun 30, 2020 at 11:08:41PM -0400, Jonathan Marek wrote: > Check for EPROBE_DEFER instead of silently not using icc if the msm driver > probes before the interconnect driver. Agreed with supporting deferred ICC probing. > Only check for EPROBE_DEFER because of_icc_get can

Re: [PATCH] drm/amd/display: remove redundant initialization of variable result

2020-07-01 Thread Alex Deucher
On Wed, Jul 1, 2020 at 10:59 AM Colin King wrote: > > From: Colin Ian King > > The variable result is being initialized with a value that is never read > and it is being updated later with a new value. The initialization is > redundant and can be removed. > > Addresses-Coverity: ("Unused

Re: [git pull] drm for 5.8-rc1

2020-07-01 Thread Karol Herbst
On Wed, Jul 1, 2020 at 6:01 PM Daniel Vetter wrote: > > On Wed, Jul 1, 2020 at 5:51 PM James Jones wrote: > > > > On 7/1/20 4:24 AM, Karol Herbst wrote: > > > On Wed, Jul 1, 2020 at 6:45 AM James Jones wrote: > > >> > > >> This implies something is trying to use one of the old > > >>

Re: [RFC PATCH] interconnect: qcom: add functions to query addr/cmds for a path

2020-07-01 Thread Jordan Crouse
On Wed, Jul 01, 2020 at 12:25:25AM -0400, Jonathan Marek wrote: > The a6xx GMU can vote for ddr and cnoc bandwidth, but it needs to be able > to query the interconnect driver for bcm addresses and commands. > > I'm not sure what is the best way to go about implementing this, this is > what I came

Re: [PATCH] drm/connector: Add of_drm_find_connector

2020-07-01 Thread kernel test robot
Hi Andy, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.8-rc3 next-20200701] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented

Re: [PATCH v6 00/13] Add support for PinePhone LCD panel

2020-07-01 Thread Linus Walleij
On Wed, Jul 1, 2020 at 6:30 PM Ondřej Jirman wrote: > On Wed, Jul 01, 2020 at 05:25:32PM +0200, Sam Ravnborg wrote: > > Hi Ondrej. > > > > On Wed, Jul 01, 2020 at 12:31:13PM +0200, Ondrej Jirman wrote: > > > This patchset adds support for the LCD panel of PinePhone. > > > > > > I've tested this

Re: [PATCH 2/4] drm/msm: dsi: Use OPP API to set clk/perf state

2020-07-01 Thread Matthias Kaehlcke
On Tue, Jun 30, 2020 at 05:26:14PM +0530, Rajendra Nayak wrote: > On SDM845 DSI needs to express a perforamnce state nit: performance > requirement on a power domain depending on the clock rates. > Use OPP table from DT to register with OPP framework and use > dev_pm_opp_set_rate() to set the

Re: [PATCH v6 02/13] dt-bindings: panel: Convert rocktech,jh057n00900 to yaml

2020-07-01 Thread Sam Ravnborg
On Wed, Jul 01, 2020 at 05:58:57PM +0200, Guido Günther wrote: > Hi Ondrej, > On Wed, Jul 01, 2020 at 12:31:15PM +0200, Ondrej Jirman wrote: > > Convert Rocktech MIPI DSI panel driver from txt to yaml bindings. > > > > Signed-off-by: Ondrej Jirman > > --- > >

Re: [PATCH v6 10/13] drm/panel: st7703: Enter sleep after display off

2020-07-01 Thread Guido Günther
Hi, On Wed, Jul 01, 2020 at 12:31:23PM +0200, Ondrej Jirman wrote: > The datasheet suggests to issue sleep in after display off > as a part of the panel's shutdown sequence. Out of curiosity: which exact datasheet did you use? Reviewed-by: Guido Günther > > Signed-off-by: Ondrej Jirman >

Re: [PATCH v6 11/13] drm/panel: st7703: Assert reset prior to powering down the regulators

2020-07-01 Thread Guido Günther
Hi, On Wed, Jul 01, 2020 at 12:31:24PM +0200, Ondrej Jirman wrote: > The reset pin is inverted, so if we don't assert reset, the actual gpio > will be high and may keep driving the IO port of the panel. Reviewed-by: Guido Günther > > Signed-off-by: Ondrej Jirman > Reviewed-by: Linus Walleij

Re: [PATCH v6 09/13] drm/panel: st7703: Add support for Xingbangda XBD599

2020-07-01 Thread Guido Günther
Hi, On Wed, Jul 01, 2020 at 12:31:22PM +0200, Ondrej Jirman wrote: > Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI LCD panel used in > PinePhone. Add support for it. Reviewed-by: Guido Günther > > Signed-off-by: Icenowy Zheng > Signed-off-by: Ondrej Jirman > Reviewed-by: Linus Walleij >

Re: [PATCH v6 08/13] drm/panel: st7703: Move generic part of init sequence to enable callback

2020-07-01 Thread Guido Günther
Hi, On Wed, Jul 01, 2020 at 12:31:21PM +0200, Ondrej Jirman wrote: > Calling sleep out and display on is a controller specific part > of the initialization process. Move it out of the panel specific > initialization function to the enable callback. Reviewed-by: Guido Günther > >

Re: [PATCH v6 07/13] drm/panel: st7703: Move code specific to jh057n closer together

2020-07-01 Thread Guido Günther
Hi, On Wed, Jul 01, 2020 at 12:31:20PM +0200, Ondrej Jirman wrote: > It's better than having it spread around the driver. Reviewed-by: Guido Günther > > Signed-off-by: Ondrej Jirman > Reviewed-by: Linus Walleij > --- > drivers/gpu/drm/panel/panel-sitronix-st7703.c | 50 +-- >

Re: [PATCH v6 06/13] drm/panel: st7703: Prepare for supporting multiple panels

2020-07-01 Thread Guido Günther
Hi, On Wed, Jul 01, 2020 at 12:31:19PM +0200, Ondrej Jirman wrote: > Parametrize the driver so that it can support more panels based > on st7703 controller. Reviewed-by: Guido Günther > > Signed-off-by: Ondrej Jirman > Reviewed-by: Linus Walleij > --- >

Re: [git pull] drm for 5.8-rc1

2020-07-01 Thread Daniel Vetter
On Wed, Jul 1, 2020 at 5:51 PM James Jones wrote: > > On 7/1/20 4:24 AM, Karol Herbst wrote: > > On Wed, Jul 1, 2020 at 6:45 AM James Jones wrote: > >> > >> This implies something is trying to use one of the old > >> DRM_FORMAT_MOD_NVIDIA_16BX2_BLOCK format modifiers with DRM-KMS without > >>

Re: [PATCH v6 05/13] drm/panel: st7703: Rename functions from jh057n prefix to st7703

2020-07-01 Thread Guido Günther
Hi, On Wed, Jul 01, 2020 at 12:31:18PM +0200, Ondrej Jirman wrote: > This is done so that code that's not specific to a particular > jh057n panel is named after the controller. Functions specific > to the panel are kept named after the panel. Reviewed-by: Guido Günther > > Signed-off-by:

Re: [PATCH v6 04/13] drm/panel: rocktech-jh057n00900: Rename the driver to st7703

2020-07-01 Thread Guido Günther
Hi, On Wed, Jul 01, 2020 at 12:31:17PM +0200, Ondrej Jirman wrote: > This rename is done so that the driver matches the name of the > display controller and in preparation for adding support for more > panels to the driver. > > This is just a basic file rename, with no code changes. Reviewed-by:

Re: [PATCH v6 02/13] dt-bindings: panel: Convert rocktech,jh057n00900 to yaml

2020-07-01 Thread Guido Günther
Hi Ondrej, On Wed, Jul 01, 2020 at 12:31:15PM +0200, Ondrej Jirman wrote: > Convert Rocktech MIPI DSI panel driver from txt to yaml bindings. > > Signed-off-by: Ondrej Jirman > --- > .../display/panel/rocktech,jh057n00900.txt| 23 --- > .../display/panel/rocktech,jh057n00900.yaml | 66

Re: [PATCH v6 00/13] Add support for PinePhone LCD panel

2020-07-01 Thread Guido Günther
Hi, On Wed, Jul 01, 2020 at 12:31:13PM +0200, Ondrej Jirman wrote: > This patchset adds support for the LCD panel of PinePhone. I gave this a quick spin on the Librem5 devkit so Tested-by: Guido Günther but please also adjust MAINTAINERS so we stay in the loop on driver changes. Cheers, --

Re: [git pull] drm for 5.8-rc1

2020-07-01 Thread James Jones
On 7/1/20 4:24 AM, Karol Herbst wrote: On Wed, Jul 1, 2020 at 6:45 AM James Jones wrote: This implies something is trying to use one of the old DRM_FORMAT_MOD_NVIDIA_16BX2_BLOCK format modifiers with DRM-KMS without first checking whether it is supported by the kernel. I had tried to force

[pull] amdgpu, amdkfd, radeon drm-next-5.9

2020-07-01 Thread Alex Deucher
Hi Dave, Daniel, Same great flavor, now with 0.2% more S-o-b. The following changes since commit 9ca1f474cea0edc14a1d7ec933e5472c0ff115d3: Merge tag 'amd-drm-next-5.8-2020-05-27' of git://people.freedesktop.org/~agd5f/linux into drm-next (2020-05-28 16:10:17 +1000) are available in the Git

Re: [RFC PATCH v2 0/3] RDMA: add dma-buf support

2020-07-01 Thread Daniel Vetter
On Wed, Jul 1, 2020 at 2:56 PM Christian König wrote: > > Am 01.07.20 um 14:39 schrieb Jason Gunthorpe: > > On Wed, Jul 01, 2020 at 11:03:06AM +0200, Christian König wrote: > >> Am 30.06.20 um 20:46 schrieb Xiong, Jianxin: > From: Jason Gunthorpe > Sent: Tuesday, June 30, 2020 10:35 AM

[PATCH] drm/vkms: add wait_for_vblanks in atomic_commit_tail

2020-07-01 Thread Sidong Yang
there is an error when igt test is run continuously. vkms_atomic_commit_tail() need to call drm_atomic_helper_wait_for_vblanks() for give up ownership of vblank events. without this code, next atomic commit will not enable vblank and raise timeout error. Signed-off-by: Sidong Yang ---

Re: [PATCH v6 00/13] Add support for PinePhone LCD panel

2020-07-01 Thread Sam Ravnborg
Hi Ondrej. On Wed, Jul 01, 2020 at 12:31:13PM +0200, Ondrej Jirman wrote: > This patchset adds support for the LCD panel of PinePhone. > > I've tested this on PinePhone 1.0 and 1.2. > > Please take a look. > > thank you and regards, > Ondrej Jirman > > Changes in v6: > - Fixed spacing in

[PATCH] drm/bridge/synopsys: dsi: allows LP commands in video mode

2020-07-01 Thread Yannick Fertre
From: Antonio Borneo Current code only sends LP commands in command mode. Allows sending LP commands also in video mode by setting the proper flag in DSI_VID_MODE_CFG. Signed-off-by: Antonio Borneo Change-Id: Ib78fa37bcc7559ce63017acd6ee0bbf00c61a397 Reviewed-on:

Re: [PATCH] drm/bridge/synopsys: dsi: allows LP commands in video mode

2020-07-01 Thread Sam Ravnborg
Hi Yannick. On Wed, Jul 01, 2020 at 04:52:58PM +0200, Yannick Fertre wrote: > From: Antonio Borneo > > Current code only sends LP commands in command mode. > > Allows sending LP commands also in video mode by setting the > proper flag in DSI_VID_MODE_CFG. > > Signed-off-by: Antonio Borneo >

Re: [PATCH 4/4] arm64: dts: sc7180: Add DSI and MDP OPP tables and power-domains

2020-07-01 Thread Matthias Kaehlcke
On Tue, Jun 30, 2020 at 05:26:16PM +0530, Rajendra Nayak wrote: > Add the OPP tables for DSI and MDP based on the perf state/clk > requirements, and add the power-domains property to specify the > scalable power domain. > > Signed-off-by: Rajendra Nayak Reviewed-by: Matthias Kaehlcke

Re: [PATCH 3/4] arm64: dts: sdm845: Add DSI and MDP OPP tables and power-domains

2020-07-01 Thread Matthias Kaehlcke
On Tue, Jun 30, 2020 at 05:26:15PM +0530, Rajendra Nayak wrote: > Add the OPP tables for DSI and MDP based on the perf state/clk > requirements, and add the power-domains property to specify the > scalable power domain. > > Signed-off-by: Rajendra Nayak > --- >

[PATCH] drm/amd/display: remove redundant initialization of variable result

2020-07-01 Thread Colin King
From: Colin Ian King The variable result is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King ---

[PATCH] drm/bridge/synopsys: dsi: allows LP commands in video mode

2020-07-01 Thread Yannick Fertre
From: Antonio Borneo Current code only sends LP commands in command mode. Allows sending LP commands also in video mode by setting the proper flag in DSI_VID_MODE_CFG. Signed-off-by: Antonio Borneo Change-Id: Ib78fa37bcc7559ce63017acd6ee0bbf00c61a397 Reviewed-on:

[PATCH] drm/bridge/synopsys: dsi: allow sending longer LP commands

2020-07-01 Thread Yannick Fertre
From: Antonio Borneo Current code does not properly computes the max length of LP commands that can be send during H or V sync, and rely on static values. Limiting the max LP length to 4 byte during the V-sync is overly conservative. Relax the limit and allows longer LP commands (16 bytes) to

Re: [RFC][PATCH 0/9] drm: Support simple-framebuffer devices and firmware fbs

2020-07-01 Thread Thomas Zimmermann
Hi Daniel, thanks for reviewing most of the patchset. Am 30.06.20 um 11:06 schrieb Daniel Vetter: > On Mon, Jun 29, 2020 at 11:39 AM Hans de Goede wrote: >> >> Hi, >> >> On 6/25/20 2:00 PM, Thomas Zimmermann wrote: >>> This patchset adds support for simple-framebuffer platform devices and >>> a

Re: [RFC][PATCH 0/9] drm: Support simple-framebuffer devices and firmware fbs

2020-07-01 Thread Thomas Zimmermann
Hi Hans Am 29.06.20 um 11:38 schrieb Hans de Goede: > Hi, > > On 6/25/20 2:00 PM, Thomas Zimmermann wrote: >> This patchset adds support for simple-framebuffer platform devices and >> a handover mechanism for native drivers to take-over control of the >> hardware. >> >> The new driver, called

[PATCH] drm/virtgpu: remove redundant assignments to width and height

2020-07-01 Thread Colin King
From: Colin Ian King Variables width and height are being assigned values that are never read. The assignments are redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/gpu/drm/virtio/virtgpu_display.c | 2 -- 1 file changed, 2

[PULL] drm-intel-fixes

2020-07-01 Thread Jani Nikula
Hi Dave & Daniel - Pretty quiet in the i915 front. drm-intel-fixes-2020-07-01: drm/i915 fixes for v5.8-rc4: - GVT fixes - Include asm sources for render cache clear batches BR, Jani. The following changes since commit 9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68: Linux 5.8-rc3 (2020-06-28

Re: [RFC PATCH v2 0/3] RDMA: add dma-buf support

2020-07-01 Thread Christian König
Am 01.07.20 um 14:39 schrieb Jason Gunthorpe: On Wed, Jul 01, 2020 at 11:03:06AM +0200, Christian König wrote: Am 30.06.20 um 20:46 schrieb Xiong, Jianxin: From: Jason Gunthorpe Sent: Tuesday, June 30, 2020 10:35 AM To: Xiong, Jianxin Cc: linux-r...@vger.kernel.org; Doug Ledford ; Sumit

Re: [PATCH v9 00/11] Genericize DW MIPI DSI bridge and add i.MX 6 driver

2020-07-01 Thread Heiko Stübner
Hi Adrian, Am Dienstag, 9. Juni 2020, 19:49:48 CEST schrieb Adrian Ratiu: > [Re-submitting to cc dri-devel, sorry about the noise] > > Hello all, > > v9 cleanly applies on top of latest next-20200609 tree. at least it doesn't apply on top of current drm-misc-next for me which I really don't

Re: [PATCH] MAINTAINERS: Add myself as DMA-buf maintainer

2020-07-01 Thread Sumit Semwal
Thanks for all the good work here, Christian! On Wed, 1 Jul 2020 at 17:20, Daniel Vetter wrote: > > On Wed, Jul 1, 2020 at 1:26 PM Christian König > wrote: > > > > As discussed on the list. > > > > Signed-off-by: Christian König > > Acked-by: Daniel Vetter Acked-by: Sumit Semwal > > --- > >

Re: [RFC PATCH v2 0/3] RDMA: add dma-buf support

2020-07-01 Thread Daniel Vetter
On Wed, Jul 01, 2020 at 02:07:44PM +0200, Daniel Vetter wrote: > Either my mailer ate half the thread or it's still stuck somewhere, so > jumping in the middle a bit. > > On Wed, Jul 01, 2020 at 11:03:06AM +0200, Christian König wrote: > > Am 30.06.20 um 20:46 schrieb Xiong, Jianxin: > > > >

Re: [PATCH] drm/stm: repair runtime power management

2020-07-01 Thread Yannick FERTRE
On 3/9/20 12:57 PM, Marek Vasut wrote: > On 3/9/20 11:35 AM, Yannick FERTRE wrote: >> Hello Marek, > > Hi, > > (please stop top-posting) > >> Thank for your patch. Pm_runtime_put_sync is also done into function >> ltdc_crtc_mode_fixup. >> To avoid several call of Pm_runtime_put_sync, it

Re: [RFC PATCH v2 0/3] RDMA: add dma-buf support

2020-07-01 Thread Daniel Vetter
Either my mailer ate half the thread or it's still stuck somewhere, so jumping in the middle a bit. On Wed, Jul 01, 2020 at 11:03:06AM +0200, Christian König wrote: > Am 30.06.20 um 20:46 schrieb Xiong, Jianxin: > > > -Original Message- > > > From: Jason Gunthorpe > > > Sent: Tuesday,

[PATCH] drm/stm: ltdc: remove call of pm-runtime functions

2020-07-01 Thread Yannick Fertre
It is not necessary to suspend or stop the ltdc clocks to modify the pixel clock. Signed-off-by: Yannick Fertre --- drivers/gpu/drm/stm/ltdc.c | 16 1 file changed, 16 deletions(-) diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c index

Re: [PATCH] drm: gma500: Convert to GPIO descriptors

2020-07-01 Thread Patrik Jakobsson
On Sun, Jun 28, 2020 at 1:29 AM Linus Walleij wrote: > > Finalize he conversion of GMA500 to use only GPIO descriptors. > The GPIO look-up-table is associated with the device directly > in the GMA500 Medfield chip driver since no explicit platform > type device (such as in x86/platform/intel-mid)

Re: [PATCH] MAINTAINERS: Add myself as DMA-buf maintainer

2020-07-01 Thread Sumit Semwal
Thanks for all the good work here, Christian! On Wed, 1 Jul 2020, 17:20 Daniel Vetter, wrote: > On Wed, Jul 1, 2020 at 1:26 PM Christian König > wrote: > > > > As discussed on the list. > > > > Signed-off-by: Christian König > > Acked-by: Daniel Vetter > Acked-by: Sumit Semwal > --- > >

Re: [RESEND PATCH 2/3] drm/mediatek: mtk_dpi: Convert to bridge driver

2020-07-01 Thread Boris Brezillon
On Mon, 18 May 2020 19:39:08 +0200 Enric Balletbo i Serra wrote: > Convert mtk_dpi to a bridge driver with built-in encoder support for > compatibility with existing component drivers. > > Signed-off-by: Enric Balletbo i Serra > Reviewed-by: Chun-Kuang Hu > --- > >

Re: [PATCH] MAINTAINERS: Add myself as DMA-buf maintainer

2020-07-01 Thread Daniel Vetter
On Wed, Jul 1, 2020 at 1:26 PM Christian König wrote: > > As discussed on the list. > > Signed-off-by: Christian König Acked-by: Daniel Vetter > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 40474982a21d..5d7130f8d342 100644 > ---

Re: [RESEND PATCH 3/3] drm/mediatek: mtk_dpi: Use simple encoder

2020-07-01 Thread Boris Brezillon
On Mon, 18 May 2020 19:39:09 +0200 Enric Balletbo i Serra wrote: > The mtk_dpi driver uses an empty implementation for its encoder. Replace > the code with the generic simple encoder. > > Signed-off-by: Enric Balletbo i Serra > Reviewed-by: Chun-Kuang Hu > --- > >

Re: [RESEND PATCH 1/3] drm/mediatek: mtk_dpi: Rename bridge to next_bridge

2020-07-01 Thread Boris Brezillon
On Wed, 1 Jul 2020 13:23:03 +0200 Boris Brezillon wrote: > On Mon, 18 May 2020 19:39:07 +0200 > Enric Balletbo i Serra wrote: > > > This is really a cosmetic change just to make a bit more readable the > > code after convert the driver to drm_bridge. The bridge variable name > > will be used

[PATCH] MAINTAINERS: Add myself as DMA-buf maintainer

2020-07-01 Thread Christian König
As discussed on the list. Signed-off-by: Christian König --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 40474982a21d..5d7130f8d342 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5089,6 +5089,7 @@ F:fs/dlm/ DMA BUFFER SHARING

Re: [git pull] drm for 5.8-rc1

2020-07-01 Thread Karol Herbst
On Wed, Jul 1, 2020 at 6:45 AM James Jones wrote: > > This implies something is trying to use one of the old > DRM_FORMAT_MOD_NVIDIA_16BX2_BLOCK format modifiers with DRM-KMS without > first checking whether it is supported by the kernel. I had tried to > force an Xorg+Mesa stack without my

Re: [RESEND PATCH 1/3] drm/mediatek: mtk_dpi: Rename bridge to next_bridge

2020-07-01 Thread Boris Brezillon
On Mon, 18 May 2020 19:39:07 +0200 Enric Balletbo i Serra wrote: > This is really a cosmetic change just to make a bit more readable the > code after convert the driver to drm_bridge. The bridge variable name > will be used by the encoder drm_bridge, and the chained bridge will be > named

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

2020-07-01 Thread Sam Ravnborg
Hi Vinay. On Wed, Jul 01, 2020 at 03:14:09PM +0530, Vinay Simha B N wrote: > sam, > > I rechecked, but did not find any indents are too spaced. > This is taken from a working dts tree. > port@1 { | reg = <1>; | dsi0_out: endpoint { |

Re: [PATCH v6 2/4] driver core: add deferring probe reason to devices_deferred property

2020-07-01 Thread Grygorii Strashko
Hi On 29/06/2020 14:28, Andrzej Hajda wrote: Hi Grygorii, (...)   /*    * deferred_devs_show() - Show the devices in the deferred probe pending list.    */ @@ -221,7 +241,8 @@ static int deferred_devs_show(struct seq_file *s, void *data)   mutex_lock(_probe_mutex);    

Re: [PATCH] drm: fix double free for gbo in drm_gem_vram_init and drm_gem_vram_create

2020-07-01 Thread Jia Yang
Thanks for your suggestion, I can make the patch. But the problem is reported by tool "Hulk Robot" and only happen one time. No scripts are left, so I have no exact environment to test. On 2020/7/1 14:56, Thomas Zimmermann wrote: > Hi > > Thanks for the patch and apologies for being late with

Re: [PATCH] backlight: Delete the OT200 backlight driver

2020-07-01 Thread Lee Jones
On Fri, 26 Jun 2020, Linus Walleij wrote: > This driver has no in-kernel users. The device can only be populated > by board files since it does not support device tree nor ACPI, > and nothing in the kernel creates a device named "ot200-backlight". > > This driver has been in the kernel since

Re: [PATCH] backlight: lms501kf03: Drop unused include

2020-07-01 Thread Lee Jones
On Fri, 26 Jun 2020, Linus Walleij wrote: > This driver includes but does not use any > symbols from that file, drop the include. > > Signed-off-by: Linus Walleij > --- > drivers/video/backlight/lms501kf03.c | 1 - > 1 file changed, 1 deletion(-) Applied, thanks. -- Lee Jones [李琼斯] Senior

Re: [PATCH 2/2] backlight: sky81452: Privatize platform data

2020-07-01 Thread Lee Jones
On Fri, 26 Jun 2020, Linus Walleij wrote: > The only way the platform data for the SKY81452 ever gets populated > is through the device tree. > > The MFD device is bothered with this for no reason at all. Just > allocate the platform data in the driver and be happy. > > Cc: Gyungoh Yoo >

Re: [PATCH v1 0/7] drm_connector: drop legacy drm_bus_flags

2020-07-01 Thread Sam Ravnborg
On Tue, Jun 30, 2020 at 08:05:38PM +0200, Sam Ravnborg wrote: > Drop all uses of legacy drm_bus_flags, and then drop the flags. > Follow-up with a patch to inline the documentation of the flags. > > The conversion was triggered by Laurent's clean-up of > the bus_flags use in panel-simple. >

Re: [PATCH 1/2] backlight: sky81452: Convert to GPIO descriptors

2020-07-01 Thread Lee Jones
On Fri, 26 Jun 2020, Linus Walleij wrote: > The SKY81452 backlight driver just obtains a GPIO (named "gpios" > in the device tree) drives it high and leaves it high until the > driver is removed. > > Switch to use GPIO descriptors for this, simple and > straight-forward. > > Cc: Gyungoh Yoo >

Re: [PATCH v5 2/2] display/drm/bridge: TC358775 DSI/LVDS driver

2020-07-01 Thread Sam Ravnborg
Hi Vinay. On Wed, Jul 01, 2020 at 12:33:37PM +0530, Vinay Simha BN wrote: Please provide some kind of changlog. for example info where this bridge is used. > Signed-off-by: Vinay Simha BN Some comments in the following. Sam > > --- > v1: > Initial version > > v2: > * Andrzej

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

2020-07-01 Thread Sam Ravnborg
Hi Vinay. On Wed, Jul 01, 2020 at 12:33:36PM +0530, Vinay Simha BN wrote: > This driver is tested with two panels with Apq8016-IFC6309 board > https://www.inforcecomputing.com/products/single-board-computers-sbc/qualcomm-snapdragon-410-inforce-6309-micro-sbc > > 1. 1366x768@60 auo,b101xtn01

  1   2   >