[PATCH v3 1/3] drm/exynos: dp: add of_graph dt binding support for panel

2015-12-04 Thread Inki Dae
Hi Javier, 2015-12-04 21:38 GMT+09:00 Javier Martinez Canillas : > Hello Inki, > > On 12/04/2015 06:00 AM, Inki Dae wrote: >> Hi Javier, >> >> 2015년 12월 03일 22:55에 Javier Martinez Canillas 이(가) 쓴 글: >>> Hello Inki, >>> >>> I found that v2 of this patch is alredy in your exynos-drm

[PATCH 3/3] radeon: Fix VCE IB test on Big-Endian systems

2015-12-04 Thread Oded Gabbay
This patch makes the VCE IB test pass on Big-Endian systems. It converts to little-endian the contents of the VCE message. Signed-off-by: Oded Gabbay Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/radeon_vce.c | 68 ++--- 1 file changed, 34 insertions(+)

[PATCH 2/3] radeon: Fix VCE ring test for Big-Endian systems

2015-12-04 Thread Oded Gabbay
This patch fixes the VCE ring test when running on Big-Endian machines. Every write to the ring needs to be translated to little-endian. Signed-off-by: Oded Gabbay Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/radeon_vce.c | 32 1 file changed, 16 inse

[PATCH 1/3] radeon/cik: Fix GFX IB test on Big-Endian

2015-12-04 Thread Oded Gabbay
This patch makes the IB test on the GFX ring pass for CI-based cards installed in Big-Endian machines. Signed-off-by: Oded Gabbay Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/cik.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpu/drm/radeon/cik.c b

[PATCH 02/12] drm/etnaviv: add devicetree bindings

2015-12-04 Thread Russell King - ARM Linux
On Fri, Dec 04, 2015 at 03:42:47PM -0500, Ilia Mirkin wrote: > On Fri, Dec 4, 2015 at 3:31 PM, Russell King - ARM Linux > wrote: > > Moreover, DRI3 is not yet available for Gallium, so if we're talking > > about Xorg, then functional DRI2 is a requirement, and that _needs_ > > to have a single dev

[PATCH 02/12] drm/etnaviv: add devicetree bindings

2015-12-04 Thread Daniel Vetter
On Fri, Dec 04, 2015 at 08:31:01PM +, Russell King - ARM Linux wrote: > On Fri, Dec 04, 2015 at 02:19:42PM -0600, Rob Herring wrote: > > On Fri, Dec 4, 2015 at 11:56 AM, Lucas Stach > > wrote: > > > Am Freitag, den 04.12.2015, 11:33 -0600 schrieb Rob Herring: > > >> On Fri, Dec 4, 2015 at 10:

[Bug 93147] [regression bisected] Stuttering in games caused by commit 4dfd6486 "drm: Use vblank timestamps to guesstimate how many vblanks were missed"

2015-12-04 Thread bugzilla-dae...@freedesktop.org
sts.freedesktop.org/archives/dri-devel/attachments/20151204/6aee823c/attachment.html>

[PATCH 02/12] drm/etnaviv: add devicetree bindings

2015-12-04 Thread Russell King - ARM Linux
On Fri, Dec 04, 2015 at 02:19:42PM -0600, Rob Herring wrote: > On Fri, Dec 4, 2015 at 11:56 AM, Lucas Stach > wrote: > > Am Freitag, den 04.12.2015, 11:33 -0600 schrieb Rob Herring: > >> On Fri, Dec 4, 2015 at 10:41 AM, Lucas Stach > >> wrote: > >> > Am Freitag, den 04.12.2015, 10:29 -0600 schr

dumb BOs and prime

2015-12-04 Thread Martin Peres
On 04/12/15 19:49, Rob Herring wrote: > I'm working on getting Android working with DRM drivers. ATM, I'm > using virtio-gpu as the driver and trying to get just KMS side working > without rendering. I have it working with stock AOSP and the emulated > fb with a few additions to the virtio-gpu driv

[Bug 93147] [regression bisected] Stuttering in games caused by commit 4dfd6486 "drm: Use vblank timestamps to guesstimate how many vblanks were missed"

2015-12-04 Thread bugzilla-dae...@freedesktop.org
isabled case. -- 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/20151204/df623cb4/attachment.html>

dumb BOs and prime

2015-12-04 Thread Benjamin Gaignard
facebook.com/pages/Linaro> | Twitter <http://twitter.com/#!/linaroorg> | Blog <http://www.linaro.org/linaro-blog/> -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151204/8d53a325/attachment.html>

[Bug 92555] GPU lockup crashing the system on Cayman with HyperZ

2015-12-04 Thread bugzilla-dae...@freedesktop.org
org/archives/dri-devel/attachments/20151204/61df05b9/attachment.html>

[Bug 92555] GPU lockup crashing the system on Cayman

2015-12-04 Thread bugzilla-dae...@freedesktop.org
attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151204/fe28a028/attachment.html>

[PATCH 02/12] drm/etnaviv: add devicetree bindings

2015-12-04 Thread Jon Nettleton
On Fri, Dec 4, 2015 at 6:56 PM, Lucas Stach wrote: > Am Freitag, den 04.12.2015, 11:33 -0600 schrieb Rob Herring: >> On Fri, Dec 4, 2015 at 10:41 AM, Lucas Stach >> wrote: >> > Am Freitag, den 04.12.2015, 10:29 -0600 schrieb Rob Herring: >> >> On Fri, Dec 04, 2015 at 02:59:54PM +0100, Lucas Stac

[PATCH 02/12] drm/etnaviv: add devicetree bindings

2015-12-04 Thread Lucas Stach
Am Freitag, den 04.12.2015, 11:33 -0600 schrieb Rob Herring: > On Fri, Dec 4, 2015 at 10:41 AM, Lucas Stach > wrote: > > Am Freitag, den 04.12.2015, 10:29 -0600 schrieb Rob Herring: > >> On Fri, Dec 04, 2015 at 02:59:54PM +0100, Lucas Stach wrote: > >> > Etnaviv follows the same priciple as imx-d

[PATCH 13/13] ASoC: AMD: Manage ACP 2.x SRAM banks power

2015-12-04 Thread Alex Deucher
From: Maruthi Srinivas Bayyavarapu ACP SRAM banks gets turned on when ACP is powered on. Not all banks are used for playback/capture. So, power on required banks during audio device open and power off during audio device close. Signed-off-by: Maruthi Bayyavarapu Reviewed-by: Alex Deucher Signe

[PATCH 12/13] ASoC: AMD: add pm ops

2015-12-04 Thread Alex Deucher
From: Maruthi Srinivas Bayyavarapu genpd will power off/on ACP to manage runtime ACP PM. ACP runtime PM hooks are added to get it deinitialized and initialized respectively, after it is powered off/on. When system goes to suspend when audio usecase is active, ACP will be powered off through genp

[PATCH 11/13] ASoC: AMD: add AMD ASoC ACP 2.x DMA driver

2015-12-04 Thread Alex Deucher
From: Maruthi Srinivas Bayyavarapu ACP IP block consists of dedicated DMA and I2S blocks. The PCM driver provides the platform DMA component to ALSA core. Signed-off-by: Maruthi Bayyavarapu Reviewed-by: Alex Deucher Reviewed-by: Murali Krishna Vemuri Signed-off-by: Alex Deucher --- sound/so

[PATCH 10/13] ASoC: AMD: add ACP 2.x IP DMA abstraction layer

2015-12-04 Thread Alex Deucher
From: Maruthi Srinivas Bayyavarapu ACP IP has internal DMA controller with multiple channels which can be programmed in cyclic/non cyclic manner. ACP can generate interrupt upon completion of DMA transfer, if required. Signed-off-by: Maruthi Bayyavarapu Reviewed-by: Alex Deucher Signed-off-by:

[PATCH 08/13] drm/amd: add pm domain for ACP IP sub blocks

2015-12-04 Thread Alex Deucher
ACP IP have internal DMA controller, DW I2S controller and DSPs as separate power tiles. DMA and I2S devices are added to generic pm domain, so that entire IP can be powered off/on at appropriate times. Unused DSPs are made to be powered off though they are powered on during ACP pm domain power on

[PATCH 07/13] drm/amd: add ACP driver support

2015-12-04 Thread Alex Deucher
From: Maruthi Bayyavarapu This adds the ACP (Audio CoProcessor) IP driver and wires it up to the amdgpu driver. The ACP block provides the DMA engine for i2s based ALSA driver. This is required for audio on APUs that utilize an i2s codec. Reviewed-by: Jammy Zhou Reviewed-by: Maruthi Bayyavarap

[PATCH 06/13] PM / Domains: export symbols to add/remove devices from genpd

2015-12-04 Thread Alex Deucher
From: Maruthi Srinivas Bayyavarapu Drivers which can be built as loadable module needs symbols - pm_genpd_add_device/pm_genpd_remove_device to add/remove devices to/from genpd. Those drivers create platform devices, which comes under a powerdomain. Signed-off-by: Maruthi Bayyavarapu Reviewed-by

[PATCH 05/13] ASoC: dwc: reconfigure dwc in 'resume' from 'suspend'

2015-12-04 Thread Alex Deucher
From: Maruthi Srinivas Bayyavarapu DWC IP can be powered off during system suspend in some platforms. After system is resumed, dwc needs to be programmed again to continue audio use case. Signed-off-by: Maruthi Bayyavarapu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- sound/soc/d

[PATCH 04/13] ASoC: dwc: add quirk for different register offset

2015-12-04 Thread Alex Deucher
From: Maruthi Srinivas Bayyavarapu DWC in ACP 2.x IP has different offsets for I2S_COMP_PARAM_* registers. Added a quirk to support the same. Signed-off-by: Maruthi Bayyavarapu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- include/sound/designware_i2s.h | 5 + sound/soc/dwc/

[PATCH 03/13] ASoC: dwc: add runtime suspend/resume functionality

2015-12-04 Thread Alex Deucher
From: Maruthi Srinivas Bayyavarapu When DW controller is in master mode, it can disable/enable clock during the device runtime suspend/resume sequence. Signed-off-by: Maruthi Bayyavarapu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- sound/soc/dwc/designware_i2s.c | 26 +++

[PATCH 02/13] drm/amdgpu: add irq domain support

2015-12-04 Thread Alex Deucher
Hardware blocks on the GPU like ACP generate interrupts in the GPU interrupt controller, but are driven by a separate driver. Add an irq domain to the GPU driver so that blocks like ACP can register a Linux interrupt. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 108

[PATCH 01/13] drm/amdgpu/cgs: add an interface to access PCI resources

2015-12-04 Thread Alex Deucher
This provides an interface to get access to the base address of PCI resources (MMIO, DOORBELL, etc.). Only MMIO and DOORBELL are implemented right now. This is necessary to properly utilize shared drivers on platform devices. IP modules can use this interface to get the base address of the resou

[PATCH 00/13] Add ASoC support for AMD APUs [v5]

2015-12-04 Thread Alex Deucher
This patch set implements support for i2s audio and new AMD GPUs. The i2s codec is fed by a DMA engine on the GPU. To handle this we create mfd cells which we hang the i2s codec and DMA engine on. Because of this, this patch set covers two subsystems: drm and alsa. The drm patches add support for

[PATCH] nouveau/nvkm/subdev/clk/gk20a.c: fix wrong do_div() usage

2015-12-04 Thread Thierry Reding
next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151204/f67eefbf/attachment.sig>

[PATCH 11/12] MAINTAINERS: add Lucas Stach as maintainer for the etnaviv DRM driver

2015-12-04 Thread Marc Kleine-Budde
7- | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 455 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151204/6e853db6/attachment-0001.sig>

[PATCH 11/12] MAINTAINERS: add Lucas Stach as maintainer for the etnaviv DRM driver

2015-12-04 Thread Lucas Stach
Am Freitag, den 04.12.2015, 17:13 + schrieb Russell King - ARM Linux: > On Fri, Dec 04, 2015 at 12:08:47PM -0500, Ilia Mirkin wrote: > > On Fri, Dec 4, 2015 at 12:07 PM, Russell King - ARM Linux > > wrote: > > > On Fri, Dec 04, 2015 at 03:00:03PM +0100, Lucas Stach wrote: > > >> Signed-off-by:

[PATCH 11/12] MAINTAINERS: add Lucas Stach as maintainer for the etnaviv DRM driver

2015-12-04 Thread Christian Gmeiner
2015-12-04 18:13 GMT+01:00 Russell King - ARM Linux : > On Fri, Dec 04, 2015 at 12:08:47PM -0500, Ilia Mirkin wrote: >> On Fri, Dec 4, 2015 at 12:07 PM, Russell King - ARM Linux >> wrote: >> > On Fri, Dec 04, 2015 at 03:00:03PM +0100, Lucas Stach wrote: >> >> Signed-off-by: Lucas Stach >> > >> >

[PATCH 3/3] dt-bindings: exynos-dp: update ports node binding for panel

2015-12-04 Thread Inki Dae
Hi Rob, 2015년 12월 04일 08:38에 Rob Herring 이(가) 쓴 글: > On Thu, Dec 03, 2015 at 06:30:10PM +0900, Inki Dae wrote: >> This patch updates a ports node binding for panel. >> >> With this, dp node can have a ports node which describes >> a remote endpoint node that can be connected to pan

dumb BOs and prime

2015-12-04 Thread Daniel Stone
Hi Rob, On 4 December 2015 at 17:49, Rob Herring wrote: > I'm working on getting Android working with DRM drivers. ATM, I'm > using virtio-gpu as the driver and trying to get just KMS side working > without rendering. I have it working with stock AOSP and the emulated > fb with a few additions to

[PATCH 3/3] dt-bindings: exynos-dp: update ports node binding for panel

2015-12-04 Thread Inki Dae
Hi Javier, 2015년 12월 03일 22:29에 Javier Martinez Canillas 이(가) 쓴 글: > Hello Inki, > > On 12/03/2015 06:30 AM, Inki Dae wrote: >> This patch updates a ports node binding for panel. >> >> With this, dp node can have a ports node which describes >> a remote endpoint node that can be c

[PATCH v3 1/3] drm/exynos: dp: add of_graph dt binding support for panel

2015-12-04 Thread Inki Dae
Hi Javier, 2015년 12월 03일 22:55에 Javier Martinez Canillas 이(가) 쓴 글: > Hello Inki, > > I found that v2 of this patch is alredy in your exynos-drm for-next branch so > so I had to revert it in linux-next to apply this one to test. You shouldn't > push patches that were still not revi

[PATCH 02/12] drm/etnaviv: add devicetree bindings

2015-12-04 Thread Russell King - ARM Linux
On Fri, Dec 04, 2015 at 11:33:22AM -0600, Rob Herring wrote: > On Fri, Dec 4, 2015 at 10:41 AM, Lucas Stach > wrote: > > I'm aware of that, but I don't see much value in kicking this discussion > > around for every DRM driver submission. This is the binding that has > > emerged from a lengthy dis

[Bug 93147] [regression bisected] Stuttering in games caused by commit 4dfd6486 "drm: Use vblank timestamps to guesstimate how many vblanks were missed"

2015-12-04 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151204/d32f65a9/attachment.html>

[PATCH 02/12] drm/etnaviv: add devicetree bindings

2015-12-04 Thread Ilia Mirkin
On Fri, Dec 4, 2015 at 5:05 PM, Russell King - ARM Linux wrote: > On Fri, Dec 04, 2015 at 03:42:47PM -0500, Ilia Mirkin wrote: >> On Fri, Dec 4, 2015 at 3:31 PM, Russell King - ARM Linux >> wrote: >> > Moreover, DRI3 is not yet available for Gallium, so if we're talking >> > about Xorg, then func

[PATCH 02/12] drm/etnaviv: add devicetree bindings

2015-12-04 Thread Lucas Stach
Am Freitag, den 04.12.2015, 10:29 -0600 schrieb Rob Herring: > On Fri, Dec 04, 2015 at 02:59:54PM +0100, Lucas Stach wrote: > > Etnaviv follows the same priciple as imx-drm to have a virtual > > master device node to bind all the individual GPU cores together > > into one DRM device. > > > > Signe

[PATCH 11/12] MAINTAINERS: add Lucas Stach as maintainer for the etnaviv DRM driver

2015-12-04 Thread Russell King - ARM Linux
On Fri, Dec 04, 2015 at 06:26:38PM +0100, Marc Kleine-Budde wrote: > On 12/04/2015 06:07 PM, Russell King - ARM Linux wrote: > > On Fri, Dec 04, 2015 at 03:00:03PM +0100, Lucas Stach wrote: > >> Signed-off-by: Lucas Stach > > > > Acked-by: Russell King > > > > Although, I would like to be copie

[PATCH 3/4] drm, ipu-v3: use https://linuxtv.org for LinuxTV URL

2015-12-04 Thread Philipp Zabel
Am Freitag, den 04.12.2015, 10:46 -0200 schrieb Mauro Carvalho Chehab: > While https was always supported on linuxtv.org, only in > Dec 3 2015 the website is using valid certificates. > > As we're planning to drop pure http support on some > future, change the references at DRM include and at > th

[Bug 92996] [Fiji/amdgpu/Powerplay] Problems with interactivity, performance, EQ overflow with Powerplay

2015-12-04 Thread bugzilla-dae...@freedesktop.org
archives/dri-devel/attachments/20151204/3a3c6b0a/attachment.html>

[PATCH] drm: Move encoder->save/restore into nouveau

2015-12-04 Thread Daniel Vetter
Nouveau is the only user, and atomic drivers should do state save/restoring differently. So move it into noveau. Saves me typing some kerneldoc, too ;-) v2: Move misplaced hunk into earlier nouveau patch. Cc: Ilia Mirkin Cc: Ben Skeggs Signed-off-by: Daniel Vetter --- drivers/gpu/drm/nouveau

[PATCH 11/12] MAINTAINERS: add Lucas Stach as maintainer for the etnaviv DRM driver

2015-12-04 Thread Russell King - ARM Linux
On Fri, Dec 04, 2015 at 12:08:47PM -0500, Ilia Mirkin wrote: > On Fri, Dec 4, 2015 at 12:07 PM, Russell King - ARM Linux > wrote: > > On Fri, Dec 04, 2015 at 03:00:03PM +0100, Lucas Stach wrote: > >> Signed-off-by: Lucas Stach > > > > Acked-by: Russell King > > > > Although, I would like to be c

[PATCH] drm/nouveau: Use private save/restore hooks for CRTCs

2015-12-04 Thread Daniel Vetter
I want to remove the core ones since with atomic drivers system suspend/resume is solved much differently. And there's only 2 drivers (gma500 besides nouveau) really using them. v2: Fixup bugs Ilia spotted. Cc: Ben Skeggs Cc: Ilia Mirkin Signed-off-by: Daniel Vetter --- drivers/gpu/drm/nouvea

[PATCH 11/12] MAINTAINERS: add Lucas Stach as maintainer for the etnaviv DRM driver

2015-12-04 Thread Russell King - ARM Linux
On Fri, Dec 04, 2015 at 03:00:03PM +0100, Lucas Stach wrote: > Signed-off-by: Lucas Stach Acked-by: Russell King Although, I would like to be copied on patches, I don't think we have a way to encode that information in MAINTAINERS. > --- > MAINTAINERS | 7 +++ > 1 file changed, 7 insertio

[PATCH 13/28] drm/nouveau: Use private save/restore hooks

2015-12-04 Thread Daniel Vetter
On Fri, Dec 04, 2015 at 09:31:01AM -0500, Ilia Mirkin wrote: > On Fri, Dec 4, 2015 at 3:45 AM, Daniel Vetter > wrote: > > I want to remove the core ones since with atomic drivers system > > suspend/resume is solved much differently. And there's only 2 drivers > > (gma500 besides nouveau) really u

[PATCH 02/12] drm/etnaviv: add devicetree bindings

2015-12-04 Thread Russell King - ARM Linux
On Fri, Dec 04, 2015 at 05:41:45PM +0100, Lucas Stach wrote: > Am Freitag, den 04.12.2015, 10:29 -0600 schrieb Rob Herring: > > On Fri, Dec 04, 2015 at 02:59:54PM +0100, Lucas Stach wrote: > > > +gpu-subsystem { > > > + compatible = "fsl,imx-gpu-subsystem"; > > > + cores = <&gpu_2d>, <&gpu_3d>; > >

[Bug 108901] amdgpu: corruption for R9 380X (Tonga XT)

2015-12-04 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=108901 Alex Deucher changed: What|Removed |Added CC||alexdeucher at gmail.com --- Comment #1 f

[PATCH 02/12] drm/etnaviv: add devicetree bindings

2015-12-04 Thread Russell King - ARM Linux
On Fri, Dec 04, 2015 at 10:29:56AM -0600, Rob Herring wrote: > On Fri, Dec 04, 2015 at 02:59:54PM +0100, Lucas Stach wrote: > > +Vivante GPU core devices > > + > > + > > +Required properties: > > +- compatible: Should be "vivante,gc" > > This should at least have the specific c

[Bug 93236] Tonga garbled desktop since amdgpu/gfxv8: Cleanup of gfx_v8_0_tiling_mode_table_init()

2015-12-04 Thread bugzilla-dae...@freedesktop.org
vel/attachments/20151204/52b5b7db/attachment-0001.html>

[PATCH v2 05/14] ALSA: pcm: Add DRM helper to set constraint for format

2015-12-04 Thread Subhransu S. Prusty
On Thu, Dec 03, 2015 at 04:57:14PM +0100, Takashi Iwai wrote: > On Thu, 03 Dec 2015 22:08:53 +0100, > Subhransu S. Prusty wrote: > > > > Setting the constraint format based on ELD was missing bit in > > the sound/core pcm drm. Added with this patch. > > No, you can't define these here. The forma

[Bug 108901] New: amdgpu: corruption for R9 380X (Tonga XT)

2015-12-04 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=108901 Bug ID: 108901 Summary: amdgpu: corruption for R9 380X (Tonga XT) Product: Drivers Version: 2.5 Kernel Version: amdgpu-powerplay Hardware: All OS: Linux Tree:

[PATCH 06/28] drm/bridge: Improve kerneldoc

2015-12-04 Thread Archit Taneja
On 12/04/2015 02:15 PM, Daniel Vetter wrote: > Especially document the assumptions and semantics of the callbacks > carefully. Just a warm-up excercise really. > > v2: Spelling fixes (Eric). > > v3: Consolidate more with existing docs: > > - Remove the overview section explaining the bridge funcs

[PATCH 08/12] drm/etnaviv: add GPU MMU handling functionality

2015-12-04 Thread Lucas Stach
Hi Emil, Am Freitag, den 04.12.2015, 14:59 + schrieb Emil Velikov: > Hi Lucas, > > On 4 December 2015 at 14:00, Lucas Stach wrote: > > > --- /dev/null > > +++ b/drivers/gpu/drm/etnaviv/etnaviv_iommu_v2.c > > > +struct iommu_domain *etnaviv_iommu_v2_domain_alloc(struct etnaviv_gpu *gpu) > >

[PATCH v2 12/14] ASoC: hdac_hdmi: Add infoframe support for dp audio

2015-12-04 Thread Subhransu S. Prusty
On Thu, Dec 03, 2015 at 05:13:16PM +, Daniel Stone wrote: > Hi Subhransu, > > On 3 December 2015 at 21:09, Subhransu S. Prusty > wrote: > > + if (conn_type == DRM_ELD_CONN_TYPE_HDMI) { > > + hdmi_audio_infoframe_init(&frame); > > + > > + /* Default stereo for

[PATCH v2 11/14] drm/edid: Add API to help find connection type

2015-12-04 Thread Subhransu S. Prusty
On Thu, Dec 03, 2015 at 05:16:34PM +0100, Takashi Iwai wrote: > On Thu, 03 Dec 2015 22:08:59 +0100, > Subhransu S. Prusty wrote: > > > > To fill the audio infoframe it is required to identify the > > connection type as DP or HDMI. This patch adds an API which > > parses ELD and returns the display

[pull] radeon and amdgpu drm-fixes-4.4

2015-12-04 Thread Alex Deucher
Hi Dave, A few more last minute fixes for 4.4 on top of my pull request from earlier this week. The big change here is a vblank regression fix due to commit 4dfd6486 "drm: Use vblank timestamps to guesstimate how many vblanks were missed". Beyond that, a hotplug fix and a few VM fixes. The foll

dumb BOs and prime

2015-12-04 Thread Greg Hackmann
On 12/04/2015 11:23 AM, Rob Herring wrote: > On Fri, Dec 4, 2015 at 12:40 PM, Benjamin Gaignard > wrote: >> Hi Rob, >> >> I got the same problem today with sti drm/kms driver and dumb Bo. >> The issue comes become hwcomposer because is the master and authenticated on >> /dev/dri/cardX >> Dumb allo

[PATCH v2 04/14] ASoC: hdac_hdmi: Add hotplug notification and read eld

2015-12-04 Thread Subhransu S. Prusty
On Thu, Dec 03, 2015 at 04:51:37PM +0100, Takashi Iwai wrote: > On Thu, 03 Dec 2015 22:08:52 +0100, > Subhransu S. Prusty wrote: > > > > This patch uses i915 component framework to register for hotplug > > notification. And once it identifies valid pin sense and valid eld, > > reads the eld into t

[PATCH v2 03/14] ASoC: hdac_hdmi - Use list to add pins and converters

2015-12-04 Thread Subhransu S. Prusty
On Thu, Dec 03, 2015 at 04:44:55PM +0100, Takashi Iwai wrote: > On Thu, 03 Dec 2015 22:08:51 +0100, > Subhransu S. Prusty wrote: > > static int hdac_hdmi_dev_remove(struct hdac_ext_device *edev) > > { > > + struct hdac_hdmi_priv *hdmi = edev->private_data; > > + struct hdac_hdmi_pin *pin; > >

[PATCH 02/12] drm/etnaviv: add devicetree bindings

2015-12-04 Thread Ilia Mirkin
On Fri, Dec 4, 2015 at 3:31 PM, Russell King - ARM Linux wrote: > Moreover, DRI3 is not yet available for Gallium, so if we're talking > about Xorg, then functional DRI2 is a requirement, and that _needs_ > to have a single device for the rendering instances. Xorg has no way > to pass multiple re

Implementing Miracast?

2015-12-04 Thread Martin Peres
On 04/12/15 10:07, Daniel Vetter wrote: > > Hm for virtual devices like this I figured there's no point exporting the > full kms api to userspace, but instead we'd just need a simple kms driver > with just 1 crtc and 1 connector per drm_device. Yes, we do not need anything more. But don't forget t

[Bug 93147] [regression bisected] Stuttering in games caused by commit 4dfd6486 "drm: Use vblank timestamps to guesstimate how many vblanks were missed"

2015-12-04 Thread bugzilla-dae...@freedesktop.org
e bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151204/e3dc8777/attachment.html>

[PATCH v2 5/7] drm: Only merge mode type bits between new probed modes

2015-12-04 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä Currently most drivers request that any mode appearing on both the old mode list and the new probed_modes list get their type bits ORed together if the modes are deemed to otherwise match each other. I don't know why anyone would want to merge in the mode type bits from any

[Bug 93147] [regression bisected] Stuttering in games caused by commit 4dfd6486 "drm: Use vblank timestamps to guesstimate how many vblanks were missed"

2015-12-04 Thread bugzilla-dae...@freedesktop.org
b'ed by me. -- 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/20151204/c5193a70/attachment.html>

[Bug 93147] [regression bisected] Stuttering in games caused by commit 4dfd6486 "drm: Use vblank timestamps to guesstimate how many vblanks were missed"

2015-12-04 Thread bugzilla-dae...@freedesktop.org
esktop.org/archives/dri-devel/attachments/20151204/8a0b56e7/attachment-0001.html>

[PATCH 12/12] ARM: dts: imx6: add Vivante GPU nodes

2015-12-04 Thread Lucas Stach
This adds the device nodes for 2D, 3D and VG GPU cores. Signed-off-by: Russell King Signed-off-by: Lucas Stach --- arch/arm/boot/dts/imx6dl.dtsi | 5 + arch/arm/boot/dts/imx6q.dtsi | 15 +++ arch/arm/boot/dts/imx6qdl.dtsi | 22 ++ 3 files changed, 42 inse

[PATCH 11/12] MAINTAINERS: add Lucas Stach as maintainer for the etnaviv DRM driver

2015-12-04 Thread Lucas Stach
Signed-off-by: Lucas Stach --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e9caa4b28828..1c69563c61ed 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3741,6 +3741,13 @@ S: Maintained F: drivers/gpu/drm/sti F: Documentation/

[PATCH 10/12] drm/etnaviv: add master driver and hook up in Kconfig and Makefile

2015-12-04 Thread Lucas Stach
From: The etnaviv authors This adds the etnaviv DRM core driver and hooks it up in the Kconfig and Makefile. Signed-off-by: Christian Gmeiner Signed-off-by: Russell King Signed-off-by: Lucas Stach --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1

[PATCH 09/12] drm/etnaviv: add GPU core dump functionality

2015-12-04 Thread Lucas Stach
From: The etnaviv authors This adds functionality to allow post-portem GPU analysis. Signed-off-by: Christian Gmeiner Signed-off-by: Russell King Signed-off-by: Lucas Stach --- drivers/gpu/drm/etnaviv/etnaviv_dump.c | 227 + drivers/gpu/drm/etnaviv/etnaviv_dum

[PATCH 08/12] drm/etnaviv: add GPU MMU handling functionality

2015-12-04 Thread Lucas Stach
From: The etnaviv authors This adds the GPU MMU handling functionality, used to drive the MMUs attached to each GPU core. Signed-off-by: Christian Gmeiner Signed-off-by: Russell King Signed-off-by: Lucas Stach --- drivers/gpu/drm/etnaviv/etnaviv_iommu.c| 240 +++ driv

[PATCH 07/12] drm/etnaviv: add GEM submit and cmdstream validation bits

2015-12-04 Thread Lucas Stach
From: The etnaviv authors This adds the GEM submit functionality and the needed commandstream validation and GPU buffer handling bits to go with that. Signed-off-by: Christian Gmeiner Signed-off-by: Russell King Signed-off-by: Lucas Stach --- drivers/gpu/drm/etnaviv/etnaviv_buffer.c | 26

[PATCH 06/12] drm/etnaviv: add GEM core functionality

2015-12-04 Thread Lucas Stach
From: The etnaviv authors This adds the implementation for the GEM core functionality for the etnaviv DRM driver. Signed-off-by: Christian Gmeiner Signed-off-by: Russell King Signed-off-by: Lucas Stach --- drivers/gpu/drm/etnaviv/etnaviv_gem.c | 897 driver

[PATCH 05/12] drm/etnaviv: add GPU core driver

2015-12-04 Thread Lucas Stach
From: The etnaviv authors This adds the GPU core driver part of the etnaviv DRM driver. Signed-off-by: Christian Gmeiner Signed-off-by: Russell King Signed-off-by: Lucas Stach --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 1644 + drivers/gpu/drm/etnaviv/etnaviv_

[PATCH 04/12] drm/etnaviv: add generated hardware description headers

2015-12-04 Thread Lucas Stach
From: The etnaviv authors This adds all the generated hardware description headers for the etnaviv DRM driver. Signed-off-by: Christian Gmeiner Signed-off-by: Russell King Signed-off-by: Lucas Stach --- drivers/gpu/drm/etnaviv/cmdstream.xml.h | 218 + drivers/gpu/drm/etnaviv/

[PATCH 03/12] drm/etnaviv: add etnaviv UAPI header

2015-12-04 Thread Lucas Stach
From: The etnaviv authors This adds the header defining the user/kernel API for the etnaviv DRM driver. Signed-off-by: Christian Gmeiner Signed-off-by: Russell King Signed-off-by: Lucas Stach --- include/uapi/drm/etnaviv_drm.h | 221 + 1 file changed,

[PATCH 02/12] drm/etnaviv: add devicetree bindings

2015-12-04 Thread Lucas Stach
Etnaviv follows the same priciple as imx-drm to have a virtual master device node to bind all the individual GPU cores together into one DRM device. Signed-off-by: Lucas Stach --- .../bindings/display/etnaviv/etnaviv-drm.txt | 46 ++ 1 file changed, 46 insertions(+) cr

[PATCH 01/12] devicetree: add vendor prefix for Vivante Corporation

2015-12-04 Thread Lucas Stach
From: Philipp Zabel Trivial patch to add Vivante Corporation to the list of devicetree vendor prefixes. Signed-off-by: Philipp Zabel Signed-off-by: Lucas Stach --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetre

[PATCH 08/12] drm/etnaviv: add GPU MMU handling functionality

2015-12-04 Thread Emil Velikov
Hi Lucas, On 4 December 2015 at 14:00, Lucas Stach wrote: > --- /dev/null > +++ b/drivers/gpu/drm/etnaviv/etnaviv_iommu_v2.c > +struct iommu_domain *etnaviv_iommu_v2_domain_alloc(struct etnaviv_gpu *gpu) > +{ > + /* TODO */ > + return NULL; > +} I thought you guys removed this sinc

[PATCH 00/12] etnaviv DRM driver

2015-12-04 Thread Lucas Stach
Hi all, this is the latest round of etnaviv DRM driver patches. Since RFCv2 we made some substantial changes and improvements. I'm confident that the driver is in a state where it can go in now, so I removed the RFC tag. Most notable issues fixed: - better input validation for all the ioctls in p

[PATCH] nouveau/nvkm/subdev/clk/gk20a.c: fix wrong do_div() usage

2015-12-04 Thread Nicolas Pitre
On Fri, 4 Dec 2015, Thierry Reding wrote: > On Tue, Nov 03, 2015 at 05:01:46PM -0500, Nicolas Pitre wrote: > > do_div() must only be used with a u64 dividend. > > > > Signed-off-by: Nicolas Pitre > > > > diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c > > b/drivers/gpu/drm/nouveau

[PATCH 3/9] drm/vc4: Add create and map BO ioctls.

2015-12-04 Thread Emil Velikov
Hi Eric, A couple of suggestions/requests on the UAPI header side On 1 December 2015 at 20:35, Eric Anholt wrote: > --- /dev/null > +++ b/include/uapi/drm/vc4_drm.h > +#include > + Can we make this a "drm.h" ? > +struct drm_vc4_create_bo { > + uint32_t size; > + uint32_t flags;

[PATCH 2/2] amdgpu: add amdgpu_find_bo_by_cpu_mapping interface

2015-12-04 Thread Chunming Zhou
userspace needs to know if the user memory is from BO or malloc. Change-Id: Ie2dbc13f1c02bc0a996f64f9db83a21da63c1d70 Signed-off-by: Chunming Zhou Reviewed-by: Jammy Zhou Reviewed-by: Christian König --- amdgpu/amdgpu.h | 24 amdgpu/amdgpu_bo.c | 37 +++

[PATCH] drm/amdgpu: return bo itself if userptr is cpu addr of bo V2

2015-12-04 Thread Chunming Zhou
V2: get original gem handle from gobj Change-Id: I705eadfe03cd85c75bff252563d69f3c8a536868 Signed-off-by: Chunming Zhou Reviewed-by: Christian König Reviewed-by: Jammy Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 59 ++

[PATCH 1/2] amdgpu: add bo handle to hash table when cpu mapping

2015-12-04 Thread Chunming Zhou
Change-Id: Id79d98877c61510a1986d65befec6ce6713edae7 Signed-off-by: Chunming Zhou Reviewed-by: Jammy Zhou Reviewed-by: Christian König --- amdgpu/amdgpu_bo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amdgpu/amdgpu_bo.c b/amdgpu/amdgpu_bo.c index e47410c..5a0f4ac 10064

[PATCH 03/12] drm/etnaviv: add etnaviv UAPI header

2015-12-04 Thread Emil Velikov
On 4 December 2015 at 13:59, Lucas Stach wrote: > From: The etnaviv authors > > This adds the header defining the user/kernel API for the > etnaviv DRM driver. > > Signed-off-by: Christian Gmeiner > Signed-off-by: Russell King > Signed-off-by: Lucas Stach > --- > include/uapi/drm/etnaviv_drm.

[Mesa-dev] [PATCH v4 1/2] intel: 48b ppgtt support (EXEC_OBJECT_SUPPORTS_48B_ADDRESS flag)

2015-12-04 Thread Michel Thierry
On 11/18/2015 10:53 PM, Kristian Høgsberg wrote: > On Wed, Oct 14, 2015 at 5:11 AM, Michel Thierry > wrote: >> On 10/14/2015 8:19 AM, Daniel Vetter wrote: >>> >>> On Tue, Oct 13, 2015 at 02:51:36PM -0700, Kristian Høgsberg wrote: On Tue, Oct 13, 2015 at 7:55 AM, Michel Thierry wr

[PATCH 1/7] drm: Don't overwrite UNVERFIED mode status to OK

2015-12-04 Thread Ville Syrjälä
On Fri, Dec 04, 2015 at 09:17:28AM +0100, Daniel Vetter wrote: > On Thu, Dec 03, 2015 at 11:14:09PM +0200, ville.syrjala at linux.intel.com > wrote: > > From: Ville Syrjälä > > > > The way the mode probing works is this: > > 1. All modes currently on the mode list are marked as UNVERIFIED > >

[PATCH 01/20] drm: use __u{32, 64} instead of uint{32, 64}_t in virtgpu_drm.h

2015-12-04 Thread Emil Velikov
On 30 November 2015 at 14:10, Gabriel Laskar wrote: > Signed-off-by: Gabriel Laskar > CC: Emil Velikov > CC: Mikko Rapeli > > --- > include/uapi/drm/virtgpu_drm.h | 98 > +- > 1 file changed, 49 insertions(+), 49 deletions(-) > For the series Reviewed-b

[PATCH 02/12] drm/etnaviv: add devicetree bindings

2015-12-04 Thread Rob Herring
On Fri, Dec 4, 2015 at 11:56 AM, Lucas Stach wrote: > Am Freitag, den 04.12.2015, 11:33 -0600 schrieb Rob Herring: >> On Fri, Dec 4, 2015 at 10:41 AM, Lucas Stach >> wrote: >> > Am Freitag, den 04.12.2015, 10:29 -0600 schrieb Rob Herring: >> >> On Fri, Dec 04, 2015 at 02:59:54PM +0100, Lucas Sta

[PATCH] drm: Fix an unwanted master inheritance v2

2015-12-04 Thread Emil Velikov
On 2 December 2015 at 17:24, Thomas Hellstrom wrote: > A client calling drmSetMaster() using a file descriptor that was opened > when another client was master would inherit the latter client's master > object and all its authenticated clients. > > This is unwanted behaviour, and when this happens

[Bug 93236] Tonga garbled desktop since amdgpu/gfxv8: Cleanup of gfx_v8_0_tiling_mode_table_init()

2015-12-04 Thread bugzilla-dae...@freedesktop.org
t of the new code. After a quick search I can't find any others. -- 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/20151204/489e61de/attachment.html>

[PATCH] drm/amdgpu: set snooped flags only on system addresses v2

2015-12-04 Thread Christian König
From: Christian König Not necessary for VRAM. v2: no need to check if ttm is NULL. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm

[PATCH 1/3] drm/amdgpu: set snooped flags only on system addresses

2015-12-04 Thread Christian König
On 04.12.2015 03:50, Michel Dänzer wrote: > On 04.12.2015 03:55, Christian König wrote: >> From: Christian König >> >> Not necessary for VRAM. >> >> Signed-off-by: Christian König >> --- >> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 7 --- >> 1 file changed, 4 insertions(+), 3 deletions

dumb BOs and prime

2015-12-04 Thread Rob Herring
On Fri, Dec 4, 2015 at 12:40 PM, Benjamin Gaignard wrote: > Hi Rob, > > I got the same problem today with sti drm/kms driver and dumb Bo. > The issue comes become hwcomposer because is the master and authenticated on > /dev/dri/cardX > Dumb allocation is done by gralloc which does a new open (so i

[PATCH v3 1/3] drm/exynos: dp: add of_graph dt binding support for panel

2015-12-04 Thread Javier Martinez Canillas
Hello Inki, On 12/04/2015 11:57 AM, Inki Dae wrote: > Hi Javier, > > 2015-12-04 21:38 GMT+09:00 Javier Martinez Canillas osg.samsung.com>: >> Hello Inki, >> >> On 12/04/2015 06:00 AM, Inki Dae wrote: >>> Hi Javier, >>> >>> 2015년 12월 03일 22:55에 Javier Martinez Canillas 이(가) 쓴 글: >

[PATCH v2] drm/radeon: Retry DDC probing on DVI on failure if we got an HPD interrupt

2015-12-04 Thread Alex Deucher
On Fri, Dec 4, 2015 at 3:53 AM, Christian König wrote: > On 04.12.2015 00:26, cpaul at redhat.com wrote: >> >> From: Lyude >> >> HPD signals on DVI ports can be fired off before the pins required for >> DDC probing actually make contact, due to the pins for HPD making >> contact first. This resu

[PATCH] drm/amdgpu: set snooped flags only on system addresses v2

2015-12-04 Thread Alex Deucher
On Fri, Dec 4, 2015 at 7:32 AM, Christian König wrote: > From: Christian König > > Not necessary for VRAM. > > v2: no need to check if ttm is NULL. > > Signed-off-by: Christian König Applied the series. thanks! Alex > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 7 --- > 1 file c

  1   2   3   >