[Intel-gfx] [v3 0/7] Crystalcove (CRC) PMIC based panel and pwm control

2015-06-29 Thread Brain WrecK
Tested by Brian Loften, "Brain Wreck" bloften80 at gmail.com confirmed working on ASUS T100TA, kernel 20150629 -next running 15.04 i386 Ubuntu Gnome -- suspend resume is functioning normally, backlight controls work before and after resume using slide controls and meta keys on keyboa

drm: imx: multi-display support questions

2015-06-29 Thread Gary Bisson
Fabio, Eric, On Mon, Jun 29, 2015 at 6:22 PM, Eric Nelson wrote: > Thanks Fabio, > > On 06/29/2015 09:08 AM, Fabio Estevam wrote: >> Hi Gary, >> >> On Mon, Jun 29, 2015 at 1:04 PM, Gary Bisson >> wrote: >> >>> Thank you for your e-mail and sorry for the delay in my response. I >>> confirm this p

[ANNOUNCE] libdrm 2.4.62

2015-06-29 Thread Emil Velikov
c: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150629/53868c1d/attachment.sig>

drm: imx: multi-display support questions

2015-06-29 Thread Gary Bisson
Hi Fabio, On Mon, Jun 29, 2015 at 6:08 PM, Fabio Estevam wrote: > Hi Gary, > > On Mon, Jun 29, 2015 at 1:04 PM, Gary Bisson > wrote: > >> Thank you for your e-mail and sorry for the delay in my response. I >> confirm this patch, ported over to my dtsi file, makes the HDMI and >> LVDS work togeth

drm: imx: multi-display support questions

2015-06-29 Thread Gary Bisson
Hi Fabio, On Tue, Jun 23, 2015 at 7:50 PM, Fabio Estevam wrote: > On Tue, Jun 23, 2015 at 2:49 PM, Fabio Estevam wrote: >> Hi Gary, >> >> On Wed, May 27, 2015 at 10:31 AM, Gary Bisson >> wrote: >> >>> Ok, thanks, I'll check and see what I need to get all the displays to >>> work together. >> >>

[git pull] drm tree for 4.2

2015-06-29 Thread Jani Nikula
On Mon, 29 Jun 2015, Ander Conselvan De Oliveira wrote: > On Fri, 2015-06-26 at 14:43 -0700, Linus Torvalds wrote: >> On Thu, Jun 25, 2015 at 6:00 PM, Dave Airlie wrote: >> > >> > This is the main drm pull request for v4.2. >> >> It seems to work ok for me, but it causes quite a few new warning

[Intel-gfx] [git pull] drm tree for 4.2

2015-06-29 Thread Daniel Vetter
On Mon, Jun 29, 2015 at 05:50:09PM +0300, Jani Nikula wrote: > On Mon, 29 Jun 2015, Ander Conselvan De Oliveira > wrote: > > On Fri, 2015-06-26 at 14:43 -0700, Linus Torvalds wrote: > >> On Thu, Jun 25, 2015 at 6:00 PM, Dave Airlie wrote: > >> > > >> > This is the main drm pull request for v4.2.

[git pull] drm tree for 4.2

2015-06-29 Thread Ander Conselvan De Oliveira
On Fri, 2015-06-26 at 14:43 -0700, Linus Torvalds wrote: > On Thu, Jun 25, 2015 at 6:00 PM, Dave Airlie wrote: > > > > This is the main drm pull request for v4.2. > > It seems to work ok for me, but it causes quite a few new warnings on > my Sony VAIO Pro laptop. It's (once more) a regular i5-420

[PATCH] drm/exynos: iommu: fix potential NULL pointer dereference

2015-06-29 Thread Hyungwon Hwang
Dear Marek, On Thu, 25 Jun 2015 15:10:12 +0200 Marek Szyprowski wrote: > Some drivers (like Exynos mixer) calls > drm_iommu_attach_device_if_possible before registering crtc, so > additional check for NULL crtc pointer is required. It seems reasonable. Reviewed-by: Hyungwon Hwang > > Signed

[PATCH v2 2/2] drm/nouveau: add GEM_SET_TILING staging ioctl

2015-06-29 Thread Thierry Reding
goto out; > >+} I don't think that's the right way to check for PRIME-imported buffers. The right check is: if (!gem->import_attach) { ret = -EINVAL; goto out; } The comment above this block should probably also say *why* we can only change tiling on PRIME-imported buffers. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150629/18547cdf/attachment.sig>

[PATCH v3] drm/tegra: Use 64-bit offset for tegra_gem_mmap

2015-06-29 Thread Dave Airlie
On 6 February 2015 at 22:18, Thierry Reding wrote: > On Fri, Jan 30, 2015 at 01:57:01PM -0500, Sean Paul wrote: >> On 64-bit targets, tegra_gem_mmap doesn't return the >> offset to userspace. As such, subsequent calls to mmap(2) >> fail. Alter the args to use 64-bit offset to fix this. >> >> Signe

[PATCH 4/4] drm/i915: fbdev dirty calls fb user dirty to invalidate frontbuffer.

2015-06-29 Thread Rodrigo Vivi
Now that we have fb user dirty invalidating frontbuffer and we have the new fbdev dirty callback let's merge them. So it doesn't matter if fbcon throught fbdev or splash screen throught drm_ioctl_dirtyfb, in any case we will have frontbuffer properly invalidated and power savings features that rel

[PATCH 3/4] drm/udl: Use fb_dirty ops to simplify damage calls

2015-06-29 Thread Rodrigo Vivi
With fb_dirty op in place we can simplify stuff here. Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/udl/udl_fb.c | 34 ++ 1 file changed, 6 insertions(+), 28 deletions(-) diff --git a/drivers/gpu/drm/udl/udl_fb.c b/drivers/gpu/drm/udl/udl_fb.c index 5fc16ce..68

[PATCH 2/4] fbdev: Introduce fb_dirty operation.

2015-06-29 Thread Rodrigo Vivi
There are cases we need to mark dirty/damaged areas, specially with operations that touches frontbuffer directly. To cover these cases this patch introduces the optional fb_dirty operation. Signed-off-by: Rodrigo Vivi --- drivers/video/fbdev/core/cfbcopyarea.c | 3 +++ drivers/video/fbdev/core/c

[PATCH 1/4] drm/i915: Make fb user dirty operation to invalidate frontbuffer

2015-06-29 Thread Rodrigo Vivi
This patch introduces a frontbuffer invalidation on dirty fb user callback. It is mainly used for DIRTYFB drm ioctl, but can be extended for fbdev use on following patch. This patch itself already solves the biggest PSR known issue, that is missed screen updates during boot, mainly when there is

[Bug 90728] dvd playback with vlc and vdpau causes segmentation fault

2015-06-29 Thread bugzilla-dae...@freedesktop.org
eedesktop.org/archives/dri-devel/attachments/20150629/fd70264d/attachment.html>

drm: imx: multi-display support questions

2015-06-29 Thread Fabio Estevam
On Mon, Jun 29, 2015 at 1:12 PM, Gary Bisson wrote: > I am ok with it but I'd like Eric to ack it too as he might have some remarks. Ok, I will submit it to the linux-arm mailing list with you and Eric on Cc. Regards, Fabio Estevam

drm: imx: multi-display support questions

2015-06-29 Thread Fabio Estevam
chment was scrubbed... Name: 0001-hdmiandldbsabrelite.patch Type: text/x-diff Size: 1307 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150629/f0226b03/attachment.patch> -- next part -- A non-text attachment was scrubbed... Name: 000

[Bug 91141] Lots of *ERROR* Couldn't update BO_VA (-22) since drm/radeon: stop using addr to check for BO move

2015-06-29 Thread bugzilla-dae...@freedesktop.org
iving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150629/b391204c/attachment.html>

[v4] drm/panel: add s6e3ha2 AMOLED panel driver

2015-06-29 Thread Hyungwon Hwang
Dear Theirry, Gentle ping. I modified as you reviewed before. Also I wrote the reason for using passing variable by reference for error checking. Can you share your opinion for that, and review this driver? Best regards, Hyungwon Hwang On Fri, 29 May 2015 18:47:02 +0900 Hyungwon Hwang wrote: >

[PATCH 4/4] cec-ctl: CEC control utility

2015-06-29 Thread Hans Verkuil
From: Hans Verkuil Generic CEC utility that can be used to send/receive/monitor CEC messages. Signed-off-by: Hans Verkuil --- configure.ac |1 + utils/Makefile.am |1 + utils/cec-ctl/Makefile.am |8 + utils/cec-ctl/cec-ctl.cpp | 1000 +++

[PATCH 3/4] cec-compliance: add new CEC compliance utility

2015-06-29 Thread Hans Verkuil
From: Hans Verkuil This utility will attempt to test whether the CEC protocol was implemented correctly. Signed-off-by: Hans Verkuil --- configure.ac| 1 + utils/Makefile.am | 1 + utils/cec-compliance/Makefile.am| 3 + utils/cec-

[PATCH 2/4] sync-with-kernel

2015-06-29 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- contrib/freebsd/include/linux/input.h| 13 + include/linux/cec-funcs.h| 1516 ++ include/linux/cec.h | 709 ++ utils/keytable/parse.h

[PATCH 1/4] Makefile.am: copy cec headers with make sync-with-kernel

2015-06-29 Thread Hans Verkuil
From: Hans Verkuil Copy the new cec headers. Signed-off-by: Hans Verkuil --- Makefile.am | 4 1 file changed, 4 insertions(+) diff --git a/Makefile.am b/Makefile.am index 1a61592..b8c450d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,6 +21,8 @@ sync-with-kernel: ! -f $(

[PATCH 0/4] cec-ctl/compliance: new CEC utilities

2015-06-29 Thread Hans Verkuil
From: Hans Verkuil This patch series adds two new utilities to the v4l-utils git repository (http://git.linuxtv.org/cgit.cgi/v4l-utils.git/). It assumes that the new CEC framework available in the kernel: http://www.mail-archive.com/linux-media at vger.kernel.org/msg90085.html The first patch a

[PATCHv7 04/15] HID: add HDMI CEC specific keycodes

2015-06-29 Thread Dmitry Torokhov
On Mon, Jun 29, 2015 at 12:14:49PM +0200, Hans Verkuil wrote: > From: Kamil Debski > > Add HDMI CEC specific keycodes to the keycodes definition. > > Signed-off-by: Kamil Debski > Signed-off-by: Hans Verkuil Could you please describe the intended use for these keycodes for people who do not l

[PATCHv7 05/15] input.h: add BUS_CEC type

2015-06-29 Thread Dmitry Torokhov
On Mon, Jun 29, 2015 at 12:14:50PM +0200, Hans Verkuil wrote: > Inputs can come in over the HDMI CEC bus, so add a new type for this. > > Signed-off-by: Hans Verkuil Acked-by: Dmitry Torokhov > --- > include/uapi/linux/input.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/

[PATCHv7 15/15] cobalt: add cec support

2015-06-29 Thread Hans Verkuil
Add CEC support to the cobalt driver. Signed-off-by: Hans Verkuil --- drivers/media/pci/cobalt/cobalt-driver.c | 37 +-- drivers/media/pci/cobalt/cobalt-driver.h | 2 + drivers/media/pci/cobalt/cobalt-v4l2.c | 110 +-- 3 files changed, 138 insertions(+),

[PATCHv7 14/15] cec: s5p-cec: Add s5p-cec driver

2015-06-29 Thread Hans Verkuil
From: Kamil Debski Add CEC interface driver present in the Samsung Exynos range of SoCs. The following files were based on work by SangPil Moon: - exynos_hdmi_cec.h - exynos_hdmi_cecctl.c Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil --- .../devicetree/bindings/media/s5p-cec.txt

[PATCHv7 13/15] cec: adv7511: add cec support.

2015-06-29 Thread Hans Verkuil
Add CEC support to the adv7511 driver. Signed-off-by: Hans Verkuil [k.debski at samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7511.c | 350 +++- incl

[PATCHv7 12/15] adv7842: add cec support

2015-06-29 Thread Hans Verkuil
Add CEC support to the adv7842 driver. Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 211 +++- 1 file changed, 208 insertions(+), 3 deletions(-) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index 4cf79b2..0ef01bd

[PATCHv7 11/15] cec: adv7604: add cec support.

2015-06-29 Thread Hans Verkuil
From: Hans Verkuil Add CEC support to the adv7604 driver. Signed-off-by: Hans Verkuil [k.debski at samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] [k.debski at samsung.com: add missing methods cec/io_write_and_or] [k.debski at samsung.com: change adv7604 to adv76xx in adde

[PATCHv7 10/15] v4l2-subdev: add HDMI CEC ops

2015-06-29 Thread Hans Verkuil
Add CEC callbacks to the v4l2_subdev_video_ops. These are the low-level CEC ops that subdevs that support CEC have to implement. Signed-off-by: Hans Verkuil [k.debski at samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil

[PATCHv7 09/15] DocBook/media: add CEC documentation

2015-06-29 Thread Hans Verkuil
From: Hans Verkuil Add DocBook documentation for the CEC API. Signed-off-by: Hans Verkuil [k.debski at samsung.com: add documentation for passthrough mode] [k.debski at samsung.com: minor fixes and change of reserved field sizes] Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil --- Do

[PATCHv7 08/15] cec.txt: add CEC framework documentation

2015-06-29 Thread Hans Verkuil
From: Hans Verkuil Document the new HDMI CEC framework. Signed-off-by: Hans Verkuil [k.debski at samsung.com: add DocBook documentation by Hans Verkuil, with Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil --- Documentation/cec.txt | 166 ++

[PATCHv7 07/15] cec: add HDMI CEC framework

2015-06-29 Thread Hans Verkuil
The added HDMI CEC framework provides a generic kernel interface for HDMI CEC devices. Signed-off-by: Hans Verkuil [k.debski at samsung.com: Merged CEC Updates commit by Hans Verkuil] [k.debski at samsung.com: Merged Update author commit by Hans Verkuil] [k.debski at samsung.com: change kthread h

[PATCHv7 06/15] rc: Add HDMI CEC protocol handling

2015-06-29 Thread Hans Verkuil
From: Kamil Debski Add handling of remote control events coming from the HDMI CEC bus. This patch includes a new keymap that maps values found in the CEC messages to the keys pressed and released. Also, a new protocol has been added to the core. Signed-off-by: Kamil Debski Signed-off-by: Hans V

[PATCHv7 05/15] input.h: add BUS_CEC type

2015-06-29 Thread Hans Verkuil
Inputs can come in over the HDMI CEC bus, so add a new type for this. Signed-off-by: Hans Verkuil --- include/uapi/linux/input.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index 7430a3f..0af80b2 100644 --- a/include/uapi/linux/inpu

[PATCHv7 04/15] HID: add HDMI CEC specific keycodes

2015-06-29 Thread Hans Verkuil
From: Kamil Debski Add HDMI CEC specific keycodes to the keycodes definition. Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil --- include/uapi/linux/input.h | 12 1 file changed, 12 insertions(+) diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index

[PATCHv7 03/15] dts: exynos4412-odroid*: enable the HDMI CEC device

2015-06-29 Thread Hans Verkuil
From: Kamil Debski Add a dts node entry and enable the HDMI CEC device present in the Exynos4 family of SoCs. Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil Acked-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 4 1 file changed, 4 insertions(+) d

[PATCHv7 02/15] dts: exynos4: add node for the HDMI CEC device

2015-06-29 Thread Hans Verkuil
From: Kamil Debski This patch adds HDMI CEC node specific to the Exynos4210/4x12 SoC series. Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil Acked-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boo

[PATCHv7 01/15] dts: exynos4*: add HDMI CEC pin definition to pinctrl

2015-06-29 Thread Hans Verkuil
From: Kamil Debski Add pinctrl nodes for the HDMI CEC device to the Exynos4210 and Exynos4x12 SoCs. These are required by the HDMI CEC device. Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil Acked-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4210-pinctrl.dtsi | 7 +++ arch

[PATCHv7 00/15] HDMI CEC framework

2015-06-29 Thread Hans Verkuil
Hi all, The seventh version of this patchset addresses comments on the mailing list and many changes due to the work I did on the cec-compliance and cec-ctl utilities (will be posted in a separate patch series). Please see the changelog below for details. Note: I have taken over from Kamil: he no

[PATCH] drm/amdgpu: Delete an unnecessary check before the function call "kfree"

2015-06-29 Thread Alex Deucher
On Sun, Jun 28, 2015 at 4:45 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 28 Jun 2015 10:27:35 +0200 > > The kfree() function tests whether its argument is NULL and then > returns immediately. Thus the test around the call is not needed. > > This issue was detected by using th

[PATCH v3] drm/tegra: Use 64-bit offset for tegra_gem_mmap

2015-06-29 Thread Thierry Reding
lable Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150629/27ec9fb7/attachment.sig>

[PATCH v3] drm/tegra: Use 64-bit offset for tegra_gem_mmap

2015-06-29 Thread Thierry Reding
- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150629/5febedfd/attachment.sig>

[Bug 91141] Lots of *ERROR* Couldn't update BO_VA (-22) since drm/radeon: stop using addr to check for BO move

2015-06-29 Thread bugzilla-dae...@freedesktop.org
xt part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150629/5ac80215/attachment.html>

[Bug 91141] Lots of *ERROR* Couldn't update BO_VA (-22) since drm/radeon: stop using addr to check for BO move

2015-06-29 Thread bugzilla-dae...@freedesktop.org
vel/attachments/20150629/4678783e/attachment.html>

[RFC][PATCH 1/1] drm/amdkfd: Remove redundant pdd validation

2015-06-29 Thread Maninder Singh
pdd is already dereferenced before this check. So it is redundtant to validate pdd here. Signed-off-by: Maninder Singh --- drivers/gpu/drm/amd/amdkfd/kfd_process.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_process.c b/drivers/gpu/drm

[PATCH] gpu/drm/amdgpu: Fix build when CONFIG_DEBUG_FS is not set

2015-06-29 Thread Christian König
On 27.06.2015 09:16, Alexander Kuleshov wrote: > If the CONFIG_DEBUG_FS is not selected, compilation of the > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c provides two warnings that > amdgpu_debugfs_regs_init and amdgpu_debugfs_regs_cleanup are used but > never defined. And as result: > > ERROR: "amd

drm: imx: multi-display support questions

2015-06-29 Thread Eric Nelson
Thanks Fabio, On 06/29/2015 09:08 AM, Fabio Estevam wrote: > Hi Gary, > > On Mon, Jun 29, 2015 at 1:04 PM, Gary Bisson > wrote: > >> Thank you for your e-mail and sorry for the delay in my response. I >> confirm this patch, ported over to my dtsi file, makes the HDMI and >> LVDS work together.

[PATCH] staging: imx-drm: Fix pixel clock polarity

2015-06-29 Thread David Jander
Hi Philipp, On Fri, 26 Jun 2015 17:31:18 +0200 Philipp Zabel wrote: > Hi David, > > Am Freitag, den 26.06.2015, 13:26 +0200 schrieb David Jander: > > This is odd. We started investigating because one of our customers (using > > an LVDS connected panel) reported some boards causing color errors

[Bug 74329] Please expose OES_texture_float and OES_texture_half_float on the ES3 context

2015-06-29 Thread bugzilla-dae...@freedesktop.org
u are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150629/3ca30bd1/attachment.html>

[Bug 89699] Regression in 10.5.1 causes flickering/artifacting in a particular video game

2015-06-29 Thread bugzilla-dae...@freedesktop.org
e the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150629/6dad36bb/attachment.html>

[Bug 91110] Textures missing iff character in specific areas in dolphin running Xenoblades Chronicles

2015-06-29 Thread bugzilla-dae...@freedesktop.org
=switch_on_eop? I'm asking because I'm using radeonsi. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150629/f6ed4e8e/attachment.html>

[Bug 91110] Textures missing iff character in specific areas in dolphin running Xenoblades Chronicles

2015-06-29 Thread bugzilla-dae...@freedesktop.org
se: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150629/7498dd60/attachment-0001.html>

[Bug 91110] Textures missing iff character in specific areas in dolphin running Xenoblades Chronicles

2015-06-29 Thread bugzilla-dae...@freedesktop.org
se: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150629/e85675b8/attachment.html>

[Bug 91110] Textures missing iff character in specific areas in dolphin running Xenoblades Chronicles

2015-06-29 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150629/27721851/attachment.html>

[Bug 90728] dvd playback with vlc and vdpau causes segmentation fault

2015-06-29 Thread bugzilla-dae...@freedesktop.org
<http://lists.freedesktop.org/archives/dri-devel/attachments/20150629/0c2cabb5/attachment.html>