Re: [PATCH 12/20] drm/radeon: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
Hi Am 13.08.20 um 12:24 schrieb Christian König: > Am 13.08.20 um 10:36 schrieb Thomas Zimmermann: >> GEM object functions deprecate several similar callback interfaces in >> struct drm_driver. This patch replaces the per-driver callbacks with >> per-instance callbacks in radeon. >> >>

Re: [PATCH] drm/malidp: Use struct drm_gem_object_funcs.get_sg_table internally

2020-08-13 Thread Thomas Zimmermann
Hi Am 13.08.20 um 12:31 schrieb Daniel Vetter: > On Thu, Aug 13, 2020 at 12:28:55PM +0200, Thomas Zimmermann wrote: >> >> >> Am 13.08.20 um 11:48 schrieb Daniel Vetter: >>> On Thu, Aug 13, 2020 at 11:19:31AM +0200, Thomas Zimmermann wrote: Hi Am 07.08.20 um 18:10 schrieb Daniel

Re: [PATCH 20/20] drm: Remove obsolete GEM and PRIME callbacks from struct drm_driver

2020-08-13 Thread Thomas Zimmermann
Hi Am 13.08.20 um 12:16 schrieb Sam Ravnborg: > Hi Thomas. > > On Thu, Aug 13, 2020 at 10:36:44AM +0200, Thomas Zimmermann wrote: >> Several GEM and PRIME callbacks have been deprecated in favor of >> per-instance GEM object functions. Remove the callbacks as they are >> now unused. The only

Re: [PATCH] drm/malidp: Use struct drm_gem_object_funcs.get_sg_table internally

2020-08-13 Thread Daniel Vetter
On Thu, Aug 13, 2020 at 12:28:55PM +0200, Thomas Zimmermann wrote: > > > Am 13.08.20 um 11:48 schrieb Daniel Vetter: > > On Thu, Aug 13, 2020 at 11:19:31AM +0200, Thomas Zimmermann wrote: > >> Hi > >> > >> Am 07.08.20 um 18:10 schrieb Daniel Vetter: > >>> On Fri, Aug 7, 2020 at 4:02 PM Thomas

Re: [PATCH 3/3 v2] backlight: Add Kinetic KTD253 backlight driver

2020-08-13 Thread Daniel Thompson
On Wed, Aug 12, 2020 at 10:58:50AM +0200, Linus Walleij wrote: > The Kinetic KTD253 backlight driver is controlled with a > single GPIO line, but still supports a range of brightness > settings by sending fast pulses on the line. > > This is based off the source code release for the Samsung >

Re: [PATCH] drm/malidp: Use struct drm_gem_object_funcs.get_sg_table internally

2020-08-13 Thread Thomas Zimmermann
Am 13.08.20 um 11:48 schrieb Daniel Vetter: > On Thu, Aug 13, 2020 at 11:19:31AM +0200, Thomas Zimmermann wrote: >> Hi >> >> Am 07.08.20 um 18:10 schrieb Daniel Vetter: >>> On Fri, Aug 7, 2020 at 4:02 PM Thomas Zimmermann >>> wrote: Hi Am 07.08.20 um 15:12 schrieb Daniel

Re: [PATCH v2 2/4] drm/gem: Update client API to use struct drm_gem_membuf

2020-08-13 Thread Daniel Vetter
On Thu, Aug 06, 2020 at 10:52:37AM +0200, Thomas Zimmermann wrote: > GEM's vmap interface now wraps memory pointers in struct drm_gem_membuf. > The structure represents a pointer into the framebuffer, which is either > in I/O memory or in system memory. The structure contains a flag that >

Re: [PATCH 12/20] drm/radeon: Introduce GEM object functions

2020-08-13 Thread Christian König
Am 13.08.20 um 10:36 schrieb Thomas Zimmermann: GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in radeon. Signed-off-by: Thomas Zimmermann ---

Re: [PATCH 01/20] drm/amdgpu: Introduce GEM object functions

2020-08-13 Thread Christian König
Am 13.08.20 um 10:36 schrieb Thomas Zimmermann: GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in amdgpu. The only exception is gem_prime_mmap, which is non-trivial to convert.

Re: [PATCH 20/20] drm: Remove obsolete GEM and PRIME callbacks from struct drm_driver

2020-08-13 Thread Sam Ravnborg
Hi Thomas. On Thu, Aug 13, 2020 at 10:36:44AM +0200, Thomas Zimmermann wrote: > Several GEM and PRIME callbacks have been deprecated in favor of > per-instance GEM object functions. Remove the callbacks as they are > now unused. The only exception is .gem_prime_mmap, which is still > in use by

Re: [RFC][PATCH] dma-heap: Add proper kref handling on dma-buf heaps

2020-08-13 Thread Brian Starkey
Hi John, On Sat, Jul 25, 2020 at 03:26:33AM +, John Stultz wrote: > Add proper refcounting on the dma_heap structure. > While existing heaps are built-in, we may eventually > have heaps loaded from modules, and we'll need to be > able to properly handle the references to the heaps I'm not

Re: [PATCH] drm/hisilicon: Fix build error of no type of module_init

2020-08-13 Thread Daniel Vetter
On Thu, Aug 13, 2020 at 10:03:18AM +0200, Thomas Zimmermann wrote: > Hi > > Am 13.08.20 um 05:39 schrieb Tian Tao: > > Add missing include to fix build error: > > hibmc_drm_drv.c:385:1: warning: data definition has no type or storage > > class [enabled by default] > > hibmc_drm_drv.c:385:1:

Re: [PATCH v4 2/2] xen: add helpers to allocate unpopulated memory

2020-08-13 Thread Daniel Vetter
On Thu, Aug 13, 2020 at 09:54:20AM +0200, Roger Pau Monné wrote: > On Thu, Aug 13, 2020 at 08:33:37AM +0100, Christoph Hellwig wrote: > > On Tue, Aug 11, 2020 at 11:44:47AM +0200, Roger Pau Monne wrote: > > > If enabled (because ZONE_DEVICE is supported) the usage of the new > > > functionality

Re: [PATCH] drm/malidp: Use struct drm_gem_object_funcs.get_sg_table internally

2020-08-13 Thread Daniel Vetter
On Thu, Aug 13, 2020 at 11:19:31AM +0200, Thomas Zimmermann wrote: > Hi > > Am 07.08.20 um 18:10 schrieb Daniel Vetter: > > On Fri, Aug 7, 2020 at 4:02 PM Thomas Zimmermann > > wrote: > >> > >> Hi > >> > >> Am 07.08.20 um 15:12 schrieb Daniel Vetter: > >>> On Fri, Aug 07, 2020 at 01:10:22PM

Re: [Intel-gfx] [PATCH v7 17/17] drm/i915: Add HDCP 1.4 support for MST connectors

2020-08-13 Thread Anshuman Gupta
On 2020-08-12 at 13:21:51 -0400, Sean Paul wrote: > On Wed, Aug 12, 2020 at 3:15 AM Anshuman Gupta > wrote: > > > > On 2020-08-11 at 13:28:46 -0400, Sean Paul wrote: > > > On Thu, Jul 9, 2020 at 8:40 AM Anshuman Gupta > > > wrote: > > > > > > > > > > \snip > > > > > > > > > +static int > > > >

Re: [PATCH] drm/malidp: Use struct drm_gem_object_funcs.get_sg_table internally

2020-08-13 Thread Thomas Zimmermann
Hi Am 07.08.20 um 18:10 schrieb Daniel Vetter: > On Fri, Aug 7, 2020 at 4:02 PM Thomas Zimmermann wrote: >> >> Hi >> >> Am 07.08.20 um 15:12 schrieb Daniel Vetter: >>> On Fri, Aug 07, 2020 at 01:10:22PM +0200, Thomas Zimmermann wrote: The malidp driver uses GEM object functions for

Re: [PATCH 9/9] arm64: dts: renesas: r8a774e1-hihope-rzg2h: Setup DU clocks

2020-08-13 Thread Geert Uytterhoeven
On Wed, Aug 12, 2020 at 4:03 PM Lad Prabhakar wrote: > Setup up the required clocks for the DU to be functional. > > Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v5.10 (after resolving the port numbering). Gr{oetje,eeting}s,

Re: [PATCH 8/9] arm64: dts: renesas: r8a774e1: Add LVDS device node

2020-08-13 Thread Geert Uytterhoeven
On Wed, Aug 12, 2020 at 4:03 PM Lad Prabhakar wrote: > From: Marian-Cristian Rotariu > > Add the LVDS device node to R8A774E1 to SoC dtsi and connect it with > the DU node. > > Signed-off-by: Marian-Cristian Rotariu > > Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven i.e. will

Re: [PATCH 6/9] arm64: dts: renesas: r8a774e1: Populate HDMI encoder node

2020-08-13 Thread Geert Uytterhoeven
On Wed, Aug 12, 2020 at 4:03 PM Lad Prabhakar wrote: > From: Marian-Cristian Rotariu > > Populate HDMI node properties in R8A774E1 SoC dtsi. > > Signed-off-by: Marian-Cristian Rotariu > > Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v5.10

Re: [PATCH 06/20] drm/i915: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
Hi Am 13.08.20 um 11:08 schrieb Jani Nikula: > On Thu, 13 Aug 2020, Thomas Zimmermann wrote: >> GEM object functions deprecate several similar callback interfaces in >> struct drm_driver. This patch replaces the per-driver callbacks with >> per-instance callbacks in i915. >> >> Signed-off-by:

Re: [PATCH 5/9] dt-bindings: display: renesas, dw-hdmi: Add r8a774e1 support

2020-08-13 Thread Geert Uytterhoeven
On Wed, Aug 12, 2020 at 4:03 PM Lad Prabhakar wrote: > From: Marian-Cristian Rotariu > > Document RZ/G2H (R8A774E1) SoC bindings. > > Signed-off-by: Marian-Cristian Rotariu > > Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert

Re: [PATCH 4/9] dt-bindings: display: renesas, lvds: Document r8a774e1 bindings

2020-08-13 Thread Geert Uytterhoeven
On Wed, Aug 12, 2020 at 4:03 PM Lad Prabhakar wrote: > From: Marian-Cristian Rotariu > > Document the RZ/G2H (R8A774E1) LVDS bindings. > > Signed-off-by: Marian-Cristian Rotariu > > Signed-off-by: Lad Prabhakar For the logical change (ported to .yaml): Reviewed-by: Geert Uytterhoeven

Re: [PATCH 3/9] arm64: dts: renesas: r8a774e1: Populate DU device node

2020-08-13 Thread Geert Uytterhoeven
On Wed, Aug 12, 2020 at 4:03 PM Lad Prabhakar wrote: > From: Marian-Cristian Rotariu > > Populate the DU device node properties in R8A774E1 SoC dtsi. > > Signed-off-by: Marian-Cristian Rotariu > > Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven > ---

Re: [PATCH 06/20] drm/i915: Introduce GEM object functions

2020-08-13 Thread Jani Nikula
On Thu, 13 Aug 2020, Thomas Zimmermann wrote: > GEM object functions deprecate several similar callback interfaces in > struct drm_driver. This patch replaces the per-driver callbacks with > per-instance callbacks in i915. > > Signed-off-by: Thomas Zimmermann > --- >

Re: [PATCH 1/9] dt-bindings: display: renesas, du: Document r8a774e1 bindings

2020-08-13 Thread Geert Uytterhoeven
Hi Prabhakar, Laurent, Kieran, On Wed, Aug 12, 2020 at 4:02 PM Lad Prabhakar wrote: > From: Marian-Cristian Rotariu > > Document the RZ/G2H (a.k.a. r8a774e1) SoC in the R-Car DU bindings. > > Signed-off-by: Marian-Cristian Rotariu > > Signed-off-by: Lad Prabhakar > --- >

[PATCH 19/20] drm/xlnx: Initialize DRM driver instance with CMA helper macro

2020-08-13 Thread Thomas Zimmermann
The xlnx driver uses CMA helpers with default callback functions. Initialize the driver structure with the rsp CMA helper macro. The driver is being converted to use GEM object functions as part of this change. Two callbacks, .dumb_destroy and .gem_prime_import, were initialized to their default

[PATCH 18/20] drm/xen: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in xen. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann ---

[PATCH 20/20] drm: Remove obsolete GEM and PRIME callbacks from struct drm_driver

2020-08-13 Thread Thomas Zimmermann
Several GEM and PRIME callbacks have been deprecated in favor of per-instance GEM object functions. Remove the callbacks as they are now unused. The only exception is .gem_prime_mmap, which is still in use by several drivers. What is also gone is gem_vm_ops in struct drm_driver. All drivers now

[PATCH 17/20] drm/vkms: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in vkms. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/vkms/vkms_drv.c | 8 drivers/gpu/drm/vkms/vkms_gem.c | 13

[PATCH 12/20] drm/radeon: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in radeon. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/radeon/radeon_drv.c| 23 +--

[PATCH 16/20] drm/vgem: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in vgem. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann ---

[PATCH 14/20] drm/tegra: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in tegra. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/tegra/drm.c | 4 drivers/gpu/drm/tegra/gem.c | 8 2

[PATCH 11/20] drm/pl111: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in pl111. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann ---

[PATCH 15/20] drm/vc4: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in vc4. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann ---

[PATCH 08/20] drm/msm: Introduce GEM object funcs

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in msm. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann ---

[PATCH 03/20] drm/etnaviv: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in etnaviv. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann ---

[PATCH 09/20] drm/nouveau: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in nouveau. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/nouveau/nouveau_drm.c | 9 -

[PATCH 10/20] drm/omapdrm: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in omapdrm. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/omapdrm/omap_drv.c | 9 -

[PATCH 13/20] drm/rockchip: Convert to drm_gem_object_funcs

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in rockchip. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann ---

[PATCH 07/20] drm/mediatek: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in mediatek. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann ---

[PATCH 00/20] Convert all remaining drivers to GEM object functions

2020-08-13 Thread Thomas Zimmermann
The GEM and PRIME related callbacks in struct drm_driver are deprecated in favor of GEM object functions in struct drm_gem_object_funcs. This patchset converts the remaining drivers to object functions and removes most of the obsolete interfaces. Patches #1 to #18 convert DRM drivers to GEM

[PATCH 06/20] drm/i915: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in i915. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/i915/gem/i915_gem_object.c | 9 -

[PATCH 05/20] drm/gma500: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in gma500. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/gma500/framebuffer.c | 2 ++ drivers/gpu/drm/gma500/gem.c |

[PATCH 01/20] drm/amdgpu: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in amdgpu. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann ---

[PATCH 04/20] drm/exynos: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in exynos. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann ---

[PATCH 02/20] drm/armada: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in armada. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/armada/armada_drv.c | 3 --- drivers/gpu/drm/armada/armada_gem.c |

Re: [PATCH] drm/hisilicon: Fix build error of no type of module_init

2020-08-13 Thread Thomas Zimmermann
Hi Am 13.08.20 um 05:39 schrieb Tian Tao: > Add missing include to fix build error: > hibmc_drm_drv.c:385:1: warning: data definition has no type or storage > class [enabled by default] > hibmc_drm_drv.c:385:1: error: type defaults to ‘int’ in declaration > of ‘module_init’ [-Werror=implicit-int]

Re: [PATCH] dt-bindings: Whitespace clean-ups in schema files

2020-08-13 Thread Geert Uytterhoeven
Hi Rob, On Wed, Aug 12, 2020 at 10:36 PM Rob Herring wrote: > Clean-up incorrect indentation, extra spaces, long lines, and missing > EOF newline in schema files. Most of the clean-ups are for list > indentation which should always be 2 spaces more than the preceding > keyword. > > Found with

Re: [PATCH 4/6] drm/rockchip: dw_hdmi: Add vendor hdmi properties

2020-08-13 Thread Pekka Paalanen
On Wed, 12 Aug 2020 16:30:17 +0300 Laurent Pinchart wrote: > Hi Algea, > > On Wed, Aug 12, 2020 at 07:08:10PM +0800, crj wrote: > > 在 2020/8/12 17:33, Laurent Pinchart 写道: > > > On Wed, Aug 12, 2020 at 04:35:43PM +0800, Algea Cao wrote: > > >> Introduce struct dw_hdmi_property_ops in

Re: [PATCH 4/6] drm/rockchip: dw_hdmi: Add vendor hdmi properties

2020-08-13 Thread crj
Hi Lauren, Thank you for your review. 在 2020/8/12 17:33, Laurent Pinchart 写道: Hi Algea, Thank you for the patch. On Wed, Aug 12, 2020 at 04:35:43PM +0800, Algea Cao wrote: Introduce struct dw_hdmi_property_ops in plat_data to support vendor hdmi property. Implement hdmi vendor properties

[PATCH 9/9] arm64: dts: renesas: r8a774e1-hihope-rzg2h: Setup DU clocks

2020-08-13 Thread Lad Prabhakar
Setup up the required clocks for the DU to be functional. Signed-off-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h.dts

Re: [RFC v2 03/11] tty: serial: qcom_geni_serial: Use OPP API to set clk/perf state

2020-08-13 Thread Amit Pundir
Hi Rajendra, On Wed, 12 Aug 2020 at 11:18, Rajendra Nayak wrote: > > > On 8/12/2020 7:03 AM, John Stultz wrote: > > On Tue, Aug 11, 2020 at 4:11 PM John Stultz wrote: > >> > >> On Wed, Mar 20, 2019 at 2:49 AM Rajendra Nayak > >> wrote: > >>> > >>> geni serial needs to express a perforamnce

[PATCH 3/6] drm: bridge: dw-hdmi: Introduce previous_pixelclock/previous_tmdsclock

2020-08-13 Thread Algea Cao
Introduce previous_pixelclock/previous_tmdsclock to determine whether PHY needs initialization. If phy is power off, or mpixelclock/mtmdsclock is different to previous value, phy is neet to be reinitialized. Signed-off-by: Algea Cao --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 50

[PATCH 5/6] drm/rockchip: dw_hdmi: Add get_output_bus_format

2020-08-13 Thread Algea Cao
Add get_output_bus_format in dw_hdmi_plat_data to get hdmi output bus format. The output bus format is determined by color format and depth, which can be set by rockchip hdmi properties. Signed-off-by: Algea Cao --- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 47 +

[PATCH 0/9] r8a774e1 add support for DU, HDMI and LVDS

2020-08-13 Thread Lad Prabhakar
Hi All, This patch series adds support for DU, HDMI and LVDS to RZ/G2H SoC. Cheers, Prabhakar Lad Prabhakar (1): arm64: dts: renesas: r8a774e1-hihope-rzg2h: Setup DU clocks Marian-Cristian Rotariu (8): dt-bindings: display: renesas,du: Document r8a774e1 bindings drm: rcar-du: Add support

[PATCH 2/6] drm: bridge: dw-hdmi: Implement connector atomic_begin/atomic_flush

2020-08-13 Thread Algea Cao
Introduce dw_hdmi_connector_atomic_begin() and dw_hdmi_connector_atomic_flush() to implement connector atomic_begin/atomic_flush. When enc_out_bus_format or enc_in_bus_format changed, dw_hdmi_setup is called. To avoid screen flash when updating bus format, it's need to send AVMUTE flag to make

Re: [PATCH 0/9] r8a774e1 add support for DU, HDMI and LVDS

2020-08-13 Thread Lad, Prabhakar
Hi Laurent, On Wed, Aug 12, 2020 at 5:39 PM Laurent Pinchart wrote: > > Hi Prabhakar, > > Thank you for the patches. > > On Wed, Aug 12, 2020 at 03:02:08PM +0100, Lad Prabhakar wrote: > > Hi All, > > > > This patch series adds support for DU, HDMI and LVDS to RZ/G2H SoC. > > I have added patches

[PATCH 5/9] dt-bindings: display: renesas, dw-hdmi: Add r8a774e1 support

2020-08-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Document RZ/G2H (R8A774E1) SoC bindings. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- .../devicetree/bindings/display/bridge/renesas,dw-hdmi.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH] drm/bridge/tc358775: Fixes bus formats read

2020-08-13 Thread Vinay Simha BN
- bus formats read from drm_bridge_state.output_bus_cfg.format and .atomic_get_input_bus_fmts() instead of connector Signed-off-by: Vinay Simha BN --- v1: * Laurent Pinchart review comments incorporated drm_bridge_state.output_bus_cfg.format instead of connector ---

[Virtual ppce500] virtio_gpu virtio0: swiotlb buffer is full

2020-08-13 Thread Christian Zigotzky
Hello Daniel, The VirtIO-GPU doesn't work anymore with the latest Git kernel in a virtual e5500 PPC64 QEMU machine [1,2] after the commit "drm/virtio: Call the right shmem helpers". [3] The kernel 5.8 works with the VirtIO-GPU in this virtual machine. I bisected today [4]. Result:

Re: [PATCH] drm/bridge/tc358775: Fixes bus formats read

2020-08-13 Thread Vinay Simha B N
laurent, Video data input format : RGB666 loosely packed 24 bits per pixel Can we use MEDIA_BUS_FMT_RGB666_1X24_CPADHI? There was no information wrt CPADHI or for loosely packed static const u32 tc_lvds_in_bus_fmts[] = { MEDIA_BUS_FMT_RGB565_1X16, MEDIA_BUS_FMT_RGB666_1X18,

Re: [PATCH] drm: assure aux_dev is nonzero before using it

2020-08-13 Thread Zwane Mwaikambo
On Wed, 12 Aug 2020, Lyude Paul wrote: > On Wed, 2020-08-12 at 16:10 +0200, Daniel Vetter wrote: > > On Wed, Aug 12, 2020 at 12:16 AM Zwane Mwaikambo wrote: > > > On Tue, 11 Aug 2020, Daniel Vetter wrote: > > > > > > > On Mon, Aug 10, 2020 at 10:11:50AM -0700, Zwane Mwaikambo wrote: > > > > >

[PATCH 7/9] drm: rcar-du: lvds: Add support for R8A774E1 SoC

2020-08-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu The LVDS encoder on RZ/G2H (R8A774E1) SoC is identical to R-Car Gen3 so just reuse the rcar_lvds_gen3_info structure to hookup R8A774E1 to LVDS encoder driver. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar ---

[PATCH 4/9] dt-bindings: display: renesas, lvds: Document r8a774e1 bindings

2020-08-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Document the RZ/G2H (R8A774E1) LVDS bindings. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- .../devicetree/bindings/display/bridge/renesas,lvds.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH drm/hisilicon v3 1/2] drm/hisilicon: Remove the unused include statements

2020-08-13 Thread Tian Tao
Remove some unused include statements. Signed-off-by: Tian Tao Reviewed-by: Thomas Zimmermann --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 3 --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 5 - drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 2 -- 3 files changed, 10

[PATCH 6/6] drm: bridge: dw-hdmi: Get output bus format when dw-hdmi is the only bridge

2020-08-13 Thread Algea Cao
If plat_data->get_output_bus_format() is exist, we can use it to get hdmi output bus format when dw-hdmi is the only bridge. The hdmi output bus format can be set by vendor properties. Signed-off-by: Algea Cao --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 8 +++- 1 file changed, 7

Re: [PATCH v2] drm/of: Consider the state in which the ep is disabled

2020-08-13 Thread Huang Jiachai
ping... 在 2020/7/23 3:01, Heiko Stübner 写道: Am Dienstag, 7. Juli 2020, 13:25:26 CEST schrieb Sandy Huang: don't mask possible_crtcs if remote-point is disabled. Signed-off-by: Sandy Huang Reviewed-by: Heiko Stuebner changes in v2: - drop additional of_node_put, as ep will be put with the

[PATCH] drm/hisilicon: Fix build error of no type of module_init

2020-08-13 Thread Tian Tao
Add missing include to fix build error: hibmc_drm_drv.c:385:1: warning: data definition has no type or storage class [enabled by default] hibmc_drm_drv.c:385:1: error: type defaults to ‘int’ in declaration of ‘module_init’ [-Werror=implicit-int] hibmc_drm_drv.c:385:1: warning: parameter names

[PATCH 2/9] drm: rcar-du: Add support for R8A774E1 SoC

2020-08-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Hookup RZ/G2H (R8A774E1) to DU driver. R8A774E1 has one RGB output, one LVDS output and one HDMI output. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 30 +++ 1 file

[PATCH 8/9] arm64: dts: renesas: r8a774e1: Add LVDS device node

2020-08-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Add the LVDS device node to R8A774E1 to SoC dtsi and connect it with the DU node. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 27 +++ 1 file changed, 27 insertions(+)

[PATCH 4/6] drm/rockchip: dw_hdmi: Add vendor hdmi properties

2020-08-13 Thread Algea Cao
Introduce struct dw_hdmi_property_ops in plat_data to support vendor hdmi property. Implement hdmi vendor properties color_depth_property and hdmi_output_property to config hdmi output color depth and color format. The property "hdmi_output_format", the possible value could be: - RGB

[PATCH 3/9] arm64: dts: renesas: r8a774e1: Populate DU device node

2020-08-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Populate the DU device node properties in R8A774E1 SoC dtsi. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git

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

2020-08-13 Thread Vinay Simha B N
sam/laurent, [PATCH] drm/bridge/tc358775: Fixes bus formats read is on top of drm-misc-next. On Wed, Aug 12, 2020 at 7:50 AM Vinay Simha B N wrote: > > Sam, > > I will look into this and send the patch ASAP. > > On Wed, Aug 12, 2020 at 12:47 AM Sam Ravnborg wrote: >> >> Hi Vinay. >> >> > >

Re: [PATCH drm/hisilicon v2 0/3] hibmc clean up and code refactoring

2020-08-13 Thread tiantao (H)
在 2020/8/12 15:04, Thomas Zimmermann 写道: Hi Am 03.08.20 um 02:38 schrieb Tian Tao: patch #1 and #3 is clean up, patch #2 is for code refactoring Sorry for all my reviews taking so long. Please merge patch #3 into patch #2 and then the series is thanks,I will send v3 to fix this.

Re: [dyndbg] 4397a3e7bf: BUG:sleeping_function_called_from_invalid_context_at_mm/slab.h

2020-08-13 Thread jim . cromie
On Sat, Aug 8, 2020 at 10:36 PM kernel test robot wrote: > > > If you fix the issue, kindly add following tag > Reported-by: kernel test robot > > > [ 29.668135] BUG: sleeping function called from invalid context at > mm/slab.h:567 > [ 29.668942] in_atomic(): 1, irqs_disabled(): 0,

[PATCH drm/hisilicon v3 2/2] drm/hisilicon: Code refactoring for hibmc_drv_de

2020-08-13 Thread Tian Tao
The memory used to be allocated with devres helpers and released automatically. In rare circumstances, the memory's release could have happened before the DRM device got released, which would have caused memory corruption of some kind. Now we're embedding the data structures in struct

Re: [Nouveau] BUG: unable to handle page fault for address nouveau_fence_new

2020-08-13 Thread Alan J. Wylie
Another two spontaneous reboots today. Latest one occured whilst I was away from the computer, output is below. A different call trace this time. No response to my previous report, so adding some e-mail addresses from get_maintainer.pl / git blame. It's an old graphics card, and this time I

Re: [PATCH] drm/bridge/tc358775: Fixes bus formats read

2020-08-13 Thread Vinay Simha B N
laurent, if i add the .atomic_get_input_bus_fmts = tc_bridge_get_input_bus_fmts, with the implementation suggested, system does not boot fully, the reason is, we capture all the supported input formats, but not sure where to set the final input format. Please suggest. for (i = 0; i <

[PATCH 6/9] arm64: dts: renesas: r8a774e1: Populate HDMI encoder node

2020-08-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Populate HDMI node properties in R8A774E1 SoC dtsi. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git

[PATCH drm/hisilicon v3 0/2] hibmc clean up and code refactoring

2020-08-13 Thread Tian Tao
patch #1 and #3 is clean up, patch #2 is for code refactoring Changes since v1: - Rewrite the commits messages and patch name in #1 - Rewrite the commits message in #2. - Add the new patch #3 Changes since v2: - merge patch #3 into patch #2 Tian Tao (2): drm/hisilicon: Remove the unused

Re: [git pull] drm for 5.8-rc1

2020-08-13 Thread Alyssa Rosenzweig
> ...and in merging my code with Alyssa's new panfrost format modifier > support, I see panfrost does the opposite of this and treats a format > modifier list of only INVALID as "don't care". I modeled the new nouveau > behavior on the Iris driver. Now I'm not sure which is correct :-( and

[PATCH 1/6] drm: Add connector atomic_begin/atomic_flush

2020-08-13 Thread Algea Cao
In some situations, connector should get some work done when plane is updating. Such as when change output color format, hdmi should send AVMUTE to make screen black before crtc updating color format, or screen may flash. After color updating, hdmi should clear AVMUTE bring screen back to normal.

[PATCH 0/6] Support change dw-hdmi output color

2020-08-13 Thread Algea Cao
Support userspace to set hdmi output color via hdmi properties. Add hdmi atomic_begin/atomic_flush to make sure screen don't flash when updating color. Algea Cao (6): drm: Add connector atomic_begin/atomic_flush drm: bridge: dw-hdmi: Implement connector atomic_begin/atomic_flush drm:

[PATCH 1/9] dt-bindings: display: renesas, du: Document r8a774e1 bindings

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

Re: [PATCH] drm/bridge/tc358775: Fixes bus formats read

2020-08-13 Thread Vinay Simha B N
laurent, please see the reply inline below. On Wed, Aug 12, 2020 at 3:24 PM Laurent Pinchart wrote: > > Hi Vinay, > > Thank you for the patch. > > On Wed, Aug 12, 2020 at 12:55:50PM +0530, Vinay Simha BN wrote: > > - bus formats read from drm_bridge_state.output_bus_cfg.format > > and

Re: [PATCH v2 0/5] Fixes and improvements for Xen pvdrm

2020-08-13 Thread Jürgen Groß
On 13.08.20 08:32, Oleksandr Andrushchenko wrote: Juergen, Boris, can we please merge these via Xen Linux tree as I have collected enough Ack/R-b? The series has DRM patches, but those anyway are Xen related, so I think this should be fine from DRI point of view. Yes, fine with me.

Re: [RFC PATCH v1] dma-fence-array: Deal with sub-fences that are signaled late

2020-08-13 Thread Christian König
Am 13.08.20 um 01:55 schrieb Jordan Crouse: This is an RFC because I'm still trying to grok the correct behavior. Consider a dma_fence_array created two two fence and signal_on_any is true. A reference to dma_fence_array is taken for each waiting fence. Ok, that sounds like you seem to mix a

[Bug 208893] Navi (RX 5700 XT) system appears to hang with more than one display connected

2020-08-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208893 --- Comment #9 from Gordon (gor...@gordonite.tech) --- nvm rebooted and the problem came back. -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel mailing

Re: [RFC PATCH v1] dma-fence-array: Deal with sub-fences that are signaled late

2020-08-13 Thread Chris Wilson
Quoting Jordan Crouse (2020-08-13 00:55:44) > This is an RFC because I'm still trying to grok the correct behavior. > > Consider a dma_fence_array created two two fence and signal_on_any is true. > A reference to dma_fence_array is taken for each waiting fence. > > When the client calls

[Bug 208893] Navi (RX 5700 XT) system appears to hang with more than one display connected

2020-08-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208893 --- Comment #8 from Gordon (gor...@gordonite.tech) --- not getting any symptoms of the problem now. -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel

[Bug 208893] Navi (RX 5700 XT) system appears to hang with more than one display connected

2020-08-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208893 --- Comment #7 from Gordon (gor...@gordonite.tech) --- [ 18.764922] snd_hda_intel :0c:00.1: refused to change power state from D3hot to D0 [ 18.869351] snd_hda_intel :0c:00.1: CORB reset timeout#2, CORBRP = 65535 [ 19.090949]

[Bug 208893] Navi (RX 5700 XT) system appears to hang with more than one display connected

2020-08-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208893 --- Comment #6 from Gordon (gor...@gordonite.tech) --- Created attachment 290871 --> https://bugzilla.kernel.org/attachment.cgi?id=290871=edit this is the log from after my patch is applied -- You are receiving this mail because: You are

[Bug 208893] Navi (RX 5700 XT) system appears to hang with more than one display connected

2020-08-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208893 --- Comment #5 from Gordon (gor...@gordonite.tech) --- The problem: the GPU card / seems to make a difference here, some seem to require a bigger delay? and some just work. Would be nice to know why. -- You are receiving this mail because: You

[Bug 208893] Navi (RX 5700 XT) system appears to hang with more than one display connected

2020-08-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208893 --- Comment #4 from Gordon (gor...@gordonite.tech) --- Found a fix for the issue. My card is a PowerColor Red Devil 5600 XT. diff --git a/drivers/gpu/drm/amd/powerplay/smu_cmn.c b/drivers/gpu/drm/amd/powerplay/smu_cmn.c index

[PATCH v2 4/5] xen: Sync up with the canonical protocol definition in Xen

2020-08-13 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko This is the sync up with the canonical definition of the display protocol in Xen. 1. Add protocol version as an integer Version string, which is in fact an integer, is hard to handle in the code that supports different protocol versions. To simplify that also add

[PATCH v2 3/5] drm/xen-front: Add YUYV to supported formats

2020-08-13 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Add YUYV to supported formats, so the frontend can work with the formats used by cameras and other HW. Signed-off-by: Oleksandr Andrushchenko Acked-by: Noralf Trønnes --- drivers/gpu/drm/xen/xen_drm_front_conn.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 5/5] drm/xen-front: Pass dumb buffer data offset to the backend

2020-08-13 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko While importing a dmabuf it is possible that the data of the buffer is put with offset which is indicated by the SGT offset. Respect the offset value and forward it to the backend. Signed-off-by: Oleksandr Andrushchenko Acked-by: Noralf Trønnes ---

[PATCH v2 1/5] xen/gntdev: Fix dmabuf import with non-zero sgt offset

2020-08-13 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko It is possible that the scatter-gather table during dmabuf import has non-zero offset of the data, but user-space doesn't expect that. Fix this by failing the import, so user-space doesn't access wrong data. Fixes: bf8dc55b1358 ("xen/gntdev: Implement dma-buf

[PATCH v2 0/5] Fixes and improvements for Xen pvdrm

2020-08-13 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Hello, This series contains an assorted set of fixes and improvements for the Xen para-virtualized display driver and grant device driver which I have collected over the last couple of months: 1. Minor fixes to grant device driver and drm/xen-front. 2. New format

[PATCH v2 2/5] drm/xen-front: Fix misused IS_ERR_OR_NULL checks

2020-08-13 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko The patch c575b7eeb89f: "drm/xen-front: Add support for Xen PV display frontend" from Apr 3, 2018, leads to the following static checker warning: drivers/gpu/drm/xen/xen_drm_front_gem.c:140 xen_drm_front_gem_create() warn: passing zero to 'ERR_CAST'

<    1   2   3   >