[Bug 104001] GPU driver hung when start steam client while playback video on Youtube (it occurs on latest staging kernel)

2018-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104001 Marek Olšák changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 106258] AMD Xorg start failes with non-4K page sizes

2018-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106258 --- Comment #15 from Ben Crocker --- Hello Matt, Timothy, Michel, Andrey, and Dan, I have been testing some older cards (FirePro 2270, Embedded Radeon E6465) on a Power8 system with no problems of the type you're describing; I've run the Piglit

[Bug 99549] pp: Failed to translate a shader

2018-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99549 --- Comment #7 from fra...@gmx.de --- when will this fix come to mesa fixes release 17.x and 18.x? thx for the fix -- You are receiving this mail because: You are the assignee for the bug.___ dri-dev

Re: [PATCH] media: include/video/omapfb_dss.h: use IS_ENABLED()

2018-05-05 Thread Mauro Carvalho Chehab
Em Sat, 5 May 2018 10:59:23 -0700 Randy Dunlap escreveu: > On 05/04/2018 01:49 PM, Mauro Carvalho Chehab wrote: > > Just checking for ifdefs cause build issues as reported by > > kernel test: > > > > config: openrisc-allmodconfig (attached as .config) > > compiler: or1k-linux-gcc (GCC) 6.0.0 201

[BUG] drm/vc4: vblank wait timed out

2018-05-05 Thread Stefan Wahren
Hi, after submit of the latest bcm2835 clock fixes, i thought this issue has been fixed. But i've seen this issue with current mainline 4.17-rc3 (bcm2835_defconfig) on Raspberry Pi 1 B (using U-Boot TFTP Boot). Strangly i couldn't reproduce this issue with same kernel but using only the Foundat

Re: [BUG] drm/vc4: vblank wait timed out

2018-05-05 Thread Stefan Wahren
Hi Stefan, > Stefan Schake hat am 5. Mai 2018 um 19:29 geschrieben: > > > On Sat, May 5, 2018 at 1:47 PM, Stefan Wahren wrote: > > Hi, > > > > after submit of the latest bcm2835 clock fixes, i thought this issue has > > been fixed. But i've seen this issue with current mainline 4.17-rc3 > >

[PATCH 04/13] drm/kms/mode/fsl-dcu: using helper func drm_display_mode_to_videomode for calculating timing parameters

2018-05-05 Thread Satendra Singh Thakur
To avoid duplicate logic for the same Signed-off-by: Satendra Singh Thakur Cc: Madhur Verma Cc: Hemanshu Srivastava --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 29 - 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu

[PATCH v1 3/5] drm/tegra: gr3d: Add IOMMU support

2018-05-05 Thread Dmitry Osipenko
Attach GR3D to the displays IOMMU group in order to provide GR3D access to BO's IOVA. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/gr3d.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/gpu/drm/tegra/gr3d.c b/drivers/gpu/drm/tegra/gr3d.c index

[PATCH v2 0/3] Couple more DRM plane features for Tegra

2018-05-05 Thread Dmitry Osipenko
Hi, This series improves DRM plane support by supporting zPos on older Tegra's and enabling plane scaling filters (up to Tegra210). Changelog: v2: - Addressed v1 review comments. Dmitry Osipenko (3): drm/tegra: dc: Enable plane scaling filters drm/tegra: plane: Implement zPos plane

Re: [drm_hwc] PSA: drm_hwc submissions via gitlab

2018-05-05 Thread Mauro Rossi
Hi all, I just wanted to share that I'm conducting "newbie" tests on oreo-x86 with drm_hwcomposer, gbm_gralloc and libdrm with latest gralloc_handle.h and the results are good on nouveau, provided that some changes in drmresources are applied to avoid throwing errors for non connected connectors,

AW: [PATCH v4 0/7] Add basic support for emtrion emCON-MX6 modules

2018-05-05 Thread Türk , Jan
> -Ursprüngliche Nachricht- > Von: Shawn Guo [mailto:shawn...@kernel.org] > Gesendet: Samstag, 28. April 2018 04:35 > An: Türk, Jan > Cc: Rob Herring; Mark Rutland; Thierry Reding; David Airlie; Sascha Hauer; > Pengutronix Kernel Team; Fabio Estevam; Russell King; > devicet...@vger.kernel

Re: [BUG] drm/vc4: vblank wait timed out

2018-05-05 Thread Stefan Wahren
Hi Boris, > Boris Brezillon hat am 5. Mai 2018 um 14:24 > geschrieben: > > > On Sat, 5 May 2018 13:47:25 +0200 (CEST) > Stefan Wahren wrote: > > > Hi, > > > > after submit of the latest bcm2835 clock fixes, i thought this issue has > > been fixed. But i've seen this issue with current main

[PATCH v2 26/26] drm/bridge: establish a link between the bridge supplier and consumer

2018-05-05 Thread Peter Rosin
If the bridge supplier is unbound, this will bring the bridge consumer down along with the bridge. Thus, there will no longer linger any dangling pointers from the bridge consumer (the drm_device) to some non-existent bridge supplier. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_bridge.c |

[PATCH v1 2/5] drm/tegra: gr2d: Add IOMMU support

2018-05-05 Thread Dmitry Osipenko
Attach GR2D to the display IOMMU group in order to provide GR2D access to BO's IOVA. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/gr2d.c | 31 +-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tegra/gr2d.c b/drivers/gpu/drm

Re: [PATCH v1 0/5] Support IOMMU for 2d/3d on Tegra30/114

2018-05-05 Thread Dmitry Osipenko
On 04.05.2018 13:56, Thierry Reding wrote: > On Fri, May 04, 2018 at 02:47:18AM +0300, Dmitry Osipenko wrote: >> Hi, >> >> This series enables IOMMU support for 2d/3d HW on Tegra30/114, as a result >> userspace that uses 2d/3d could work with the active IOMMU. >> >> Dmitry Osipenko (5): >> drm/te

Re: [PATCH 4/4] drm/tegra: Refactor IOMMU attach/detach

2018-05-05 Thread Dmitry Osipenko
On 04.05.2018 18:10, Thierry Reding wrote: > On Fri, May 04, 2018 at 05:23:42PM +0300, Dmitry Osipenko wrote: >> On 04.05.2018 16:37, Thierry Reding wrote: >>> From: Thierry Reding >>> >>> Attaching to and detaching from an IOMMU uses the same code sequence in >>> every driver, so factor it out in

Re: [PATCH 7/7] ARM: dts: sun7i: Add dts file for the A20-linova1-7 HMI

2018-05-05 Thread Sergey Suloev
Hi, Giulio, On 05/05/2018 12:52 AM, Giulio Benetti wrote: Hi Maxime! Il 04/05/2018 10:06, Maxime Ripard ha scritto: Hi, On Wed, May 02, 2018 at 06:41:34PM +0200, Giulio Benetti wrote: You don't have to handcode the fragments anymore with the new syntax, and U-Boot makes it really trivial to

[PATCH v2 2/3] drm/tegra: plane: Implement zPos plane property for older Tegra's

2018-05-05 Thread Dmitry Osipenko
Older Tegra's do not support planes z position handling in hardware, but HW provides knobs for zPos implementation in software. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/dc.c| 134 --- drivers/gpu/drm/tegra/plane.c | 193 --

Re: [PATCH 2/3] drm_hwcomposer: Stop using libsync to provide sw_sync wrappers

2018-05-05 Thread Rob Herring
On Thu, May 3, 2018 at 9:32 AM, Sean Paul wrote: > On Thu, May 03, 2018 at 09:14:41AM -0500, Rob Herring wrote: >> On Thu, May 3, 2018 at 8:47 AM, Sean Paul wrote: >> > On Wed, May 02, 2018 at 04:56:29PM -0700, Alistair Strachan wrote: >> >> Use of the sw_sync API is not allowed any more. Until d

[PATCH v1 5/5] ARM: dts: tegra114: Add IOMMU nodes to Host1x and its clients

2018-05-05 Thread Dmitry Osipenko
Enable IOMMU support for Host1x and its clients. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra114.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi index 0e4a13295d8a..84c4358dacac 100644 --- a/arch/arm/bo

Re: [PATCH 1/2] drm/panel: Add Raydium RM67191 DSI Panel

2018-05-05 Thread Robert Chiras
On Vi, 2018-04-27 at 11:08 +, Thierry Reding wrote: > On Fri, Apr 27, 2018 at 10:37:16AM +, Robert Chiras wrote: > > > > > > Hi Thierry, > > > > Thanks a lot for reviewing this. Your suggestions are very > > valuable. > > Please see my detailed answers inline. > > > > Best regards, > >

[PATCH v2 23/26] drm/sti: provide an owner .odev device for the bridges

2018-05-05 Thread Peter Rosin
The .of_node member is going away and providing an .odev will become mandatory. Signed-off-by: Peter Rosin --- drivers/gpu/drm/sti/sti_dvo.c | 2 +- drivers/gpu/drm/sti/sti_hda.c | 1 + drivers/gpu/drm/sti/sti_hdmi.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/

[PATCH v2 15/26] drm/bridge: synopsys: provide an owner .odev device for the bridges

2018-05-05 Thread Peter Rosin
It gets rid of two #ifdefs and the .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 4 +--- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/bridge/s

[PATCH] drm/bridge: cdns-dsi: mark PM functions as __maybe_unused

2018-05-05 Thread Anders Roxell
The suspend/resume callbacks are now optional, leading to a warning when they are unused: drivers/gpu/drm/bridge/cdns-dsi.c:1353:12: warning: ‘cdns_dsi_suspend’ defined but not used [-Wunused-function] static int cdns_dsi_suspend(struct device *dev) ^~~~ drivers/gpu/drm

[PATCH 12/13] drm/kms/mode/mtk_dpi_dsi: using helper func drm_display_mode_to_videomode for calculating timing parameters

2018-05-05 Thread Satendra Singh Thakur
-Duplicate logic for the timing params is avoided -Arithmatic operator *,/ are replaced by logical >>, << operators -The flags DRM_MODE_FLAG_* are replaced with DISPLAY_FLAGS_* flags Signed-off-by: Satendra Singh Thakur Cc: Madhur Verma Cc: Hemanshu Srivastava --- drivers/gpu/drm/mediatek/mtk_

[PATCH v2 18/26] drm/bridge: ti-tfp410: provide an owner .odev device

2018-05-05 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/ti-tfp410.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c index acb857030951..4745838fdf0e 100644 --- a/drivers/

[PATCH v2 14/26] drm/bridge: sii8620: provide an owner .odev device

2018-05-05 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/sil-sii8620.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/sil-sii8620.c b/drivers/gpu/drm/bridge/sil-sii8620.c index 7ab36042a822..8e35578b0488 100644 --- a/dr

[PATCH v2 01/26] drm/bridge: allow optionally specifying an owner .odev device

2018-05-05 Thread Peter Rosin
Bridge drivers can now (temporarily, in a transition phase) select if they want to provide a full owner device or keep just providing an of_node. By providing a full owner device, the bridge drivers no longer need to provide an of_node since that node is available via the owner device. When all b

[PATCH v1 2/3] drm/tegra: plane: Implement zPos plane property for older Tegra's

2018-05-05 Thread Dmitry Osipenko
Older Tegra's do not support planes z position handling in hardware, but HW provides knobs for zPos implementation in software. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/dc.c| 134 --- drivers/gpu/drm/tegra/plane.c | 193 --

Re: [PATCH] drivers: omap2: Kconfig: make FB_OMAP2_DSS_INIT depend on OF

2018-05-05 Thread Randy Dunlap
On 04/20/2018 04:25 AM, Anders Roxell wrote: > Commit 7378f1149884 ("media: omap2: omapfb: allow building it with > COMPILE_TEST") broke compilation without CONFIG_OF selected. > CC drivers/video/fbdev/core/fbmem.o > drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c: In function > ‘o

[PATCH V2 5/5] backlight: qcom-wled: Add auto string detection logic

2018-05-05 Thread Kiran Gunda
The auto string detection algorithm checks if the current WLED sink configuration is valid. It tries enabling every sink and checks if the OVP fault is observed. Based on this information it detects and enables the valid sink configuration. Auto calibration will be triggered when the OVP fault inte

[PATCH v2 1/3] drm/tegra: dc: Enable plane scaling filters

2018-05-05 Thread Dmitry Osipenko
Currently resized plane produces a "pixelated" image which doesn't look nice, especially in a case of a video overlay. Enable scaling filters that significantly improve image quality of a scaled overlay. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/dc.c | 81 +

[PATCH 01/13] drm/kms/mode/atmel-hlcdc: using helper func drm_display_mode_to_videomode for calculating timing parameters

2018-05-05 Thread Satendra Singh Thakur
To avoid duplicate logic for the same: There is a function in drm-core to calculate display timing parameters: horizontal front porch, back porch, sync length, vertical front porch, back porch, sync length and clock in Hz. However, some drivers are still calculating these parameters themselves. The

[PATCH v2 0/2] drm/panel: Add Raydium RM67191 driver

2018-05-05 Thread Robert Chiras
This patch-set add support for Raydium RM67191 FHD (1080x1920) OLED panel driver. New in v2: - Splitted the device tree bindings into a separate patch - Squashed the fix from Mirela into the initial patch of the driver - Sorted Makefile and Kconfig alphabetically - Optimized the code aroun

Re: [PATCH 4/4] drm/tegra: Refactor IOMMU attach/detach

2018-05-05 Thread Dmitry Osipenko
On 04.05.2018 16:37, Thierry Reding wrote: > From: Thierry Reding > > Attaching to and detaching from an IOMMU uses the same code sequence in > every driver, so factor it out into separate helpers. > > Signed-off-by: Thierry Reding > --- > drivers/gpu/drm/tegra/dc.c | 42 ++--

Re: [PATCH v1] drm/kms/mode: added a new helper for calculating videomode from crtc's display mode

2018-05-05 Thread Satendra Singh Thakur
On Thu, May 03, 2018 at 11:36:39 +0100, Liviu Dudau wrote: > On Thu, May 03, 2018 at 11:28:37AM +0530, Satendra Singh Thakur wrote: > > 1. > > -Added a new helper drm_display_mode_crtc_to_videomode > > -This helper calculates mode parameters like > > horizontal front_porch, back_porch, sync lengt

drm SPDX updates

2018-05-05 Thread Dirk Hohndel (VMware)
This series clarifies licenses, removes unnecessary boilerplate and addas SPDX headers for files in drm that are copyrighted by VMware. /D ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-dev

[PATCH V1 2/5] backlight: qcom-wled: Add support for WLED4 peripheral

2018-05-05 Thread Kiran Gunda
WLED4 peripheral is present on some PMICs like pmi8998 and pm660l. It has a different register map and also configurations are different. Add support for it. Signed-off-by: Kiran Gunda --- .../bindings/leds/backlight/qcom-wled.txt | 172 - drivers/video/backlight/qcom-wled.c

[PATCH 10/13] drm/kms/mode/ti-lcdc: using helper func drm_display_mode_to_videomode for calculating timing parameters

2018-05-05 Thread Satendra Singh Thakur
To avoid duplicate logic for the same Signed-off-by: Satendra Singh Thakur Cc: Madhur Verma Cc: Hemanshu Srivastava --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 60 1 file changed, 27 insertions(+), 33 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_

[PATCH V2 1/5] backlight: qcom-wled: Rename pm8941-wled.c to qcom-wled.c

2018-05-05 Thread Kiran Gunda
pm8941-wled.c driver is supporting the WLED peripheral on pm8941. Rename it to qcom-wled.c so that it can support WLED on multiple PMICs. Signed-off-by: Kiran Gunda --- .../bindings/leds/backlight/{pm8941-wled.txt => qcom-wled.txt}| 2 +- drivers/video/backlight/Kconfig

[PATCH RESEND 2/2] drm/msm: use correct aspace pointer in msm_gem_put_iova()

2018-05-05 Thread Daniel Mack
Even though msm_gem_put_iova() is currently a NOP function, the caller should pass in the address space pointer it used to obtain the object. Other call sites were changed in 8bdcd949bbe7e ("drm/msm: pass address-space to _get_iova() and friends"), but this one seems to have been forgotten. Signe

[PATCH] dma-buf: Remove unneeded stubs around sync_debug interfaces

2018-05-05 Thread Ezequiel Garcia
The sync_debug.h header is internal, and only used by sw_sync.c. Therefore, SW_SYNC is always defined and there is no need for the stubs. Remove them and make the code simpler. Signed-off-by: Ezequiel Garcia --- drivers/dma-buf/sync_debug.h | 10 -- 1 file changed, 10 deletions(-) diff

[PATCH RESEND 1/2] drm/msm: remove unbalanced mutex unlock

2018-05-05 Thread Daniel Mack
This regression stems from 0e08270a1f01 ("drm/msm: Separate locking of buffer resources from struct_mutex"). Signed-off-by: Daniel Mack Cc: Sushmita Susheelendra Cc: Rob Clark Fixes: 0e08270a1f01 ("drm/msm: Separate locking of buffer resources from struct_mutex") --- I'm resending these two pa

[PATCH] drm: Allow CAP_DUMB_BUFFERS on !MODESET

2018-05-05 Thread Ezequiel Garcia
It's perfectly possible to get dumb buffers out of drivers that don't support modeset. This is the case of vgem, which can be used to export dmabuf to run various tests. Therefore, move the dumb buffer capability check before the mode set check. Inspired by commit f3f4c4d68a28 ("drm: Allow CAP_PRI

[PATCH v2 24/26] drm/bridge: remove the .of_node member

2018-05-05 Thread Peter Rosin
It is unused. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_bridge.c | 3 +-- drivers/gpu/drm/rockchip/rockchip_lvds.c | 2 -- include/drm/drm_bridge.h | 4 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/

[PATCH 1/4] drm/rockchip: add transfer function for cdn-dp

2018-05-05 Thread Lin Huang
From: Chris Zhong We may support training outside firmware, so we need support dpcd read/write to get the message or do some setting with display. Signed-off-by: Chris Zhong Signed-off-by: Lin Huang --- drivers/gpu/drm/rockchip/cdn-dp-core.c | 55 drivers/gpu/drm/

Re: [PATCH] display: panel: Add KOE tx14d24vm1bpa display support (320x240)

2018-05-05 Thread Lukasz Majewski
Hi Rob, > On Thu, Apr 12, 2018 at 04:37:15PM +0200, Lukasz Majewski wrote: > > This commit adds support for KOE's 5.7" display. > > > > Signed-off-by: Lukasz Majewski > > --- > > .../bindings/display/panel/koe,tx14d24vm1bpa.txt | 42 > > ++ > > drivers/gpu/drm/panel/panel-s

[PATCH v1 0/3] Couple more DRM plane features on Tegra

2018-05-05 Thread Dmitry Osipenko
Hi, This series improves DRM plane support by supporting zPos on older Tegra's and enabling plane scaling filters (up to Tegra210). Dmitry Osipenko (3): drm/tegra: dc: Enable plane scaling filters drm/tegra: plane: Implement zPos plane property for older Tegra's drm/tegra: dc: Rename suppor

Re: [PATCH] Add SPDX idenitifier and clarify license

2018-05-05 Thread Dirk Hohndel
On Thu, May 03, 2018 at 10:03:32AM -0300, Fabio Estevam wrote: > On Wed, May 2, 2018 at 10:46 AM, Thomas Hellstrom > wrote: > > > diff --git a/drivers/gpu/drm/ttm/ttm_agp_backend.c > > b/drivers/gpu/drm/ttm/ttm_agp_backend.c > > index 7c2485fe88d8..ea4d59eb8966 100644 > > --- a/drivers/gpu/drm/

[PATCH v1 03/13] drm/kms/mode/exynos-dsi: using helper func drm_display_mode_to_videomode for calculating timing parameters

2018-05-05 Thread Satendra Singh Thakur
To avoid duplicate logic for the same Reviewed-by: Robin Murphy Signed-off-by: Satendra Singh Thakur Acked-by: Madhur Verma Cc: Hemanshu Srivastava --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/ex

[PATCH 02/13] drm/kms/mode/bridge-tc358767: using helper func drm_display_mode_to_videomode for calculating timing parameters

2018-05-05 Thread Satendra Singh Thakur
To avoid duplicate logic for timing parameters Signed-off-by: Satendra Singh Thakur Cc: Madhur Verma Cc: Hemanshu Srivastava --- drivers/gpu/drm/bridge/tc358767.c | 42 ++- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/drivers/gpu/drm/bridg

[PATCH v1 09/13] drm/kms/mode/sun4i-tv: using helper func drm_display_mode_from_videomode for calculating timing parameters

2018-05-05 Thread Satendra Singh Thakur
To avoid duplicate logic for horizonal/vertical sync_start/end helper func drm_display_mode_from_videomode is used Acked-by: Maxime Ripard Signed-off-by: Satendra Singh Thakur Acked-by: Madhur Verma Cc: Hemanshu Srivastava --- v1: Added acked-by fields drivers/gpu/drm/sun4i/sun4i_tv.c | 67

[PATCH 05/13] drm/kms/mode/gma500-mdfld_dsi_dpi: using helper function drm_display_mode_to_videomode for calculating timing parameters

2018-05-05 Thread Satendra Singh Thakur
To avoid duplicate logic for the same Signed-off-by: Satendra Singh Thakur Cc: Madhur Verma Cc: Hemanshu Srivastava --- drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 28 ++-- 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_dpi

Re: [PATCH 7/8] drm/vmwgfx: add SPDX idenitifier and clarify license

2018-05-05 Thread Dirk Hohndel
Hi Thomas, On Fri, May 04, 2018 at 08:18:09AM +0200, Thomas Hellstrom wrote: > On 05/04/2018 12:15 AM, Dirk Hohndel (VMware) wrote: > > This is licensed under GPL-2.0. > > > > Signed-off-by: Dirk Hohndel (VMware) > > --- > > drivers/gpu/drm/vmwgfx/Kconfig| 1 + > > .../vmwgfx

Re: [PATCH v1 2/3] drm/tegra: plane: Implement zPos plane property for older Tegra's

2018-05-05 Thread Dmitry Osipenko
On 04.05.2018 15:15, Thierry Reding wrote: > On Fri, May 04, 2018 at 03:08:43AM +0300, Dmitry Osipenko wrote: >> Older Tegra's do not support planes z position handling in hardware, >> but HW provides knobs for zPos implementation in software. >> >> Signed-off-by: Dmitry Osipenko >> --- >> driver

[PATCH v2 17/26] drm/bridge: thc63lvd1024: provide an owner .odev device

2018-05-05 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/thc63lvd1024.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/thc63lvd1024.c b/drivers/gpu/drm/bridge/thc63lvd1024.c index c8b9edd5a7f4..4765c9c45aef 100644 --- a

[PATCH 2/2] gpu: ipu-v3: csi: support RGB565 on parallel bus

2018-05-05 Thread Jan Luebbe
The CSI_SENS_CONF_DATA_FMT_RGB565 configuration only works for MIPI CSI-2 sources. On the parallel bus, we need to use bayer (generic) mode instead. To handle this difference, we pass the mbus_type to mbus_code_to_bus_cfg(). Signed-off-by: Jan Luebbe --- drivers/gpu/ipu-v3/ipu-csi.c | 12 +++

[PATCH v2 21/26] drm/msm: specify the owner .odev of the bridges

2018-05-05 Thread Peter Rosin
This will become mandatory. Signed-off-by: Peter Rosin --- drivers/gpu/drm/msm/dsi/dsi_manager.c | 1 + drivers/gpu/drm/msm/edp/edp_bridge.c | 1 + drivers/gpu/drm/msm/hdmi/hdmi_bridge.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/msm/dsi/dsi_manager.c b/drivers/gpu

[PATCH v2 06/26] drm/bridge: vga-dac: provide an owner .odev device

2018-05-05 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/dumb-vga-dac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/dumb-vga-dac.c b/drivers/gpu/drm/bridge/dumb-vga-dac.c index 9837c8d69e69..95cce18e8943 100644 --- a

[PATCH v1] drm: panel-orientation-quirks: Convert to use match_string() helper

2018-05-05 Thread Andy Shevchenko
The new helper returns index of the matching string in an array. We are going to use it here. Signed-off-by: Andy Shevchenko --- drivers/gpu/drm/drm_panel_orientation_quirks.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.

Re: [PATCH v1 1/5] drm/tegra: dc: Balance IOMMU group refcounting

2018-05-05 Thread Dmitry Osipenko
On 04.05.2018 13:45, Thierry Reding wrote: > On Fri, May 04, 2018 at 02:47:19AM +0300, Dmitry Osipenko wrote: >> Remove unneeded iommu_group_get() and add missing iommu_group_put(), >> correcting IOMMU group refcount. This is a minor correction / cleanup that >> doesn't really fix anything because

[PATCH v2 11/26] drm/bridge: ps8622: provide an owner .odev device

2018-05-05 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/parade-ps8622.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/parade-ps8622.c b/drivers/gpu/drm/bridge/parade-ps8622.c index 81198f5e9afa..957420a1c924 100644 --

Re: [PATCH RESEND 1/2] drm/msm: remove unbalanced mutex unlock

2018-05-05 Thread Daniel Mack
On Thursday, May 03, 2018 02:24 PM, Rob Clark wrote: > On Thu, May 3, 2018 at 8:00 AM, Daniel Mack wrote: >> This regression stems from 0e08270a1f01 ("drm/msm: Separate locking of >> buffer resources from struct_mutex"). >> >> Signed-off-by: Daniel Mack >> Cc: Sushmita Susheelendra >> Cc: Rob Cl

[PATCH v2 10/26] drm/bridge: panel: provide an owner .odev device

2018-05-05 Thread Peter Rosin
It gets rid of an #ifdef and the .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/panel.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/panel.c b/drivers/gpu/drm/bridge/panel.c index 6d99d4a3beb3..f43d77b5ed20 10

Re: [PATCH v1 2/5] drm/tegra: gr2d: Add IOMMU support

2018-05-05 Thread Dmitry Osipenko
On 04.05.2018 13:54, Thierry Reding wrote: > On Fri, May 04, 2018 at 02:47:20AM +0300, Dmitry Osipenko wrote: >> Attach GR2D to the display IOMMU group in order to provide GR2D access >> to BO's IOVA. >> >> Signed-off-by: Dmitry Osipenko >> --- >> drivers/gpu/drm/tegra/gr2d.c | 31 +++

[PATCH v2 03/26] drm/bridge/analogix: core: specify the owner .odev of the bridge

2018-05-05 Thread Peter Rosin
This will become mandatory. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c index 2bcbfadb6ac5..c60f29216

[PATCH 6/8] drm/ttm: add SPDX idenitifier and clarify license

2018-05-05 Thread Dirk Hohndel (VMware)
This is dual licensed under GPL-2.0 or MIT. Signed-off-by: Dirk Hohndel (VMware) --- drivers/gpu/drm/ttm/ttm_agp_backend.c | 1 + drivers/gpu/drm/ttm/ttm_bo.c | 1 + drivers/gpu/drm/ttm/ttm_bo_manager.c | 1 + drivers/gpu/drm/ttm/ttm_bo_util.c | 1 + drivers/gpu/drm/ttm/ttm_bo_

[PATCH V2 3/5] backlight: qcom-wled: Add support for short circuit handling

2018-05-05 Thread Kiran Gunda
Handle the short circuit interrupt and check if the short circuit interrupt is valid. Re-enable the module to check if it goes away. Disable the module altogether if the short circuit event persists. Signed-off-by: Kiran Gunda --- drivers/video/backlight/qcom-wled.c | 134 +++

[PATCH 4/4] drm/rockchip: support dp training outside dp firmware

2018-05-05 Thread Lin Huang
DP firware use fix phy config value to do training, but some board need to adjust these value to fit for their hardware design, so we use new phy config to do training outside firmware to meet this situation, if there have new phy config pass from dts, it will use training outside firmware. Signed

[PATCH V2 4/5] backlight: qcom-wled: Add support for OVP interrupt handling

2018-05-05 Thread Kiran Gunda
WLED peripheral has over voltage protection(OVP) circuitry and the OVP fault is notified through an interrupt. Though this fault condition rising is due to an incorrect hardware configuration is mitigated in the hardware, it still needs to be detected and handled. Add support for it. When WLED mod

[PATCH v2 02/26] drm/bridge: adv7511: provide an owner .odev device

2018-05-05 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c index 2614cea538e2..fd2e

[PATCH v2 22/26] drm/rcar-du: lvds: provide an owner .odev device for the bridge

2018-05-05 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_lvds.c b/drivers/gpu/drm/rcar-du/rcar_lvds.c index 3d2d3bbd1342..efda02f55c95 100644 --- a/drive

[PATCH 7/8] drm/vmwgfx: add SPDX idenitifier and clarify license

2018-05-05 Thread Dirk Hohndel (VMware)
This is licensed under GPL-2.0. Signed-off-by: Dirk Hohndel (VMware) --- drivers/gpu/drm/vmwgfx/Kconfig| 1 + .../vmwgfx/device_include/vmware_pack_begin.h | 25 +-- .../vmwgfx/device_include/vmware_pack_end.h | 25 +-- drivers/gpu/drm/vmwgfx/vm

[PATCH v2 07/26] drm/bridge: lvds-encoder: provide an owner .odev device

2018-05-05 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/lvds-encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/lvds-encoder.c b/drivers/gpu/drm/bridge/lvds-encoder.c index 75b0d3f6e4de..a80eec17b13b 100644 --- a

Re: [PATCH 1/3] drm/sti: do not remove the drm_bridge that was never added

2018-05-05 Thread Peter Rosin
On 2018-05-03 11:06, Daniel Vetter wrote: > On Wed, May 02, 2018 at 09:40:23AM +0200, Peter Rosin wrote: >> The more natural approach would perhaps be to add an drm_bridge_add, >> but there are several other bridges that never call drm_bridge_add. >> Just removing the drm_bridge_remove is the easie

[PATCH v2 13/26] drm/bridge: sii9234: provide an owner .odev device

2018-05-05 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/sii9234.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/sii9234.c b/drivers/gpu/drm/bridge/sii9234.c index c77000626c22..54326357b2ee 100644 --- a/drivers/gpu/drm

[PATCH 11/13] drm/kms/mode/tegra: using helper func drm_display_mode_to_videomode for calculating timing parameters

2018-05-05 Thread Satendra Singh Thakur
To avoid duplicate logic for the same Signed-off-by: Satendra Singh Thakur Cc: Madhur Verma Cc: Hemanshu Srivastava --- drivers/gpu/drm/tegra/dc.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c index 9

[PATCH v2 2/2] dt-bindings: Add Raydium RM67191 panel bindings

2018-05-05 Thread Robert Chiras
Signed-off-by: Robert Chiras --- .../bindings/display/panel/raydium,rm67191.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt diff --git a/Documentation/devicetree/bindings/display/panel

[PATCH 09/13] drm/kms/mode/sun4i-tv: using helper func drm_display_mode_from_videomode for calculating timing parameters

2018-05-05 Thread Satendra Singh Thakur
To avoid duplicate logic for horizonal/vertical sync_start/end helper func drm_display_mode_from_videomode is used Signed-off-by: Satendra Singh Thakur Cc: Madhur Verma Cc: Hemanshu Srivastava --- drivers/gpu/drm/sun4i/sun4i_tv.c | 67 +++- 1 file changed, 2

Re: [PATCH v5 2/4] dt-bindings: drm/bridge: Document sn65dsi86 bridge bindings

2018-05-05 Thread spanda
On 2018-05-02 22:31, Stephen Boyd wrote: Quoting Sandeep Panda (2018-05-01 21:32:00) diff --git a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.txt b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.txt new file mode 100644 index 000..0d042ce --- /dev/null +++

[PATCH v2 25/26] drm/bridge: require the owner .odev to be filled in on drm_bridge_add/attach

2018-05-05 Thread Peter Rosin
The .odev owner device will be handy to have around. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_bridge.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/gpu/drm/drm_bridge.c index df084db33494..78d186b6831b 100644 --- a/drivers/gpu/drm/drm

[PATCH v2 20/26] drm/mediatek: hdmi: provide an owner .odev device for the bridge

2018-05-05 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c index 59a11026dceb..d8c7d93d0a87 100644 --- a/drive

Re: [PATCH] media: include/video/omapfb_dss.h: use IS_ENABLED()

2018-05-05 Thread Randy Dunlap
On 05/04/2018 01:49 PM, Mauro Carvalho Chehab wrote: > Just checking for ifdefs cause build issues as reported by > kernel test: > > config: openrisc-allmodconfig (attached as .config) > compiler: or1k-linux-gcc (GCC) 6.0.0 20160327 (experimental) > > All errors (new ones prefixed by >>): > >

[PATCH v1 3/3] drm/tegra: dc: Rename supports_blending to has_legacy_blending

2018-05-05 Thread Dmitry Osipenko
Older Tegra's support blending. Rename SoC info entry supports_blending to has_legacy_blending to eliminate confusion. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/dc.c | 20 ++-- drivers/gpu/drm/tegra/dc.h | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-)

[PATCH v2 1/2] drm/panel: Add Raydium RM67191 DSI Panel

2018-05-05 Thread Robert Chiras
Add support for the OLED display based on MIPI-DSI protocol from Raydium: RM67191. Signed-off-by: Robert Chiras Signed-off-by: Mirela Rabulea --- drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile| 1 + drivers/gpu/drm/panel/panel-raydium-rm6

[PATCH 0/2] gpu: ipu-v3: csi: add RGB565 support

2018-05-05 Thread Jan Luebbe
This series adds support to capture in RGB565 format on the parallel bus by using the bayer (generic) mode instead. It also contains a small cleanup patch to pass on error codes from mbus_code_to_bus_cfg in fill_csi_bus_cfg and ipu_csi_init_interface by Enrico Scholz. Enrico Scholz (1): gpu: ip

[PULL] drm-misc-next

2018-05-05 Thread Maarten Lankhorst
drm-misc-next-2018-05-04: drm-misc-next for v4.18: Ignore the dma-fence changes, they have been immediately reverted. :) Core Changes: - Rounding behavior when clipping a visible plane has changed slightly. We now consistently try to round towards the 1.0x scale to prevent running into hw limits.

[PATCH v2 19/26] drm/exynos: mic: provide an owner .odev device for the bridge

2018-05-05 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/exynos/exynos_drm_mic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_mic.c b/drivers/gpu/drm/exynos/exynos_drm_mic.c index 2174814273e2..f9ff8d3ec937 100644

[PATCH v2 04/26] drm/bridge: analogix-anx78xx: provide an owner .odev device

2018-05-05 Thread Peter Rosin
It gets rid of an #if and the .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/analogix-anx78xx.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix-anx78xx.c b/drivers/gpu/drm/bridge/analogix-anx78xx.c ind

[PATCH v2 08/26] drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: provide an owner .odev device

2018-05-05 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/megachips-stdp-ge-b850v3-fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/megachips-stdp-ge-b850v3-fw.c b/drivers/gpu/drm/bridge/megachips-stdp-ge-

[PATCH V1 1/5] qcom: wled: Rename pm8941-wled.c to qcom-wled.c

2018-05-05 Thread Kiran Gunda
pm8941-wled.c driver is supporting the WLED peripheral on pm8941. Rename it to qcom-wled.c so that it can support WLED on multiple PMICs. Signed-off-by: Kiran Gunda --- .../bindings/leds/backlight/{pm8941-wled.txt => qcom-wled.txt}| 2 +- drivers/video/backlight/Kconfig

[PATCH V1 4/5] backlight: qcom-wled: Add support for OVP interrupt handling

2018-05-05 Thread Kiran Gunda
WLED peripheral has over voltage protection(OVP) circuitry and the OVP fault is notified through an interrupt. Though this fault condition rising is due to an incorrect hardware configuration is mitigated in the hardware, it still needs to be detected and handled. Add support for it. When WLED mod

Re: [PATCH 1/4] drm/tegra: dc: Free syncpoint on errors

2018-05-05 Thread Dmitry Osipenko
On 04.05.2018 16:37, Thierry Reding wrote: > From: Thierry Reding > > If an error happens during display controller initialization, the host1x > syncpoint previously requested would be leaked. Properly clean up the > syncpoint along with the other resources. > > Signed-off-by: Thierry Reding >

[PATCH 3/8] drm: Add SPDX identifier and clarify license

2018-05-05 Thread Dirk Hohndel (VMware)
This is dual licensed under GPL-2.0 or MIT. Signed-off-by: Dirk Hohndel (VMware) --- drivers/gpu/drm/drm_global.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_global.c b/drivers/gpu/drm/drm_global.c index b2dc21e33ae0..5799e2782dd1 100644 --- a/drivers/

[PATCH v1] i915: Convert to use match_string() helper

2018-05-05 Thread Andy Shevchenko
The new helper returns index of the matching string in an array. We are going to use it here. Signed-off-by: Andy Shevchenko --- drivers/gpu/drm/i915/intel_pipe_crc.c | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_pipe_crc.

AW: [PATCH v4 6/7] ARM: dts: Add support for emtrion emCON-MX6 series

2018-05-05 Thread Türk , Jan
> -Ursprüngliche Nachricht- > Von: Shawn Guo > Gesendet: Samstag, 28. April 2018 05:13 > An: Türk, Jan > Cc: Rob Herring; Mark Rutland; Thierry Reding; David Airlie; Sascha Hauer; > Pengutronix Kernel Team; Fabio Estevam; Russell King; > devicet...@vger.kernel.org; linux-ker...@vger.kernel.

[PATCH v2 05/26] drm/bridge: cdns-dsi: provide an owner .odev device

2018-05-05 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/cdns-dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/cdns-dsi.c b/drivers/gpu/drm/bridge/cdns-dsi.c index c255fc3e1be5..e9be5c3f0284 100644 --- a/drivers/gpu

Re: [PATCH 2/4] drm/tegra: gr2d: Properly clean up resources

2018-05-05 Thread Dmitry Osipenko
On 04.05.2018 16:37, Thierry Reding wrote: > From: Thierry Reding > > Failure to register the Tegra DRM client would leak the resources. Move > cleanup code to error unwinding gotos to fix that and share the cleanup > code with the other error paths. > > Signed-off-by: Thierry Reding > --- > d

[PATCH v2 12/26] drm/bridge: sii902x: provide an owner .odev device

2018-05-05 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/sii902x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/sii902x.c b/drivers/gpu/drm/bridge/sii902x.c index 60373d7eb220..894525b05985 100644 --- a/drivers/gpu/drm

[PATCH v2 00/26] device link, bridge supplier <-> drm device

2018-05-05 Thread Peter Rosin
Hi! It was noted by Russel King [1] that bridges (not using components) might disappear unexpectedly if the owner of the bridge was unbound. Jyri Sarha had previously noted the same thing with panels [2]. Jyri came up with using device links to resolve the panel issue, which was also my (independe

  1   2   >