[Bug 96271] TF2: GPU lockup on HD 7950

2016-05-30 Thread bugzilla-dae...@freedesktop.org
s from dmesg from various different hangs while I was playing TF2. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160530/72453d47/attachment.html>

[Bug 96271] TF2: GPU lockup on HD 7950

2016-05-30 Thread bugzilla-dae...@freedesktop.org
il because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160530/95d515ca/attachment.html>

[Bug 94860] [radeonsi/amdgpu] screen is corrupted when logging out of kde

2016-05-30 Thread bugzilla-dae...@freedesktop.org
You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160530/3b4541e7/attachment.html>

[Bug 94860] [radeonsi/amdgpu] screen is corrupted when logging out of kde

2016-05-30 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160530/38538bc0/attachment.html>

[Bug 96271] TF2: GPU lockup on HD 7950

2016-05-30 Thread bugzilla-dae...@freedesktop.org
the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160530/10b18352/attachment.html>

[Bug 96271] TF2: GPU lockup on HD 7950

2016-05-30 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160530/93bc88b2/attachment.html>

[PATCH] drm/virtio: use old_state when disabling a plane

2016-05-30 Thread Gustavo Padovan
From: Gustavo Padovan When disabling a plane it current plane->state->crtc is NULL and thus can't be used to to retrieve the crtc index. In this case we should get the old_state->crtc and disable the plane on it. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/virtio/virtgpu_plane.c | 4 ++-

[path v2 1/7] drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

2016-05-30 Thread Rongrong Zou
Sorry, forgot to add daniel at ffwll.ch to sendto list. 在 2016/5/30 20:09, Rongrong Zou 写道: > Hi Daniel, > Thanks for reveiwing! > > 在 2016/5/30 17:03, Daniel Vetter 写道: >> On Sun, May 29, 2016 at 05:40:49PM +0800, Rongrong Zou wrote: >>> Add DRM master driver for Hisilicon Hibmc SoC w

[Bug 93748] [r600g]OpenCL driver causes ImageMagick display command to segfault

2016-05-30 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160530/a36a9f1c/attachment.html>

[Bug 93748] [r600g]OpenCL driver causes ImageMagick display command to segfault

2016-05-30 Thread bugzilla-dae...@freedesktop.org
the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160530/7244e3d3/attachment.html>

[RFC 04/21] drm: bridge/dw_hdmi: add dw hdmi i2c bus adapter support

2016-05-30 Thread Vladimir Zapolskiy
Hi Ulrich, On 30.05.2016 19:00, Ulrich Hecht wrote: > From: Vladimir Zapolskiy > > The change adds support of internal HDMI I2C master controller, this > subdevice is used by default, if "ddc-i2c-bus" DT property is omitted. > > The main purpose of this functionality is to support reading EDID

[PATCH] drm/exynos: fimd: don't set .has_hw_trigger in s3c6400 driver data

2016-05-30 Thread Javier Martinez Canillas
The field value is only checked in fimd_setup_trigger() if .trg_type is I80_HW_TRG so there's no point in setting this field for the s3c6400 if is never going to be used since .trg_type is not set. Signed-off-by: Javier Martinez Canillas --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 1 - 1 fil

[path v2 1/7] drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

2016-05-30 Thread Rongrong Zou
Hi Daniel, Thanks for reveiwing! 在 2016/5/30 17:03, Daniel Vetter 写道: > On Sun, May 29, 2016 at 05:40:49PM +0800, Rongrong Zou wrote: >> Add DRM master driver for Hisilicon Hibmc SoC which used for >> Out-of-band management. Blow is the general hardware connection, >> both the Hibmc and the

[PATCH 27/27] drm/mediatek: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Philipp Zabel Signed-off-by: Daniel Vetter --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index b1223d54

[PATCH 26/27] drm/hisilicon: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Xinliang Liu Cc: Xinwei Kong Signed-off-by: Daniel Vetter --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c b/drivers/gpu/drm/his

[PATCH 25/27] drm/hlcd: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Liviu Dudau Signed-off-by: Daniel Vetter --- drivers/gpu/drm/arm/hdlcd_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/arm/hdlcd_drv.c b/drivers/gpu/drm/arm/hdlcd_drv.c index b987c63ba8d6..4f909378d581 10064

[PATCH 24/27] drm/arcpgu: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Alexey Brodkin Cc: Carlos Palminha Signed-off-by: Daniel Vetter --- drivers/gpu/drm/arc/arcpgu_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/arc/arcpgu_drv.c b/drivers/gpu/drm/arc/arcpgu_drv.c index 76e18

[PATCH 23/27] drm/sun4i: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Maxime Ripard Signed-off-by: Daniel Vetter --- drivers/gpu/drm/sun4i/sun4i_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/sun4i/sun4i_drv.c index 76e922bb60e5..68e9d8508

[PATCH 22/27] drm/omapdrm: Nuke dummy fb->dirty callback

2016-05-30 Thread Daniel Vetter
It's an optional hook. Cc: Tomi Valkeinen Cc: Laurent Pinchart Signed-off-by: Daniel Vetter --- drivers/gpu/drm/omapdrm/omap_fb.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/omap_fb.c b/drivers/gpu/drm/omapdrm/omap_fb.c index 94ec06d3d737..d639707f67db 1

[PATCH 21/27] drm/msm: Nuke dummy fb->dirty callback

2016-05-30 Thread Daniel Vetter
It's an optional hook. Cc: Rob Clark Signed-off-by: Daniel Vetter --- drivers/gpu/drm/msm/msm_fb.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/msm/msm_fb.c b/drivers/gpu/drm/msm/msm_fb.c index 461dc8b873f0..7919c24c6ddd 100644 --- a/drivers/gpu/drm/msm/msm_fb.c ++

[PATCH 20/27] drm/rockchip: Use cma gem vm ops

2016-05-30 Thread Daniel Vetter
No need to reinvent this little wheel. v2: Like, try to make it compile even. Cc: Mark Yao Signed-off-by: Daniel Vetter --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/dri

[PATCH 19/27] drm/virtio: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
With Benjanim's patch to remove the dev->struct_mutex cargo cult the sti driver is now also entirely legacy locking free. Let's convert it too. Cc: Benjamin Gaignard Signed-off-by: Daniel Vetter --- drivers/gpu/drm/sti/sti_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 18/27] drm: sti: remove useless call to dev->struct_mutex

2016-05-30 Thread Daniel Vetter
From: Benjamin Gaignard No need to protect debugfs functions with dev->struct_mutex Signed-off-by: Benjamin Gaignard Signed-off-by: Daniel Vetter --- drivers/gpu/drm/sti/sti_cursor.c | 7 --- drivers/gpu/drm/sti/sti_drv.c| 6 -- drivers/gpu/drm/sti/sti_dvo.c| 7 --- dri

[PATCH 17/27] drm/virtio: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Gerd Hoffmann Cc: David Airlie Signed-off-by: Daniel Vetter --- drivers/gpu/drm/virtio/virtgpu_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.c b/drivers/gpu/drm/virtio/virtgpu_drv.c in

[PATCH 16/27] drm/vgem: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: seanpaul at chromium.org Signed-off-by: Daniel Vetter --- drivers/gpu/drm/vgem/vgem_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vgem/vgem_drv.c b/drivers/gpu/drm/vgem/vgem_drv.c index 341f9be3dde6..1b4cc8

[PATCH 15/27] drm/vc4: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Eric Anholt Signed-off-by: Daniel Vetter --- drivers/gpu/drm/vc4/vc4_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b/drivers/gpu/drm/vc4/vc4_drv.c index 143dd98aa079..b662d0492471 100644 ---

[PATCH 14/27] drm/vc4: Use drm_gem_object_unreference_unlocked

2016-05-30 Thread Daniel Vetter
Since my last struct_mutex crusade someone escaped! This already has the advantage that for the common case when someone else holds a ref the unref won't even acquire dev->struct_mutex. And I'm working on code to allow drivers to completely opt-out of any and all dev->struct_mutex usage, but that

[PATCH 13/27] drm/tilcdc: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Tomi Valkeinen Signed-off-by: Daniel Vetter --- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c index 709bc903524d..30

[PATCH 12/27] drm/shmob: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Laurent Pinchart Signed-off-by: Daniel Vetter --- drivers/gpu/drm/shmobile/shmob_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/shmobile/shmob_drm_drv.c b/drivers/gpu/drm/shmobile/shmob_drm_drv.c index

[PATCH 11/27] drm/rockchip: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Mark Yao Signed-off-by: Daniel Vetter --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c inde

[PATCH 10/27] drm/rcar-du: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Laurent Pinchart Signed-off-by: Daniel Vetter --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c index fb9242d2

[PATCH 09/27] drm/qxl: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Dave Airlie Signed-off-by: Daniel Vetter --- drivers/gpu/drm/qxl/qxl_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/qxl/qxl_drv.c b/drivers/gpu/drm/qxl/qxl_drv.c index dc9df5fe50ba..460bbceae297 100644 ---

[PATCH 08/27] drm/nouveau: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Ben Skeggs Signed-off-by: Daniel Vetter --- drivers/gpu/drm/nouveau/nouveau_drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c index 11f8dd9c0edb..

[PATCH 07/27] drm/mga200g: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Dave Airlie Signed-off-by: Daniel Vetter --- drivers/gpu/drm/mgag200/mgag200_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mgag200/mgag200_drv.c b/drivers/gpu/drm/mgag200/mgag200_drv.c index ebb470ff7200.

[PATCH 06/27] drm/fls-dcu: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Jianwei Wang Cc: Stefan Agner Signed-off-by: Daniel Vetter --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c b/drivers/gpu/drm/fsl-dcu/fsl_dc

[PATCH 05/27] drm/cirrus: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Dave Airlie Signed-off-by: Daniel Vetter --- drivers/gpu/drm/cirrus/cirrus_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/cirrus/cirrus_drv.c b/drivers/gpu/drm/cirrus/cirrus_drv.c index dc83f69da6f1..b05f7

[PATCH 04/27] drm/bochs: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Gerd Hoffmann Cc: Dave Airlie Signed-off-by: Daniel Vetter --- drivers/gpu/drm/bochs/bochs_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bochs/bochs_drv.c b/drivers/gpu/drm/bochs/bochs_drv.c index b332b4

[PATCH 03/27] drm/atmel: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Boris Brezillon Signed-off-by: Daniel Vetter --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc

[PATCH 02/27] drm/ast: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Dave Airlie Signed-off-by: Daniel Vetter --- drivers/gpu/drm/ast/ast_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ast/ast_drv.c b/drivers/gpu/drm/ast/ast_drv.c index fcd9c0714836..f54afd2113a9 100644 ---

[PATCH 01/27] drm/armada: Use lockless gem BO free callback

2016-05-30 Thread Daniel Vetter
No dev->struct_mutex anywhere to be seen. Cc: Russell King Signed-off-by: Daniel Vetter --- drivers/gpu/drm/armada/armada_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/armada/armada_drv.c index 439824a61aa5..cb21

[PATCH 00/27] locklesss gem BO free driver patches

2016-05-30 Thread Daniel Vetter
HI all, Here's the pile of lockless gem BO free conversion patches. Assuming I didn't botch it these are all the ones that didn't yet get an ack. Since this is all pretty boring stuff I'll just send a pull request to Dave later this week if no one pipes. Thanks, Daniel Benjamin Gaignard (1): d

[RFC 00/21] Renesas r8a7795/Salvator-X HDMI output prototype

2016-05-30 Thread Geert Uytterhoeven
Hi Uli, On Mon, May 30, 2016 at 5:59 PM, Ulrich Hecht wrote: > This is a prototype of HDMI output support for the Renesas r8a7795 SoC and > Salvator-X board. It is based on the renesas-devel-20160516-v4.6 tree and > includes the bridge API conversion patches to the adv7511 and rcar-du > drivers

[Nouveau] [PATCH 1/9] drm/nouveau: Don't leak runtime pm ref on driver unload

2016-05-30 Thread Peter Wu
On Sun, May 29, 2016 at 05:50:06PM +0200, Lukas Wunner wrote: > Hi Peter, > > On Fri, May 27, 2016 at 03:07:33AM +0200, Peter Wu wrote: > > On Tue, May 24, 2016 at 06:03:27PM +0200, Lukas Wunner wrote: > > > nouveau_drm_load() calls pm_runtime_put() if nouveau_runtime_pm != 0, > > > but nouveau_dr

[PATCH 2/3] drm/exynos: fimd: add HW trigger support

2016-05-30 Thread Javier Martinez Canillas
Hello Inki, On 04/05/2016 04:27 AM, Inki Dae wrote: > This patch adds HW trigger support on i80 mode. > > Until now, Exynos DRM only supported SW trigger which was set > SWTRGCMD bit of TRIGCON register by CPU to transfer scanout > buffer to Display bus device or panel. > > With this patch, the

[Bug 95528] BioShock Infinite issues on Tonga/Hawaii

2016-05-30 Thread bugzilla-dae...@freedesktop.org
ev f1) -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160530/70cde503/attachment.html>

[Intel-gfx] [PATCH 08/26] drm: Consolidate connector arrays in drm_atomic_state

2016-05-30 Thread Ville Syrjälä
On Mon, May 30, 2016 at 05:33:56PM +0200, Daniel Vetter wrote: > On Mon, May 30, 2016 at 06:25:50PM +0300, Ville Syrjälä wrote: > > On Mon, May 30, 2016 at 05:13:56PM +0200, Daniel Vetter wrote: > > > On Mon, May 30, 2016 at 05:59:24PM +0300, Ville Syrjälä wrote: > > > > On Sun, May 29, 2016 at

[PATCH 5/5] arm/dts/imx6q-b850v3: Use GE B850v3 LVDS/DP++ Bridge

2016-05-30 Thread Peter Senna Tschudin
Configure the GE B850v3 to use the LVDS/DP++ bridge. Signed-off-by: Peter Senna Tschudin --- arch/arm/boot/dts/imx6q-b850v3.dts | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-b850v3.dts b/arch/arm/boot/dts/imx6q-b850v3.dts index 88a7

[PATCH 4/5] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2016-05-30 Thread Peter Senna Tschudin
This driver creates a drm_bridge and a drm_connector for the LVDS to DP++ display bridge of the GE B850v3(imx6q-b850v3.dts). There are two physical bridges on the video signal pipeline: a STDP4028(LVDS to DP) and a STDP2690(DP to DP++). However the physical bridges are automatically configured by t

[PATCH 3/5] Documentation/devicetree/bindings: Add b850v3_lvds_dp

2016-05-30 Thread Peter Senna Tschudin
Devicetree bindings documentation for the GE B850v3 LVDS/DP++ display bridge. Signed-off-by: Peter Senna Tschudin --- .../devicetree/bindings/ge/b850v3_lvds_dp.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/ge/b850v3_l

[PATCH 2/5] arm/dts/imx6q-b850v3: Configure IPU assignment order

2016-05-30 Thread Peter Senna Tschudin
Configure the IPU assignment order to assign one IPU per external display. A single IPU can drive multiple external displays but there are resolution restrictions. After this patch the GPU is capalbe of driving two Full-HD monitors. Signed-off-by: Peter Senna Tschudin --- arch/arm/boot/dts/imx6q

[PATCH 1/5] drm/imx-ldb: Add support to drm-bridge

2016-05-30 Thread Peter Senna Tschudin
Add support to attach a drm_bridge to imx-ldb in addition to existing support to attach a LVDS panel. Signed-off-by: Peter Senna Tschudin --- drivers/gpu/drm/imx/imx-ldb.c | 75 +++ 1 file changed, 54 insertions(+), 21 deletions(-) diff --git a/drivers/gp

[PATCH 0/5] Add driver for GE B850v3 LVDS/DP++ Bridge

2016-05-30 Thread Peter Senna Tschudin
The series adds a driver that creates a drm_bridge and a drm_connector for the LVDS to DP++ display bridge of the GE B850v3. There are two physical bridges on the video signal pipeline: a STDP4028(LVDS to DP) and a STDP2690(DP to DP++). However the physical bridges are automatically configured by t

[Bug 93748] [r600g]OpenCL driver causes ImageMagick to segfault

2016-05-30 Thread bugzilla-dae...@freedesktop.org
... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160530/8858dd8b/attachment.html>

[RFC v2 3/5] drm/mediatek: add *driver_data for different hardware settings

2016-05-30 Thread YT Shen
Hi Emil, Thanks for your review. On Fri, 2016-05-27 at 10:24 +0100, Emil Velikov wrote: > On 27 May 2016 at 08:31, YT Shen wrote: > > Hi CK, > > > > > > On Mon, 2016-05-23 at 17:43 +0800, CK Hu wrote: > >> Hi, YT: > >> > >> One comment below. > >> > >> On Fri, 2016-05-20 at 23:05 +0800, yt.shen

[Intel-gfx] [PATCH 08/26] drm: Consolidate connector arrays in drm_atomic_state

2016-05-30 Thread Ville Syrjälä
On Mon, May 30, 2016 at 05:13:56PM +0200, Daniel Vetter wrote: > On Mon, May 30, 2016 at 05:59:24PM +0300, Ville Syrjälä wrote: > > On Sun, May 29, 2016 at 08:35:05PM +0200, Daniel Vetter wrote: > > > It's kinda pointless to have 2 separate mallocs for these. And when we > > > add more per-connec

[RFC v2 2/5] drm/mediatke: add support for Mediatek SoC MT2701

2016-05-30 Thread YT Shen
Hi Emil, On Fri, 2016-05-27 at 10:35 +0100, Emil Velikov wrote: > Hi YT Shen, > > There's a typo in the commit summary - s/mediatke/mediatek/. Ooops, even I type this word everyday, I still made a mistake... > > On 20 May 2016 at 16:05, wrote: > > From: YT Shen > > > > This patch add support f

[RFC v2 1/5] drm/mediatek: rename macros, add chip suffix

2016-05-30 Thread YT Shen
Hi Emil, On Fri, 2016-05-27 at 10:30 +0100, Emil Velikov wrote: > On 20 May 2016 at 16:05, wrote: > > From: YT Shen > > > > Add MT8173 suffix for hardware related macros. > > > Why suffix ? Pretty much everyone else uses prefix. No problem, I will use prefix in the future. > > -Emil

[PATCH 4/4] drm/nouveau/acpi: fix lockup with PCIe runtime PM

2016-05-30 Thread Peter Wu
On Mon, May 30, 2016 at 04:09:09PM +0300, Mika Westerberg wrote: ... > > > > > > + > > > > > > + if (!parent_pdev) > > > > > > + return false; > > > > > > + > > > > > > + ad = ACPI_COMPANION(&parent_pdev->dev); > > > > > > + if (!ad) > > > > > > + return false; > > > > > >

[RFC 08/21] drm: rcar-du: Add DPLL support

2016-05-30 Thread Dirk Behme
On 30.05.2016 18:00, Ulrich Hecht wrote: > From: Koji Matsuoka > > Signed-off-by: Koji Matsuoka > Signed-off-by: Geert Uytterhoeven > --- > drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 97 > - > drivers/gpu/drm/rcar-du/rcar_du_crtc.h | 8 +++ > drivers/gpu/drm

[PATCH 2/2] drm: Resurrect atomic rmfb code

2016-05-30 Thread Daniel Vetter
This was somehow lost between v3 and the merged version in Maarten's patch merged as: commit f2d580b9a8149735cbc4b59c4a8df60173658140 Author: Maarten Lankhorst Date: Wed May 4 14:38:26 2016 +0200 drm/core: Do not preserve framebuffer on rmfb, v4. Actual code copied from Maarten's patch, b

[PATCH 1/2] drm: Replace fb_helper->atomic with mode_config->atomic_commit

2016-05-30 Thread Daniel Vetter
Drivers transitioning to atomic might not yet want to enable full DRIVER_ATOMIC support when it's not entirely working. But using atomic internally makes a lot more sense earlier. Instead of spreading such flags to more places I figured it's simpler to just check for mode_config->funcs->atomic_com

[PATCH] drm: Improve kerneldoc for mode_fixup callbacks and encoder's ->atomic_check

2016-05-30 Thread Liu Ying
To match with the atomic context, this patch updates kerneldoc to clarify that all mode_fixup callbacks and encoder's ->atomic_check callback are called only when enabling a display mode on the relevant CRTC. Suggested-by: Daniel Vetter Signed-off-by: Liu Ying --- include/drm/drm_crtc.h

[RFC 21/21] arm64: defconfig: add VIDEO_RENESAS_FCP

2016-05-30 Thread Ulrich Hecht
From: Kuninori Morimoto DRM_RCAR_VSP requests VIDEO_RENESAS_VSP1, and VIDEO_RENESAS_VSP1 requests VIDEO_RENESAS_FCP. But VIDEO_RENESAS_FCP is not set on defconfig. This patch adds it. Otherwise kernel goes to Oops. Signed-off-by: Kuninori Morimoto Signed-off-by: Geert Uytterhoeven --- arch/ar

[RFC 20/21] arm64: dts: r8a7795: add HDMI support to DU

2016-05-30 Thread Ulrich Hecht
Signed-off-by: Ulrich Hecht Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index fcad91a..6e

[RFC 19/21] arm64: configs: Enable R-Car DU related config

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- arch/arm64/configs/defconfig | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index aa47366..fc10983 100644 --- a/arch/arm64/con

[RFC 18/21] arm64: dts: salvator-x: Add DU pins, HDMI connectors and encoder

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka Based on work by Koji Matsuoka. Signed-off-by: Ulrich Hecht [geert: Re-add removed extal_clk] [geert: Modify existing du node instead of moving it around] [geert: Use generic pinctrl properties] Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a7795-salv

[RFC 17/21] arm64: dts: r8a7795: Add HDMI encoder support

2016-05-30 Thread Ulrich Hecht
Based on work by Koji Matsuoka. Signed-off-by: Ulrich Hecht Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi

[RFC 16/21] pinctrl: sh-pfc: r8a7795: Add HDMI CEC support

2016-05-30 Thread Ulrich Hecht
Adds DU pinmux support to r8a7795 SoC. Based on work by Takeshi Kihara. Signed-off-by: Ulrich Hecht Signed-off-by: Geert Uytterhoeven --- drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7795.c b

[RFC 15/21] pinctrl: sh-pfc: r8a7795: Add DU support

2016-05-30 Thread Ulrich Hecht
Adds DU pinmux support to r8a7795 SoC. Based on work by Takeshi Kihara. Signed-off-by: Ulrich Hecht Signed-off-by: Geert Uytterhoeven --- drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 86 1 file changed, 86 insertions(+) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a

[RFC 14/21] v4l: vsp1: Change VSP1 LIF linebuffer FIFO

2016-05-30 Thread Ulrich Hecht
This patch changes to VSPD hardware recommended value. Purpose is highest pixel clock without underruns. In the default R-Car Linux BSP config this value is wrong and therefore there are many underruns. Signed-off-by: Takashi Saito Signed-off-by: Koji Matsuoka Signed-off-by: Ulrich Hecht Signed

[RFC 13/21] drm: rcar-du: Fix display max size to 4096x2160 size

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/rcar-du/rcar_du_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_kms.c b/drivers/gpu/drm/rcar-du/rcar_du_kms.c index a8c59c3..d6d

[RFC 12/21] drm: rcar-du: Add pixel format support

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka This patch supports pixel format of RGB332, ARGB, XRGB, BGR888, RGB888, BGRA, BGRX, YVYU and NV61. VYUY format is not supported by H/W. Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/rcar-du/rcar_du_kms.c | 58 +++

[RFC 11/21] drm: rcar-du: Fix VSP feed plane number

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka VSP feeds plane1 and plane3 with R-Car Gen3. Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/rcar-du/rcar_du_plane.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_plane.c b/drivers

[RFC 10/21] drm: rcar-du: Fix VSP plane number per devices

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 2 ++ drivers/gpu/drm/rcar-du/rcar_du_drv.h | 3 ++- drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drive

[RFC 09/21] drm: rcar-du: Fix display registers for R-Car Gen3

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 3 ++- drivers/gpu/drm/rcar-du/rcar_du_group.c | 5 + drivers/gpu/drm/rcar-du/rcar_du_plane.c | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) diff -

[RFC 08/21] drm: rcar-du: Add DPLL support

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 97 - drivers/gpu/drm/rcar-du/rcar_du_crtc.h | 8 +++ drivers/gpu/drm/rcar-du/rcar_du_drv.c | 1 + drivers/gpu/drm/rcar-du/rcar_

[RFC 07/21] drm: rcar-du: Add dw_hdmi driver startup

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka The HDMI driver in the R-Car Gen3 uses dw_hdmi driver. Signed-off-by: Koji Matsuoka [geert: Select DRM_DW_HDMI on non-r8a7795 to fix shmobile_defconfig build] Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/rcar-du/Kconfig | 2 + drivers/gpu/drm/rcar-du/r

[RFC 06/21] drm: rcar-du: Add R8A7795 device support

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/rcar-du/rcar_du_crtc.h | 4 +++- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 14 -- drivers/gpu/drm/rcar-du/rcar_du_drv.h | 2 ++ 3 files changed, 17 insertions(+), 3 deletions(-)

[RFC 05/21] drm: bridge/dw_hdmi: Fix R-Car Gen3 device support

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/bridge/dw-hdmi.c | 158 ++- include/drm/bridge/dw_hdmi.h | 9 +++ 2 files changed, 131 insertions(+), 36 deletions(-) diff --git a/drivers/gpu/drm/b

[RFC 04/21] drm: bridge/dw_hdmi: add dw hdmi i2c bus adapter support

2016-05-30 Thread Ulrich Hecht
From: Vladimir Zapolskiy The change adds support of internal HDMI I2C master controller, this subdevice is used by default, if "ddc-i2c-bus" DT property is omitted. The main purpose of this functionality is to support reading EDID from an HDMI monitor on boards, which don't have an I2C bus conne

[RFC 03/21] media: vsp1: Set format to RPF input source

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka The output format of the RPF must be unified in RGB or YCbCr by specification of the H/W. To unify the output format in RGB in driver, if the input format is YCbCr, the output format must be converted to RGB by CSC (Color Space Conversion). The driver is missing the format set

[RFC 02/21] drm: i2c: adv7511: Convert to drm_bridge

2016-05-30 Thread Ulrich Hecht
From: Archit Taneja We don't want to use the old i2c slave encoder interface anymore. Remove that and make the i2c driver create a drm_bridge entity instead. Converting to bridges helps because the kms drivers don't need to exract encoder slave ops from this driver and use it within their own en

[RFC 01/21] drm: rcar-du: Remove i2c slave encoder interface for hdmi encoder

2016-05-30 Thread Ulrich Hecht
From: Archit Taneja The hdmi output in rcar-du uses the i2c slave encoder interface to link to the adv7511 encoder chip. The kms driver creates encoder and connector entities that internally uses the drm_encoder_slave_funcs ops provided by the slave encoder driver. Change the driver such that it

[RFC 00/21] Renesas r8a7795/Salvator-X HDMI output prototype

2016-05-30 Thread Ulrich Hecht
Hi! This is a prototype of HDMI output support for the Renesas r8a7795 SoC and Salvator-X board. It is based on the renesas-devel-20160516-v4.6 tree and includes the bridge API conversion patches to the adv7511 and rcar-du drivers written by Archit Taneja. The obvious issue with this series is t

[PATCH] drm/atomic-helper: Do not call ->mode_fixup for CRTC which will be disabled

2016-05-30 Thread Ying Liu
On Mon, May 30, 2016 at 4:46 PM, Daniel Vetter wrote: > On Fri, May 27, 2016 at 05:35:54PM +0800, Liu Ying wrote: >> When a CRTC is going to be disabled, it's state may contain a display mode >> with zeroed content. This could be reproduced by HDMI cable hotplug out >> operation with legacy fbdev

[Intel-gfx] [PATCH 08/26] drm: Consolidate connector arrays in drm_atomic_state

2016-05-30 Thread Ville Syrjälä
On Sun, May 29, 2016 at 08:35:05PM +0200, Daniel Vetter wrote: > It's kinda pointless to have 2 separate mallocs for these. And when we > add more per-connector state in the future it's even more pointless. > > Right now there's no such thing planned, but both Gustavo's per-crtc > fence patches, a

[Bug 93748] [r600g]OpenCL driver causes ImageMagick to segfault

2016-05-30 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160530/02fdb1a6/attachment.html>

drivers/gpu/drm/i915/i915_reg.h:90:shift-overflow problem ?

2016-05-30 Thread Jani Nikula
On Mon, 30 May 2016, Chris Wilson wrote: > On Mon, May 30, 2016 at 11:32:59AM +0100, David Binderman wrote: >> Hello there, >> >> drivers/gpu/drm/i915/i915_reg.h:90:28: warning: result of ‘65535 << >> 20’ requires 37 bits to represent, but ‘int’ only has 32 bits >> [-Wshift-overflow=] >>

[Intel-gfx] [PATCH 08/26] drm: Consolidate connector arrays in drm_atomic_state

2016-05-30 Thread Daniel Vetter
On Mon, May 30, 2016 at 5:45 PM, Ville Syrjälä wrote: >> state->connectors[i].connector is really long, and makes a lot of code >> look ugly. "obj" might be a bit better than "ptr" at least. Something >> else? > > How often are you expecting to have to type this anyway? Using any > kind of gener

[Bug 93748] [r600g]OpenCL driver causes ImageMagick to segfault

2016-05-30 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160530/858a20ee/attachment-0001.html>

[Bug 93748] [r600g]OpenCL driver causes ImageMagick to segfault

2016-05-30 Thread bugzilla-dae...@freedesktop.org
You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160530/bd355cea/attachment.html>

[Intel-gfx] [PATCH 08/26] drm: Consolidate connector arrays in drm_atomic_state

2016-05-30 Thread Daniel Vetter
On Mon, May 30, 2016 at 06:25:50PM +0300, Ville Syrjälä wrote: > On Mon, May 30, 2016 at 05:13:56PM +0200, Daniel Vetter wrote: > > On Mon, May 30, 2016 at 05:59:24PM +0300, Ville Syrjälä wrote: > > > On Sun, May 29, 2016 at 08:35:05PM +0200, Daniel Vetter wrote: > > > > It's kinda pointless to

[PATCH 00/26] fb/drm: omapdss: Clean up the headers and separate the two stack

2016-05-30 Thread Tomi Valkeinen
A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160530/4a579b7d/attachment.sig>

[PATCH] virtio-gpu: fix output lookup

2016-05-30 Thread Daniel Vetter
On Mon, May 30, 2016 at 02:03:26PM +0200, Gerd Hoffmann wrote: > Needed for multihead setups where we can have disabled > outputs and therefore plane->crtc can be NULL. > > Signed-off-by: Gerd Hoffmann See my reply in the other thread, but I think you have a more fundamental issue here. I droppe

[Intel-gfx] [PATCH 08/26] drm: Consolidate connector arrays in drm_atomic_state

2016-05-30 Thread Daniel Vetter
On Mon, May 30, 2016 at 05:59:24PM +0300, Ville Syrjälä wrote: > On Sun, May 29, 2016 at 08:35:05PM +0200, Daniel Vetter wrote: > > It's kinda pointless to have 2 separate mallocs for these. And when we > > add more per-connector state in the future it's even more pointless. > > > > Right now th

[Intel-gfx] [PATCH 15/26] drm/arc: Implement nonblocking commit correctly

2016-05-30 Thread Daniel Vetter
On Mon, May 30, 2016 at 11:36:06AM +0200, Maarten Lankhorst wrote: > Op 30-05-16 om 11:24 schreef Daniel Vetter: > > On Mon, May 30, 2016 at 10:15:14AM +0200, Maarten Lankhorst wrote: > >> Op 29-05-16 om 20:35 schreef Daniel Vetter: > >>> Committing with block it is not. > >>> > >>> Thanks to the f

[Intel-gfx] [PATCH 12/26] drm/atomic-helper: Massage swap_state signature somewhat

2016-05-30 Thread Daniel Vetter
On Mon, May 30, 2016 at 03:08:39PM +0200, Maarten Lankhorst wrote: > Op 29-05-16 om 20:35 schreef Daniel Vetter: > > - dev is redundant, we have state->atomic > > - add stall parameter, which must be set when swapping needs to stall > > for preceeding commits to stop looking at ->state pointers.

[Intel-gfx] [PATCH 06/26] drm/atomic: Add __drm_atomic_get_current_plane_state

2016-05-30 Thread Daniel Vetter
On Mon, May 30, 2016 at 01:42:40PM +0200, Maarten Lankhorst wrote: > Op 29-05-16 om 20:35 schreef Daniel Vetter: > > ... and use it in msm&vc4. Again just want to encapsulate > > drm_atomic_state internals a bit. > > > > The const threading is a bit awkward in vc4 since C sucks, but I still > > thi

[Intel-gfx] [PATCH 01/26] drm/atomic-helper: use for_each_*_in_state more

2016-05-30 Thread Daniel Vetter
On Mon, May 30, 2016 at 02:17:06PM +0200, Maarten Lankhorst wrote: > Op 29-05-16 om 20:34 schreef Daniel Vetter: > > This avois leaking drm_atomic_state internals into the helpers. The > > only place where this still happens after this patch is > > drm_atomic_helper_swap_state(). > > It's unavoida

[Intel-gfx] [PATCH 04/26] drm/rcar-du: Use for_each_*_in_state

2016-05-30 Thread Daniel Vetter
On Mon, May 30, 2016 at 11:58:27AM +0200, Maarten Lankhorst wrote: > Op 30-05-16 om 11:18 schreef Laurent Pinchart: > > Hi Daniel, > > > > Thank you for the patch. > > > > This looks good to me as the resulting code is mostly similar. However, the > > for_each_*_in_state macros end with an for_eac

  1   2   3   >