Re: [PULL] drm-intel-next-fixes

2020-08-10 Thread Dave Airlie
On Fri, 31 Jul 2020 at 02:26, Joonas Lahtinen wrote: > > Hi Dave & Daniel, > > (Covering for Jani here for drm-intel-next-fixes) > > 5 new commits over drm-intel-next here. > > Fix for KASAN detected race condition and linux-next scheduler > WARNs. Patch to avoid IRQ spinlock and Cc: stable PMU re

Re: [PATCH v9 3/5] drm/msm/dp: add support for DP PLL driver

2020-08-10 Thread Stephen Boyd
Quoting Rob Clark (2020-08-07 08:51:48) > On Fri, Aug 7, 2020 at 8:27 AM Randy Dunlap wrote: > > > > On 8/7/20 12:17 AM, Tanmay Shah wrote: > > > diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig > > > index ea3c4d094d09..cc1392b29022 100644 > > > --- a/drivers/gpu/drm/msm/Kco

[PATCH 6/7] ARM: dts: r8a7742: Add LVDS support

2020-08-10 Thread Lad Prabhakar
Add LVDS encoder node to r8a7742 SoC DT. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- arch/arm/boot/dts/r8a7742.dtsi | 54 ++ 1 file changed, 54 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi i

[RESEND v7, PATCH 1/7] dt-bindings: mediatek: add rdma_fifo_size description for mt8183 display

2020-08-10 Thread Yongqiang Niu
rdma fifo size may be different even in same SOC, add this property to the corresponding rdma Change-Id: I67635ec7f3f59cf4cbc7737285e5e28ff0ab71c9 Signed-off-by: Yongqiang Niu --- .../devicetree/bindings/display/mediatek/mediatek,disp.txt | 14 ++ 1 file changed, 14 insertions(+) di

[PATCH] drm: amdgpu: Use the correct size when allocating memory

2020-08-10 Thread Christophe JAILLET
When '*sgt' is allocated, we must allocated 'sizeof(**sgt)' bytes instead of 'sizeof(*sg)'. 'sg' (i.e. struct scatterlist) is smaller than 'sgt' (i.e struct sg_table), so this could lead to memory corruption. Fixes: f44ffd677fb3 ("drm/amdgpu: add support for exporting VRAM using DMA-buf v3") Sign

Re: [PATCH 2/7] drm: rcar-du: Add r8a7742 support

2020-08-10 Thread Lad, Prabhakar
Hi Laurent, Thank you for the review. On Sat, Aug 8, 2020 at 10:02 PM Laurent Pinchart wrote: > > Hi Prabhakar, > > Thank you for the patch. > > On Fri, Aug 07, 2020 at 06:49:49PM +0100, Lad Prabhakar wrote: > > Add direct support for the r8a7742 (RZ/G1H). > > > > The RZ/G1H shares a common, com

Re: [PATCH v9 3/5] drm/msm/dp: add support for DP PLL driver

2020-08-10 Thread Randy Dunlap
On 8/7/20 12:17 AM, Tanmay Shah wrote: > diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig > index ea3c4d094d09..cc1392b29022 100644 > --- a/drivers/gpu/drm/msm/Kconfig > +++ b/drivers/gpu/drm/msm/Kconfig > @@ -60,6 +60,7 @@ config DRM_MSM_HDMI_HDCP > config DRM_MSM_DP >

[PATCH 7/7] ARM: dts: r8a7742-iwg21d-q7: Add LCD support

2020-08-10 Thread Lad Prabhakar
The iwg21d comes with a 7" capacitive touch screen, therefore add support for it. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | 84 + 1 file changed, 84 insertions(+) diff --git a/arch/arm/boot/dts/r8a774

Re: [Freedreno] [v1] drm/msm/dpu: Fix reservation failures in modeset

2020-08-10 Thread kalyan_t
On 2020-08-06 22:15, Rob Clark wrote: On Thu, Aug 6, 2020 at 7:46 AM wrote: On 2020-08-05 21:18, Rob Clark wrote: > On Wed, Aug 5, 2020 at 6:34 AM Kalyan Thota > wrote: >> >> In TEST_ONLY commit, rm global_state will duplicate the >> object and request for new reservations, once they pass >>

Re: [PATCH v9 2/5] drm/msm/dp: add displayPort driver support

2020-08-10 Thread Randy Dunlap
On 8/7/20 12:17 AM, Tanmay Shah wrote: > diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig > index 6deaa7d01654..ea3c4d094d09 100644 > --- a/drivers/gpu/drm/msm/Kconfig > +++ b/drivers/gpu/drm/msm/Kconfig > @@ -57,6 +57,14 @@ config DRM_MSM_HDMI_HDCP > help > Choo

Re: [PATCH v9 3/5] drm/msm/dp: add support for DP PLL driver

2020-08-10 Thread Randy Dunlap
On 8/7/20 1:24 PM, Stephen Boyd wrote: > Quoting Rob Clark (2020-08-07 08:51:48) >> On Fri, Aug 7, 2020 at 8:27 AM Randy Dunlap wrote: >>> >>> On 8/7/20 12:17 AM, Tanmay Shah wrote: diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig index ea3c4d094d09..cc1392b29022 10

[PATCH V3 1/2] dt-bindings: Add DT bindings for Toshiba TC358762 DSI-to-DPI bridge

2020-08-10 Thread Marek Vasut
Add DT bindings for Toshiba TC358762 DSI-to-DPI bridge, this one is used in the Raspberry Pi 7" touchscreen display unit. Signed-off-by: Marek Vasut To: dri-devel@lists.freedesktop.org Cc: Eric Anholt Cc: Rob Herring Cc: Sam Ravnborg Cc: devicet...@vger.kernel.org --- V2: Fix dt_binding_check

[RESEND v7, PATCH 5/7] drm/mediatek: add fifo_size into rdma private data

2020-08-10 Thread Yongqiang Niu
Get the fifo size from device tree because each rdma in the same SoC may have different fifo size Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_disp_rd

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

2020-08-10 Thread Vinay Simha B N
Hi All, Please Review the patch On Wed, Jul 29, 2020 at 6:01 PM Vinay Simha B N wrote: > Hi All, > > Please Review the patch > > On Fri, Jul 10, 2020 at 7:11 PM Vinay Simha BN wrote: > >> - license modified to (GPL-2.0-only OR BSD-2-Clause) >> - single-link and dual-link lvds description and >

Re: [PATCH v5 00/14] Add regulator devfreq support to Panfrost

2020-08-10 Thread Clément Péron
Hi Rob, On Fri, 7 Aug 2020 at 18:13, Rob Herring wrote: > > On Fri, Jul 10, 2020 at 3:54 AM Clément Péron wrote: > > > > Hi, > > > > This serie cleans and adds regulator support to Panfrost devfreq. > > This is mostly based on comment for the freshly introduced lima > > devfreq. > > > > We need

[PATCH v3] platform/x86: Add new vga-switcheroo gmux driver for ACPI-driven muxes

2020-08-10 Thread Daniel Dadap
Some upcoming notebook designs utilize display muxes driven by a pair of ACPI methods, MXDM to query and configure the operational mode of the mux (integrated only, discrete only, hybrid non-muxed, hybrid with dynamic mux switching), and MXDS to query and set the mux state when running in dynamic s

[PATCH 7/7] dyndbg: enable 'cache' of active pr_debug callsites

2020-08-10 Thread Jim Cromie
in ddebug_zpool_put() dont zs_unmap the callsite, if it is enabled for printing. This will eliminate possibly repeated un-maps then re-maps of enabled and invoked pr-debug callsites, and will promptly retire all other uses. But this causes kernel to BUG [1.364303] BUG: sleeping function calle

[PATCH V3 2/2] drm/bridge: tc358762: Add basic driver for Toshiba TC358762 DSI-to-DPI bridge

2020-08-10 Thread Marek Vasut
Add very basic driver for Toshiba TC358762 DSI-to-DPI bridge, derived from tc358764 driver and panel-raspberrypi-touchscreen. This driver is meant to replace the panel-raspberrypi-touchscreen too, as the bridge connection can be described in DT too. Signed-off-by: Marek Vasut To: dri-devel@lists.

[PATCH 1/7] dt-bindings: display: renesas, du: Document the r8a7742 bindings

2020-08-10 Thread Lad Prabhakar
Document the RZ/G1H (R8A7742) SoC in the R-Car DU bindings. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- Documentation/devicetree/bindings/display/renesas,du.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/renesas,du.t

Re: [PATCH v9 2/5] drm/msm/dp: add displayPort driver support

2020-08-10 Thread Randy Dunlap
On 8/7/20 9:09 AM, Guenter Roeck wrote: > On Fri, Aug 7, 2020 at 8:37 AM Randy Dunlap wrote: >> >> On 8/7/20 12:17 AM, Tanmay Shah wrote: >>> diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig >>> index 6deaa7d01654..ea3c4d094d09 100644 >>> --- a/drivers/gpu/drm/msm/Kconfig >>>

[RESEND v7, PATCH 7/7] arm64: dts: add display nodes for mt8183

2020-08-10 Thread Yongqiang Niu
This patch add display nodes for mt8183 Signed-off-by: Yongqiang Niu --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 98 1 file changed, 98 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 7b781

[RESEND v7, PATCH 6/7] drm/mediatek: add support for mediatek SOC MT8183

2020-08-10 Thread Yongqiang Niu
This patch add support for mediatek SOC MT8183 1. add ovl private data 2. add rdma private data 3. add mutes private data 4. add main and external path module for crtc create Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 18 drivers/gpu/drm/mediatek/mtk

Re: [PATCH 5/7] ARM: dts: r8a7742: Add DU support

2020-08-10 Thread Lad, Prabhakar
Hi Sergei, Thank you for the review. On Fri, Aug 7, 2020 at 8:48 PM Sergei Shtylyov wrote: > > Hello! > > On 8/7/20 8:49 PM, Lad Prabhakar wrote: > > > Add du node to r8a7742 SoC DT. Boards that want to enable the DU > > Both "du" and "DU" on a single line? :-) > Argh my bad. Cheers, Prabhaka

Re: [PATCH 3/7] dt-bindings: display: renesas, lvds: Document r8a7742 bindings

2020-08-10 Thread Lad, Prabhakar
Hi Laurent, Thank you for the review. On Sat, Aug 8, 2020 at 10:05 PM Laurent Pinchart wrote: > > On Sun, Aug 09, 2020 at 12:03:27AM +0300, Laurent Pinchart wrote: > > Hi Prabhakar, > > > > Thank you for the patch. > > > > On Fri, Aug 07, 2020 at 06:49:50PM +0100, Lad Prabhakar wrote: > > > Docu

[PATCH] dma-buf.rst: repair length of title underline

2020-08-10 Thread Lukas Bulwahn
With commit 72b6ede73623 ("dma-buf.rst: Document why indefinite fences are a bad idea"), document generation warns: Documentation/driver-api/dma-buf.rst:182: \ WARNING: Title underline too short. Repair length of title underline to remove warning. Fixes: 72b6ede73623 ("dma-buf.rst: Document

[PATCH 2/7] drm: rcar-du: Add r8a7742 support

2020-08-10 Thread Lad Prabhakar
Add direct support for the r8a7742 (RZ/G1H). The RZ/G1H shares a common, compatible configuration with the r8a7790 (R-Car H2) so that device info structure is reused, the only difference being TCON is unsupported on RZ/G1H (Currently unsupported by the driver). Signed-off-by: Lad Prabhakar Revie

[PATCH 5/7] ARM: dts: r8a7742: Add DU support

2020-08-10 Thread Lad Prabhakar
Add du node to r8a7742 SoC DT. Boards that want to enable the DU need to specify the output topology. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- arch/arm/boot/dts/r8a7742.dtsi | 35 ++ 1 file changed, 35 insertions(+) diff --git a/arch

[RESEND v7, PATCH 2/7] drm/mediatek: move ddp component define into mtk_mmsys.h

2020-08-10 Thread Yongqiang Niu
mmsys is the driver which control the routing of these ddp component, so the definition of mtk_ddp_comp_id should be placed in mtk-mmsys.h Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 34 + drivers/soc/mediatek/mtk-mmsys.c

[v2] drm/msm/dpu: Fix reservation failures in modeset

2020-08-10 Thread Kalyan Thota
In TEST_ONLY commit, rm global_state will duplicate the object and request for new reservations, once they pass then the new state will be swapped with the old and will be available for the Atomic Commit. This patch fixes some of missing links in the resource reservation sequence mentioned above.

[PATCH 3/7] dt-bindings: display: renesas, lvds: Document r8a7742 bindings

2020-08-10 Thread Lad Prabhakar
Document the RZ/G1H (R8A7742) LVDS bindings. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- .../devicetree/bindings/display/bridge/renesas,lvds.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/bridge/renesas,lvds.t

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

2020-08-10 Thread Vinay Simha B N
Hi All, Please Review the patch On Wed, Jul 29, 2020 at 6:01 PM Vinay Simha B N wrote: > Hi All, > > Please Review the patch > > On Fri, Jul 10, 2020 at 7:11 PM Vinay Simha BN wrote: > >> This driver is tested with two panels individually with Apq8016-IFC6309 >> board >> >> https://www.inforce

Re: [PATCH 5/7] ARM: dts: r8a7742: Add DU support

2020-08-10 Thread Sergei Shtylyov
Hello! On 8/7/20 8:49 PM, Lad Prabhakar wrote: > Add du node to r8a7742 SoC DT. Boards that want to enable the DU Both "du" and "DU" on a single line? :-) > need to specify the output topology. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > [...] MBR, Sergei __

Re: [PATCH 6/7] ARM: dts: r8a7742: Add LVDS support

2020-08-10 Thread Lad, Prabhakar
Hi Laurent, Thank you for the review. On Sat, Aug 8, 2020 at 10:13 PM Laurent Pinchart wrote: > > Hi Prabhakar, > > Thank you for the patch. > > On Fri, Aug 07, 2020 at 06:49:53PM +0100, Lad Prabhakar wrote: > > Add LVDS encoder node to r8a7742 SoC DT. > > > > Signed-off-by: Lad Prabhakar > > R

[PATCH 2/2] regulator: rpi-panel: Add regulator/backlight driver for RPi panel

2020-08-10 Thread Marek Vasut
This regulator/backlight driver handles the ATTINY88 present on the RPi 7" touchscreen panel and exposes the power/backlight interfaces. Signed-off-by: Marek Vasut To: dri-devel@lists.freedesktop.org Cc: Eric Anholt Cc: Mark Brown Cc: Sam Ravnborg --- drivers/regulator/Kconfig

[RESEND v7, PATCH 3/7] mtk-mmsys: add mmsys private data

2020-08-10 Thread Yongqiang Niu
the reason why split out display connection function: 1. there will more and more Mediatek Soc upstream, and the display path connection function mtk_mmsys_ddp_mout_en, mtk_mmsys_ddp_sel_in and mtk_mmsys_ddp_sout_sel will complicated more and more 2. many of the connection are only used in some SoC

[RESEND v7, PATCH 0/7] add drm support for MT8183

2020-08-10 Thread Yongqiang Niu
This series are based on 5.8-rc1 and provide 7 patch to support mediatek SOC MT8183 Change since v6 - move ddp component define into mtk_mmsys.h - add mmsys private data to support different ic path connection - add mt8183-mmsys.c to support 8183 path connection - fix reviewed issue in v6 Change

[PATCH 4/7] drm: rcar-du: lvds: Add r8a7742 support

2020-08-10 Thread Lad Prabhakar
The LVDS encoders on RZ/G1H SoC is identical to the R-Car Gen2 family. Add support for RZ/G1H (R8A7742) SoC to the LVDS encoder driver. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 1 + 1 file changed, 1 insertion(+) diff --git a/d

Re: [PATCH v5 00/14] Add regulator devfreq support to Panfrost

2020-08-10 Thread Clément Péron
On Fri, 7 Aug 2020 at 18:28, Clément Péron wrote: > > Hi Rob, > > On Fri, 7 Aug 2020 at 18:13, Rob Herring wrote: > > > > On Fri, Jul 10, 2020 at 3:54 AM Clément Péron wrote: > > > > > > Hi, > > > > > > This serie cleans and adds regulator support to Panfrost devfreq. > > > This is mostly based

Re: [PATCH 7/7] ARM: dts: r8a7742-iwg21d-q7: Add LCD support

2020-08-10 Thread Lad, Prabhakar
Hi Laurent, Thank you for the review. On Sat, Aug 8, 2020 at 10:23 PM Laurent Pinchart wrote: > > Hi Prabhakar, > > Thank you for the patch. > > On Fri, Aug 07, 2020 at 06:49:54PM +0100, Lad Prabhakar wrote: > > The iwg21d comes with a 7" capacitive touch screen, therefore > > add support for i

[PATCH 0/7] r8a7742: Enable DU and LVDS

2020-08-10 Thread Lad Prabhakar
Hi All, This patch series adds support for DU and LVDS to r8a7742 SoC and enables LCD support on r8a7742-iwg21d-q7 board. This patch series applies on top of [1]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/geert/ renesas-devel.git/log/?h=renesas-arm-dt-for-v5.10 Cheers, Prabhakar

Questions related to NIR, LLVMPipe

2020-08-10 Thread vivek pandya
Hello, According to https://en.wikipedia.org/wiki/Mesa_(computer_graphics) LLVMPipe driver is supposed to use NIR instead of TGSI. Is there any status update page? Is there any code for NIR parser/reader which can read text of NIR? Sincerely, Vivek __

Re: [PATCH 0/7] r8a7742: Enable DU and LVDS

2020-08-10 Thread Lad, Prabhakar
Hi Laurent, Thank you for the quick review. On Sat, Aug 8, 2020 at 9:55 PM Laurent Pinchart wrote: > > Hi Prabhakar, > > Thank you for the patches. > > On Fri, Aug 07, 2020 at 06:49:47PM +0100, Lad Prabhakar wrote: > > Hi All, > > > > This patch series adds support for DU and LVDS to r8a7742 > >

[PATCH 1/2] dt-bindings: Add DT bindings for RaspberryPi 7" display ATTINY88-based regulator/backlight controller

2020-08-10 Thread Marek Vasut
Add DT bindings for RaspberryPi 7" display ATTINY88-based regulator/backlight controller, this one is used in the Raspberry Pi 7" touchscreen display unit. Signed-off-by: Marek Vasut To: dri-devel@lists.freedesktop.org Cc: Eric Anholt Cc: Mark Brown Cc: Rob Herring Cc: Sam Ravnborg Cc: device

[RESEND v7, PATCH 4/7] mtk-mmsys: add mt8183 mmsys support

2020-08-10 Thread Yongqiang Niu
add mt8183 mmsys support Signed-off-by: Yongqiang Niu --- drivers/soc/mediatek/mmsys/Makefile | 1 + drivers/soc/mediatek/mmsys/mt8183-mmsys.c | 154 ++ drivers/soc/mediatek/mtk-mmsys.c | 1 + 3 files changed, 156 insertions(+) create mode 100644 d

Re: How to prevent input devices from unblanking the X screen when DPMS is on?

2020-08-10 Thread Pekka Paalanen
On Fri, 7 Aug 2020 16:07:35 +0200 Merlijn Wajer wrote: > Hi, > > Is it possible to have X handle input events, but not actually unblank > the screen upon input events when dpms is enabled? Hi, by "blanking", do you mean that the CRTC turns off (as opposed to the display turning off) so that it

Re: WTF: patch "[PATCH] drm/mgag200: Remove declaration of mgag200_mmap() from header" was seriously submitted to be applied to the 5.8-stable tree?

2020-08-10 Thread Jani Nikula
On Sat, 08 Aug 2020, Sam Ravnborg wrote: > Hi Daniel. > > On Sat, Aug 08, 2020 at 11:13:54AM +0200, Daniel Vetter wrote: >> On Fri, Aug 7, 2020 at 3:54 PM Thomas Zimmermann wrote: >> > >> > Hi >> > >> > Am 07.08.20 um 15:30 schrieb gre...@linuxfoundation.org: >> > > The patch below was submitted

Re: [PATCH 6/7] ARM: dts: r8a7742: Add LVDS support

2020-08-10 Thread Geert Uytterhoeven
Hi Prabhakar, Laurent, On Sun, Aug 9, 2020 at 11:30 PM Lad, Prabhakar wrote: > On Sat, Aug 8, 2020 at 10:13 PM Laurent Pinchart > wrote: > > On Fri, Aug 07, 2020 at 06:49:53PM +0100, Lad Prabhakar wrote: > > > Add LVDS encoder node to r8a7742 SoC DT. > > > > > > Signed-off-by: Lad Prabhakar > >

Re: [PATCH 0/7] r8a7742: Enable DU and LVDS

2020-08-10 Thread Geert Uytterhoeven
Hi Prabhakar, On Sun, Aug 9, 2020 at 11:44 PM Lad, Prabhakar wrote: > On Sat, Aug 8, 2020 at 9:55 PM Laurent Pinchart > wrote: > > On Fri, Aug 07, 2020 at 06:49:47PM +0100, Lad Prabhakar wrote: > > > This patch series adds support for DU and LVDS to r8a7742 > > > SoC and enables LCD support on r

Re: How to prevent input devices from unblanking the X screen when DPMS is on?

2020-08-10 Thread Merlijn Wajer
Hi Pekka, Thanks for the reply - On 10/08/2020 09:43, Pekka Paalanen wrote: > On Fri, 7 Aug 2020 16:07:35 +0200 > Merlijn Wajer wrote: > >> Hi, >> >> Is it possible to have X handle input events, but not actually unblank >> the screen upon input events when dpms is enabled? > > Hi, > > by "bl

Re: [PATCH v3] platform/x86: Add new vga-switcheroo gmux driver for ACPI-driven muxes

2020-08-10 Thread Lukas Wunner
On Wed, Jul 29, 2020 at 04:05:57PM -0500, Daniel Dadap wrote: > + * This program is free software; you can redistribute it and/or modify it > + * under the terms and conditions of the GNU General Public License, > + * version 2, as published by the Free Software Foundation. > + * > + * This program

Re: [PATCH 5/7] ARM: dts: r8a7742: Add DU support

2020-08-10 Thread Geert Uytterhoeven
On Fri, Aug 7, 2020 at 10:22 PM Lad, Prabhakar wrote: > On Fri, Aug 7, 2020 at 8:48 PM Sergei Shtylyov > wrote: > > On 8/7/20 8:49 PM, Lad Prabhakar wrote: > > > Add du node to r8a7742 SoC DT. Boards that want to enable the DU > > > > Both "du" and "DU" on a single line? :-) > > > Argh my bad.

Re: [PATCH] drm: rcar-du: Fix crash when enabling a non-visible plane

2020-08-10 Thread Geert Uytterhoeven
On Fri, Aug 7, 2020 at 11:23 PM Laurent Pinchart wrote: > The DU driver handles non-visible planes (fully clipped by the display's > boundaries) by considering them as disabled. It thus disables the plane > at the hardware level when the plane if moved off-screen. However, if is moved > the plan

[PATCH] coccinelle: api: fix device_attr_show.cocci warnings

2020-08-10 Thread kernel test robot
From: kernel test robot drivers/video/fbdev/core/fbcon.c:3509:8-16: WARNING: use scnprintf or sprintf drivers/video/fbdev/core/fbcon.c:3484:8-16: WARNING: use scnprintf or sprintf From Documentation/filesystems/sysfs.txt: show() must not use snprintf() when formatting the value to be retur

Re: [PATCH] drm: amdgpu: Use the correct size when allocating memory

2020-08-10 Thread Christian König
Am 09.08.20 um 22:34 schrieb Christophe JAILLET: When '*sgt' is allocated, we must allocated 'sizeof(**sgt)' bytes instead of 'sizeof(*sg)'. 'sg' (i.e. struct scatterlist) is smaller than 'sgt' (i.e struct sg_table), so this could lead to memory corruption. Fixes: f44ffd677fb3 ("drm/amdgpu: add

[PATCH] drm/i915/vlv_dsi_pll: fix spelling mistake "Cant" -> "Can't"

2020-08-10 Thread Colin King
From: Colin Ian King There is a spelling mistake in a drm_err message. Fix it. Signed-off-by: Colin Ian King --- drivers/gpu/drm/i915/display/vlv_dsi_pll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/vlv_dsi_pll.c b/drivers/gpu/drm/i915/dis

[PATCH] drm/vmwgfx: fix spelling mistake "Cant" -> "Can't"

2020-08-10 Thread Colin King
From: Colin Ian King There is a spelling mistake in a DRM_ERROR message. Fix it. Signed-off-by: Colin Ian King --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c

Re: [PATCH] dma-buf.rst: repair length of title underline

2020-08-10 Thread Christian König
Am 09.08.20 um 08:17 schrieb Lukas Bulwahn: With commit 72b6ede73623 ("dma-buf.rst: Document why indefinite fences are a bad idea"), document generation warns: Documentation/driver-api/dma-buf.rst:182: \ WARNING: Title underline too short. Repair length of title underline to remove warnin

Re: How to prevent input devices from unblanking the X screen when DPMS is on?

2020-08-10 Thread Pekka Paalanen
On Mon, 10 Aug 2020 10:43:42 +0200 Merlijn Wajer wrote: > Hi Pekka, > > Thanks for the reply - > > On 10/08/2020 09:43, Pekka Paalanen wrote: > > On Fri, 7 Aug 2020 16:07:35 +0200 > > Merlijn Wajer wrote: > > > >> Hi, > >> > >> Is it possible to have X handle input events, but not actually

[Bug 208573] Black screen on boot if two displays plugged in with NAVI 10

2020-08-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208573 --- Comment #5 from Thomas Langkamp (thomas.langk...@medicalschool-hamburg.de) --- Created attachment 290817 --> https://bugzilla.kernel.org/attachment.cgi?id=290817&action=edit reproducable error messages after suspend, then reboot This error

[Bug 208573] Black screen on boot if two displays plugged in with NAVI 10

2020-08-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208573 Thomas Langkamp (thomas.langk...@medicalschool-hamburg.de) changed: What|Removed |Added Kernel Version|5.7.8-6-MANJARO

[Bug 208573] Black screen on boot if two displays plugged in with NAVI 10

2020-08-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208573 --- Comment #6 from Thomas Langkamp (thomas.langk...@medicalschool-hamburg.de) --- (In reply to Thomas Langkamp from comment #5) > Created attachment 290817 [details] > reproducable error messages after suspend, then reboot > > This error messag

[Bug 208573] Black screen on boot if two displays plugged in with NAVI 10

2020-08-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208573 --- Comment #7 from Thomas Langkamp (thomas.langk...@medicalschool-hamburg.de) --- I found a similar bug here: https://bugzilla.kernel.org/show_bug.cgi?id=206903#c51 -- You are receiving this mail because: You are watching the assignee of the b

Re: [linux.git drm/ttm]: NULL pointer dereference upon driver probe

2020-08-10 Thread Christian König
Am 07.08.20 um 09:02 schrieb Christian König: Am 06.08.20 um 20:50 schrieb Roland Scheidegger: Am 06.08.20 um 17:28 schrieb Christian König: My best guess is that you are facing two separate bugs here. Crash #1 is somehow related to CRTCs and might even be cause by the atomic-helper change you

Re: [PATCH v5 00/14] Add regulator devfreq support to Panfrost

2020-08-10 Thread Daniel Vetter
On Fri, Aug 07, 2020 at 06:30:05PM +0200, Clément Péron wrote: > On Fri, 7 Aug 2020 at 18:28, Clément Péron wrote: > > > > Hi Rob, > > > > On Fri, 7 Aug 2020 at 18:13, Rob Herring wrote: > > > > > > On Fri, Jul 10, 2020 at 3:54 AM Clément Péron > > > wrote: > > > > > > > > Hi, > > > > > > > > T

Re: [PATCH 3/7] drm/amd/display: Avoid using unvalidated tiling_flags and tmz_surface in prepare_planes

2020-08-10 Thread Daniel Vetter
On Fri, Aug 07, 2020 at 10:29:09AM -0400, Kazlauskas, Nicholas wrote: > On 2020-08-07 4:30 a.m., dan...@ffwll.ch wrote: > > On Thu, Jul 30, 2020 at 04:36:38PM -0400, Nicholas Kazlauskas wrote: > > > [Why] > > > We're racing with userspace as the flags could potentially change > > > from when we acq

Re: [PATCH 6/8] drm/amd/display: Set DC options from modifiers.

2020-08-10 Thread Daniel Vetter
On Wed, Aug 05, 2020 at 09:32:10AM +0200, dan...@ffwll.ch wrote: > On Tue, Aug 04, 2020 at 11:31:17PM +0200, Bas Nieuwenhuizen wrote: > > This sets the DC tiling options from the modifier, if modifiers > > are used for the FB. This patch by itself does not expose the > > support yet though. > > >

Re: [PATCH 3/7] drm/amd/display: Avoid using unvalidated tiling_flags and tmz_surface in prepare_planes

2020-08-10 Thread Christian König
Am 10.08.20 um 14:25 schrieb Daniel Vetter: On Fri, Aug 07, 2020 at 10:29:09AM -0400, Kazlauskas, Nicholas wrote: On 2020-08-07 4:30 a.m., dan...@ffwll.ch wrote: On Thu, Jul 30, 2020 at 04:36:38PM -0400, Nicholas Kazlauskas wrote: [Why] We're racing with userspace as the flags could potentiall

Re: [PATCH 5/7] drm/amd/display: Reset plane for anything that's not a FAST update

2020-08-10 Thread Daniel Vetter
On Fri, Aug 07, 2020 at 10:26:51AM -0400, Kazlauskas, Nicholas wrote: > On 2020-08-07 4:34 a.m., dan...@ffwll.ch wrote: > > On Thu, Jul 30, 2020 at 04:36:40PM -0400, Nicholas Kazlauskas wrote: > > > [Why] > > > MEDIUM or FULL updates can require global validation or affect > > > bandwidth. By treat

Re: [PATCH 3/7] drm/amd/display: Avoid using unvalidated tiling_flags and tmz_surface in prepare_planes

2020-08-10 Thread Daniel Vetter
On Mon, Aug 10, 2020 at 02:30:05PM +0200, Christian König wrote: > Am 10.08.20 um 14:25 schrieb Daniel Vetter: > > On Fri, Aug 07, 2020 at 10:29:09AM -0400, Kazlauskas, Nicholas wrote: > > > On 2020-08-07 4:30 a.m., dan...@ffwll.ch wrote: > > > > On Thu, Jul 30, 2020 at 04:36:38PM -0400, Nicholas K

Re: [PATCH 7/7] drm/amd/display: Replace DRM private objects with subclassed DRM atomic state

2020-08-10 Thread Daniel Vetter
On Fri, Aug 07, 2020 at 10:32:11AM -0400, Kazlauskas, Nicholas wrote: > On 2020-08-07 4:52 a.m., dan...@ffwll.ch wrote: > > On Thu, Jul 30, 2020 at 04:36:42PM -0400, Nicholas Kazlauskas wrote: > > > @@ -440,7 +431,7 @@ struct dm_crtc_state { > > > #define to_dm_crtc_state(x) container_of(x, struc

Re: [PATCH 6/8] drm/amd/display: Set DC options from modifiers.

2020-08-10 Thread Michel Dänzer
On 2020-08-10 2:28 p.m., Daniel Vetter wrote: > > Ok just learned that amdgpu hat set/get_tiling, so I'm upgrading my idea > here to a very strong recommendation, i.e. please do this except if > there's and amd ddx which somehow wants to change tiling mode while a fb > exists, and expects this to p

Re: WTF: patch "[PATCH] drm/mgag200: Remove declaration of mgag200_mmap() from header" was seriously submitted to be applied to the 5.8-stable tree?

2020-08-10 Thread Daniel Vetter
On Sat, Aug 08, 2020 at 05:24:53PM +0200, Daniel Vetter wrote: > On Sat, Aug 8, 2020 at 1:28 PM Greg KH wrote: > > > > On Sat, Aug 08, 2020 at 01:02:34PM +0200, Daniel Vetter wrote: > > > On Sat, Aug 8, 2020 at 12:24 PM Greg KH > > > wrote: > > > > > > > > On Sat, Aug 08, 2020 at 11:13:54AM +020

Re: [PATCH v3] drm/vkms: guarantee vblank when capturing crc

2020-08-10 Thread Daniel Vetter
On Sat, Aug 08, 2020 at 09:09:00AM -0300, Melissa Wen wrote: > VKMS needs vblank interrupts enabled to capture CRC. When vblank is > disabled, tests like kms_cursor_crc and kms_pipe_crc_basic getting stuck > waiting for a capture that will not occur until vkms wakes up. This patch > adds a helper t

Re: [PATCH 1/4 v2] drm/mcde: Improve pixel fetcher FIFO depth setting

2020-08-10 Thread Daniel Vetter
On Sun, Aug 09, 2020 at 12:31:19AM +0200, Linus Walleij wrote: > The pixel fetcher FIFO depth was just hardcoded to 48 > which works fine as long as the framebuffer is 32BPP > and the DSI output is RGB888. > > We will need more elaborate handling for some buffer > formats and displays, so start to

Re: [PATCH 4/4 v2] drm/mcde: Enable the DSI link with display

2020-08-10 Thread Daniel Vetter
On Sun, Aug 09, 2020 at 12:31:22AM +0200, Linus Walleij wrote: > The MCDE DSI link hardware which is modeled like a bridge > in DRM, connected further to the panel bridge, creating > a pipeline. > > We have been using the .pre_enable(), .enable(), > .disable() and .post_disable() callbacks from th

Re: [PATCH] drm/panel-notatek-nt35510: Fix MTP read init

2020-08-10 Thread Daniel Vetter
On Sun, Aug 09, 2020 at 12:43:22AM +0200, Linus Walleij wrote: > In order to successfully read ID of the MTP panel the > panel MTP control page must be unlocked. Previously > this wasn't encountered because in the setup with this > panel the power wasn't ever really dropped. When power > gets dropp

Re: [PATCH] dma-buf.rst: repair length of title underline

2020-08-10 Thread Daniel Vetter
On Mon, Aug 10, 2020 at 01:25:40PM +0200, Christian König wrote: > Am 09.08.20 um 08:17 schrieb Lukas Bulwahn: > > With commit 72b6ede73623 ("dma-buf.rst: Document why indefinite fences are > > a bad idea"), document generation warns: > > > >Documentation/driver-api/dma-buf.rst:182: \ > >W

Re: [PATCH 6/8] drm/amd/display: Set DC options from modifiers.

2020-08-10 Thread Daniel Vetter
On Mon, Aug 10, 2020 at 02:49:00PM +0200, Michel Dänzer wrote: > On 2020-08-10 2:28 p.m., Daniel Vetter wrote: > > > > Ok just learned that amdgpu hat set/get_tiling, so I'm upgrading my idea > > here to a very strong recommendation, i.e. please do this except if > > there's and amd ddx which someh

Re: [PATCH] drm/vgem: add missing platform_device_unregister() in vgem_init()

2020-08-10 Thread Daniel Vetter
On Mon, Aug 10, 2020 at 08:59:42PM +0800, Qinglang Miao wrote: > When vgem_init() get into out_put, the unregister call of > vgem_device->platform is missing. So add it before return. > > Fixes: 363de9e7d4f6 "drm/vgem: Use drmm_add_final_kfree" > Signed-off-by: Qinglang Miao Uh right I still hav

Re: [PATCH] drm/v3d: convert to use module_platform_driver

2020-08-10 Thread Daniel Vetter
On Mon, Aug 10, 2020 at 08:59:31PM +0800, Qinglang Miao wrote: > Get rid of boilerplate code by using module_platform_driver macro > for v3d_drm. > > Signed-off-by: Qinglang Miao lgtm, merged to drm-misc-next for 5.10 -Daniel > --- > drivers/gpu/drm/v3d/v3d_drv.c | 13 + > 1 file c

Re: [PATCH] drm/vkms: add missing platform_device_unregister() in vkms_init()

2020-08-10 Thread Daniel Vetter
On Mon, Aug 10, 2020 at 09:00:11PM +0800, Qinglang Miao wrote: > When vkms_init() get into out_put, the unregister call of > vkms_device->platform is missing. So add it before return. > > Fixes: c27f0cc4d43a "drm/vkms: enable cursor by default" This is the wrong commit, I fixed that up while appl

Re: [PATCH] drm/vmwgfx/ttm: fix the non-THP cleanup path.

2020-08-10 Thread Daniel Vetter
On Mon, Aug 10, 2020 at 03:41:10PM +1000, Dave Airlie wrote: > From: Dave Airlie > > I fixed the init path, but missed the cleanup path. > > Fixes: e0830704de7c ("drm/vmwgfx: takedown vram manager") > Signed-off-by: Dave Airlie Oopsies. Reviewed-by: Daniel Vetter > --- > drivers/gpu/drm/vmw

Re: [PATCH 6/8] drm/amd/display: Set DC options from modifiers.

2020-08-10 Thread Bas Nieuwenhuizen
On Mon, Aug 10, 2020 at 3:09 PM Daniel Vetter wrote: > > On Mon, Aug 10, 2020 at 02:49:00PM +0200, Michel Dänzer wrote: > > On 2020-08-10 2:28 p.m., Daniel Vetter wrote: > > > > > > Ok just learned that amdgpu hat set/get_tiling, so I'm upgrading my idea > > > here to a very strong recommendation,

Re: [PATCH 6/8] drm/amd/display: Set DC options from modifiers.

2020-08-10 Thread Daniel Vetter
On Mon, Aug 10, 2020 at 4:13 PM Bas Nieuwenhuizen wrote: > > On Mon, Aug 10, 2020 at 3:09 PM Daniel Vetter wrote: > > > > On Mon, Aug 10, 2020 at 02:49:00PM +0200, Michel Dänzer wrote: > > > On 2020-08-10 2:28 p.m., Daniel Vetter wrote: > > > > > > > > Ok just learned that amdgpu hat set/get_tili

[Bug 208573] Black screen on boot if two displays plugged in with NAVI 10

2020-08-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208573 --- Comment #8 from Alex Deucher (alexdeuc...@gmail.com) --- Do you only get the MCE errors when you set the XMP profile? -- You are receiving this mail because: You are watching the assignee of the bug. _

[Bug 207901] Nouveau: In a 4 monitor setup, 1-2 displays remains black after boot

2020-08-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207901 --- Comment #29 from Maurice Gale (mauricega...@gmail.com) --- I can try to replace the DP cable to see if that does the trick--DP adapters seems to be so finicky. I would still be curious as to why it works with nvidia drivers, however. I have

Re: [PATCH] drm: amdgpu: Use the correct size when allocating memory

2020-08-10 Thread Dan Carpenter
On Sun, Aug 09, 2020 at 10:34:06PM +0200, Christophe JAILLET wrote: > When '*sgt' is allocated, we must allocated 'sizeof(**sgt)' bytes instead > of 'sizeof(*sg)'. 'sg' (i.e. struct scatterlist) is smaller than > 'sgt' (i.e struct sg_table), so this could lead to memory corruption. The sizeof(*sg)

[Bug 208573] Black screen on boot if two displays plugged in with NAVI 10

2020-08-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208573 --- Comment #9 from Thomas Langkamp (thomas.langk...@medicalschool-hamburg.de) --- Yes. With the new BIOS this is reproducible only with XMP enabled. In the other bugreport I read about amdgpu.ppfeaturemask=0xbffd I just tried it. Until no

Re: [PATCH v5 00/14] Add regulator devfreq support to Panfrost

2020-08-10 Thread Rob Herring
On Mon, Aug 10, 2020 at 6:21 AM Daniel Vetter wrote: > > On Fri, Aug 07, 2020 at 06:30:05PM +0200, Clément Péron wrote: > > On Fri, 7 Aug 2020 at 18:28, Clément Péron wrote: > > > > > > Hi Rob, > > > > > > On Fri, 7 Aug 2020 at 18:13, Rob Herring wrote: > > > > > > > > On Fri, Jul 10, 2020 at 3:

Re: [PATCH v1 01/12] fbdev: gxfb: use generic power management

2020-08-10 Thread Sam Ravnborg
Hi Vaibhav On Mon, Aug 10, 2020 at 03:09:48PM +0530, Vaibhav Gupta wrote: > On Sat, Aug 08, 2020 at 01:17:46PM +0200, Sam Ravnborg wrote: > > Hi Vaibhav > > > > On Wed, Aug 05, 2020 at 11:37:11PM +0530, Vaibhav Gupta wrote: > > > Drivers using legacy power management .suspen()/.resume() callbacks

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

2020-08-10 Thread Sam Ravnborg
Hi Vinay. On Wed, Jul 29, 2020 at 06:01:21PM +0530, Vinay Simha B N wrote: > Hi All, > > Please Review the patch > > On Fri, Jul 10, 2020 at 7:11 PM Vinay Simha BN wrote: > > > - license modified to (GPL-2.0-only OR BSD-2-Clause) > > - single-link and dual-link lvds description and > > examp

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

2020-08-10 Thread Sam Ravnborg
Hi Vinay. Vinay - thanks for following carefully up on the review feedback. I know it can be frustrating to wait for feedback. On Sun, Aug 09, 2020 at 12:30:22AM +0300, Laurent Pinchart wrote: > Hi Vinay, > > On Fri, Aug 07, 2020 at 06:22:59PM +0530, Vinay Simha B N wrote: > > Hi All, > > > > P

Re: [PATCH] drm/imx: drop panel attach/detach

2020-08-10 Thread Sam Ravnborg
Hi Philipp. On Tue, Jul 21, 2020 at 03:06:50PM +0200, Philipp Zabel wrote: > The drm_panel_attach/detach() functions are empty since > commit aa6c43644bc5 ("drm/panel: drop drm_device from drm_panel"), > remove them. > > Signed-off-by: Philipp Zabel We ended up removing them all in one go. So t

Re: [PATCH v10] drm/bridge: add it6505 driver

2020-08-10 Thread Sam Ravnborg
Hi allen. On Thu, Jul 16, 2020 at 05:47:31PM +0800, allen wrote: > This adds support for the iTE IT6505. > This device can convert DPI signal to DP output. > > Signed-off-by: Jitao Shi > Signed-off-by: Pi-Hsun Shih > Signed-off-by: Yilun Lin > Signed-off-by: Hermes Wu > Signed-off-by: Allen C

Re: [PATCH v1 1/2] ite-it6505 change trigger conditions

2020-08-10 Thread Sam Ravnborg
Hi Allen. On Mon, Aug 10, 2020 at 05:53:17PM +0800, allen wrote: > it6505 changes trigger conditions. > --- > Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/display/bridge

Re: [git pull] drm next for 5.9-rc1

2020-08-10 Thread Dave Airlie
On Mon, 10 Aug 2020 at 22:23, Christoph Hellwig wrote: > > On Thu, Aug 06, 2020 at 11:07:02AM +1000, Dave Airlie wrote: > > nouveau: > > - add CRC support > > - start using NVIDIA published class header files > > Where does Nvdia provide them? I looked into the commits and the > Nouveau mailing l

Re: [linux.git drm/ttm]: NULL pointer dereference upon driver probe

2020-08-10 Thread Dave Airlie
On Mon, 10 Aug 2020 at 22:20, Christian König wrote: > > Am 07.08.20 um 09:02 schrieb Christian König: > > Am 06.08.20 um 20:50 schrieb Roland Scheidegger: > >> Am 06.08.20 um 17:28 schrieb Christian König: > >>> My best guess is that you are facing two separate bugs here. > >>> > >>> Crash #1 is

[PATCH AUTOSEL 5.8 01/64] drm/tilcdc: fix leak & null ref in panel_connector_get_modes

2020-08-10 Thread Sasha Levin
From: Tomi Valkeinen [ Upstream commit 3f9c1c872cc97875ddc8d63bc9fe6ee13652b933 ] If videomode_from_timings() returns true, the mode allocated with drm_mode_create will be leaked. Also, the return value of drm_mode_create() is never checked, and thus could cause NULL deref. Fix these two issue

[PATCH AUTOSEL 5.8 34/64] drm/amd/display: Improve DisplayPort monitor interop

2020-08-10 Thread Sasha Levin
From: Aric Cyr [ Upstream commit eec3303de3378cdfaa0bb86f43546dbbd88f94e2 ] [Why] DC is very fast at link training and stream enablement which causes issues such as blackscreens for non-compliant monitors. [How] After debugging with scaler vendors we implement the minimum delays at the necessar

[PATCH AUTOSEL 5.8 22/64] drm/nouveau: fix reference count leak in nouveau_debugfs_strap_peek

2020-08-10 Thread Sasha Levin
From: Aditya Pakki [ Upstream commit 8f29432417b11039ef960ab18987c7d61b2b5396 ] nouveau_debugfs_strap_peek() calls pm_runtime_get_sync() that increments the reference count. In case of failure, decrement the ref count before returning the error. Signed-off-by: Aditya Pakki Signed-off-by: Ben S

  1   2   3   >