unparseable, undocumented /sys/class/drm/.../pstate

2014-06-24 Thread Ben Skeggs
On Tue, Jun 24, 2014 at 6:26 AM, Greg KH wrote: > On Mon, Jun 23, 2014 at 04:18:39PM -0400, Ilia Mirkin wrote: >> On Mon, Jun 23, 2014 at 4:15 PM, Pavel Machek wrote: >> > Hi! >> > >> >> >> >> > I guess better interface would be something like >> >> >> >> > >> >> >> >> > pstate/07/core_clock_min

[Bug 79773] Enabling DPM results in crash for R270X PITCAIRN

2014-06-24 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140624/12fd4560/attachment.html>

[PATCH 00/22] Add and use pci_zalloc_consistent

2014-06-24 Thread Julian Calaby
Hi Joe, On Tue, Jun 24, 2014 at 5:13 AM, Joe Perches wrote: > On Mon, 2014-06-23 at 10:25 -0700, Luis R. Rodriguez wrote: >> On Mon, Jun 23, 2014 at 06:41:28AM -0700, Joe Perches wrote: >> > Adding the helper reduces object code size as well as overall >> > source size line count. >> > >> > It's

[Bug 78453] [HAWAII] Get acceleration working

2014-06-24 Thread bugzilla-dae...@freedesktop.org
.org/archives/dri-devel/attachments/20140624/e3b29061/attachment-0001.html>

[Bug 80141] Fails to page flip multiple time, queue overflows waiting for one to finish that never does crashing entire system.

2014-06-24 Thread bugzilla-dae...@freedesktop.org
ing 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/20140624/65f7c61b/attachment.html>

[Bug 80419] XCOM: Enemy Unknown Causes lockup

2014-06-24 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: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140624/d0529230/attachment.html>

[Intel-gfx] [RFC][PATCH] gpu:drm:i915:intel_detect_pch: back to check devfn instead of check class type

2014-06-24 Thread Zhenyu Wang
Looks good to me. Reviewed-by: Zhenyu Wang -- Open Source Technology Center, Intel ltd. $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827 -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Dig

[PATCH V4 00/10] drm: exynos: few patches to enhance bridge chip support

2014-06-24 Thread Rahul Sharma
Hi Tomasz, On 23 June 2014 20:08, Tomasz Figa wrote: > Hi Rahul, > > On 23.06.2014 15:58, Rahul Sharma wrote: >> Hi Ajay, Inki, >> >> I tested this series for Exynos5420 based peach-pit board, >> Exynos5800 based Peach-pi board and Exynos5250 based >> Snow board. I verified with the chrome test e

[Bug 80419] XCOM: Enemy Unknown Causes lockup

2014-06-24 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140624/7d81985c/attachment.html>

[Bug 80419] XCOM: Enemy Unknown Causes lockup

2014-06-24 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140624/89e72de3/attachment.html>

[Bug 80419] XCOM: Enemy Unknown Causes lockup

2014-06-24 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140624/668aa0e2/attachment.html>

[Bug 80419] XCOM: Enemy Unknown Causes lockup

2014-06-24 Thread bugzilla-dae...@freedesktop.org
e. -- 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/20140624/8fe3bf55/attachment-0001.html>

[PATCH 3/5 v2] drm/exynos: allow mulitple layer updates per vsync for mixer

2014-06-24 Thread Inki Dae
On 2014? 06? 23? 14:32, Rahul Sharma wrote: > Allowing only one layer update per vsync can cause issues > while there are update available for both layers. There is > a good amount of possibility to loose updates if we allow > single update per vsync. > > Signed-off-by: Rahul Sharma > --- > driv

[Bug 80419] XCOM: Enemy Unknown Causes lockup

2014-06-24 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140624/6bf0a73d/attachment.html>

[Bug 80141] Fails to page flip multiple time, queue overflows waiting for one to finish that never does crashing entire system.

2014-06-24 Thread bugzilla-dae...@freedesktop.org
es just yet, they don't seem to be working yet. -- 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/20140624/69d069a8/attachment.html>

[Bug 80419] XCOM: Enemy Unknown Causes lockup

2014-06-24 Thread bugzilla-dae...@freedesktop.org
assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140624/36dd5f81/attachment.html>

[PATCH 1/3] drm/radeon: stop poisoning the GART TLB

2014-06-24 Thread Michel Dänzer
On 23.06.2014 18:56, Christian K?nig wrote: > Am 23.06.2014 10:15, schrieb Michel D?nzer: >> On 19.06.2014 18:45, Christian K?nig wrote: >> >>> I think even when we revert to the old code we have a couple of unsolved >>> problems with the VM support or in the driver in general where we should >>> t

[Bug 79850] [awesomenauts][radeonsi] pageflip is clearly missing vblank with vsync on

2014-06-24 Thread bugzilla-dae...@freedesktop.org
ving 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/20140624/cf5fb343/attachment.html>

[PATCH v2 0/3] drm/ttm: nouveau: memory coherency for ARM

2014-06-24 Thread Alexandre Courbot
For this v2 I have fixed the patches that are non-controversial (all Lucas' :)) and am resubmitting them in the hope that they will get merged. This will just leave the issue of Nouveau system-memory buffers mapping to be solved. This issue is quite complex, so let me summarize the situation and t

[PATCH v2 1/3] drm/ttm: recognize ARM arch in ioprot handler

2014-06-24 Thread Alexandre Courbot
From: Lucas Stach Signed-off-by: Lucas Stach Signed-off-by: Alexandre Courbot --- drivers/gpu/drm/ttm/ttm_bo_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b/drivers/gpu/drm/ttm/ttm_bo_util.c index 1df856f78568..30e5d90cb7bc 100644

[PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Alexandre Courbot
From: Lucas Stach On architectures for which access to GPU memory is non-coherent, caches need to be flushed and invalidated explicitly at the appropriate places. Introduce two small helpers to make things easy for TTM-based drivers. Signed-off-by: Lucas Stach Signed-off-by: Alexandre Courbot

[PATCH v2 3/3] drm/nouveau: hook up cache sync functions

2014-06-24 Thread Alexandre Courbot
From: Lucas Stach Use the newly-introduced TTM cache sync functions in Nouveau. Signed-off-by: Lucas Stach [acourbot at nvidia.com: rearrange code, make platform-friendly] Signed-off-by: Alexandre Courbot --- drivers/gpu/drm/nouveau/nouveau_bo.c | 47 +++ driv

[PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Russell King - ARM Linux
On Tue, Jun 24, 2014 at 06:54:26PM +0900, Alexandre Courbot wrote: > From: Lucas Stach > > On architectures for which access to GPU memory is non-coherent, > caches need to be flushed and invalidated explicitly at the > appropriate places. Introduce two small helpers to make things > easy for TTM

[PATCH 1/2] Revert "drm/radeon: remove drm_vblank_get|put from pflip handling"

2014-06-24 Thread Michel Dänzer
On 24.06.2014 05:32, Dieter N?tzel wrote: > Am 23.06.2014 21:46, schrieb Dieter N?tzel: >> Am 23.06.2014 11:34, schrieb Michel D?nzer: >>> On 18.06.2014 18:14, Christian K?nig wrote: Am 18.06.2014 07:53, schrieb Michel D?nzer: > > (WW) RADEON(0): radeon_dri2_flip_event_handler: Pagef

[PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Alexandre Courbot
On 06/24/2014 07:02 PM, Russell King - ARM Linux wrote: > On Tue, Jun 24, 2014 at 06:54:26PM +0900, Alexandre Courbot wrote: >> From: Lucas Stach >> >> On architectures for which access to GPU memory is non-coherent, >> caches need to be flushed and invalidated explicitly at the >> appropriate pla

[PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Alexandre Courbot
On 06/24/2014 07:33 PM, Alexandre Courbot wrote: > On 06/24/2014 07:02 PM, Russell King - ARM Linux wrote: >> On Tue, Jun 24, 2014 at 06:54:26PM +0900, Alexandre Courbot wrote: >>> From: Lucas Stach >>> >>> On architectures for which access to GPU memory is non-coherent, >>> caches need to be flus

[Bug 78221] 3.16 RC1: AMD R9 270 GPU locks up on some heavy 2D activity - GPU VM fault occurs. (possibly DMA copying issue strikes back?)

2014-06-24 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=78221 --- Comment #9 from t3st3r at mail.ru --- Hmm, this patch does not applies cleanly to 3.16-rc1 or -rc2, mostly having bunch of conflicts in radeon_vm.c, which are a bit over my head to resolve at this point. Which version of kernel I'm supposed to

linux-next: Tree for Jun 19 (drm/i915)

2014-06-24 Thread Jani Nikula
On Thu, 19 Jun 2014, Randy Dunlap wrote: > On 06/18/14 23:16, Stephen Rothwell wrote: >> Hi all, >> >> The powerpc allyesconfig is again broken more than usual. >> >> Changes since 20140618: >> > > on i386: > > CONFIG_ACPI is not enabled. > > CC drivers/gpu/drm/i915/i915_drv.o > ../drive

[PATCH 00/22] Add and use pci_zalloc_consistent

2014-06-24 Thread Johannes Berg
On Tue, 2014-06-24 at 09:27 +1000, Julian Calaby wrote: > > - x = (T)pci_alloc_consistent(E1,E2,E3); > > + x = pci_zalloc_consistent(E1,E2,E3); > > if ((x==NULL) || ...) S > > - memset((T2)x,0,E2); > > I don't know much about SmPL, but wouldn't having that if statement > there reduce your match

[Bug 80419] XCOM: Enemy Unknown Causes lockup

2014-06-24 Thread bugzilla-dae...@freedesktop.org
for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140624/454bcacc/attachment.html>

[Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Maarten Lankhorst
op 24-06-14 14:23, Alexandre Courbot schreef: > On Tue, Jun 24, 2014 at 7:55 PM, Alexandre Courbot > wrote: >> On 06/24/2014 07:33 PM, Alexandre Courbot wrote: >>> On 06/24/2014 07:02 PM, Russell King - ARM Linux wrote: On Tue, Jun 24, 2014 at 06:54:26PM +0900, Alexandre Courbot wrote: >

[PATCH] drm/exynos: Support DP CLKCON register in FIMD driver

2014-06-24 Thread Andrzej Hajda
Hi Ajay, On 06/24/2014 01:09 PM, Ajay Kumar wrote: > Add the missing setting for DP CLKCON register. > > This register is present on Exynos5 based FIMD controllers, > and needs to be used if we are using DP. > > Signed-off-by: Ajay Kumar > --- > drivers/gpu/drm/exynos/exynos_drm_fimd.c |5

[PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Russell King - ARM Linux
On Tue, Jun 24, 2014 at 09:23:05PM +0900, Alexandre Courbot wrote: > On Tue, Jun 24, 2014 at 7:55 PM, Alexandre Courbot > wrote: > > The only alternative I see here is to flush the CPU caches when syncing for > > the device, and invalidate them for the other direction. Of course if the > > device

[Bug 80419] XCOM: Enemy Unknown Causes lockup

2014-06-24 Thread bugzilla-dae...@freedesktop.org
L: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140624/69b0e967/attachment.html>

[Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Lucas Stach
Am Dienstag, den 24.06.2014, 22:52 +0900 schrieb Alexandre Courbot: > On Tue, Jun 24, 2014 at 10:25 PM, Lucas Stach > wrote: > > Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: > >> op 24-06-14 14:23, Alexandre Courbot schreef: > >> > On Tue, Jun 24, 2014 at 7:55 PM, Alexandre

[Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Lucas Stach
Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: > op 24-06-14 14:23, Alexandre Courbot schreef: > > On Tue, Jun 24, 2014 at 7:55 PM, Alexandre Courbot > > wrote: > >> On 06/24/2014 07:33 PM, Alexandre Courbot wrote: > >>> On 06/24/2014 07:02 PM, Russell King - ARM Linux wrote:

[PATCH] drm/exynos: Support DP CLKCON register in FIMD driver

2014-06-24 Thread Andrzej Hajda
On 06/24/2014 03:14 PM, Ajay kumar wrote: > On Tue, Jun 24, 2014 at 9:01 AM, Andrzej Hajda wrote: >> Hi Ajay, >> >> On 06/24/2014 01:09 PM, Ajay Kumar wrote: >>> Add the missing setting for DP CLKCON register. >>> >>> This register is present on Exynos5 based FIMD controllers, >>> and needs to be

[Bug 79850] [awesomenauts][radeonsi] pageflip is clearly missing vblank with vsync on

2014-06-24 Thread bugzilla-dae...@freedesktop.org
because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140624/b459f033/attachment-0001.html>

[Bug 78661] GPU sometimes locks up after boot and/or resume

2014-06-24 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=78661 --- Comment #3 from Nikolaus Waxweiler --- Created attachment 140851 --> https://bugzilla.kernel.org/attachment.cgi?id=140851&action=edit Full dmesg output for the day where the hangs occured up to the bug report -- You are receiving this mail

[Bug 78661] GPU sometimes locks up after boot and/or resume

2014-06-24 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=78661 --- Comment #4 from Nikolaus Waxweiler --- Will try radeon.dpm=0 and report back. -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 79850] [awesomenauts][radeonsi] pageflip is clearly missing vblank with vsync on

2014-06-24 Thread bugzilla-dae...@freedesktop.org
was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140624/65bc0b44/attachment.html>

[GIT PULL] exynos-drm-fixes

2014-06-24 Thread inki....@samsung.com
Hi Dave, This pull-request fixes hdmi power-off order issue, mixer issues related to power on/off, and includes trivial fixups. Please kindly let me know if there is any problem. Thanks, Inki Dae The following changes since commit a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee: Linux 3.16-rc

[PATCH 3/5 v2] drm/exynos: allow mulitple layer updates per vsync for mixer

2014-06-24 Thread Inki Dae
2014-06-24 20:38 GMT+09:00 Andreas F?rber : > Am 24.06.2014 07:21, schrieb Inki Dae: >> On 2014? 06? 23? 14:32, Rahul Sharma wrote: >>> Allowing only one layer update per vsync can cause issues >>> while there are update available for both layers. There is >>> a good amount of possibility to loose

[PATCH v14 06/10] drm: drm_display_mode: add signal polarity flags

2014-06-24 Thread Russell King - ARM Linux
On Mon, Jun 16, 2014 at 12:11:20PM +0200, Denis Carikli wrote: > We need a way to pass signal polarity informations > between DRM panels, and the display drivers. > > To do that, a pol_flags field was added to drm_display_mode. > > Signed-off-by: Denis Carikli This patch needs an ack from the

[PATCH v14 05/10] ARM: dts: imx5*, imx6*: correct display-timings nodes.

2014-06-24 Thread Russell King - ARM Linux
On Mon, Jun 16, 2014 at 12:11:19PM +0200, Denis Carikli wrote: > The imx-drm driver can't use the de-active and > pixelclk-active display-timings properties yet. > > Instead the data-enable and the pixel data clock > polarity are hardcoded in the imx-drm driver. > > So theses properties are now s

[PATCH v14 08/10] drm/panel: Add Eukrea mbimxsd51 displays.

2014-06-24 Thread Russell King - ARM Linux
Denis, This patch creates binding documentation. Any patch which does so should be copied to the DT people so they can review the bindings and give appropriate acks. It would be better if you separate the binding documentation updates from the other functional changes too. I've added them on th

[PATCH v14 04/10] imx-drm: use defines for clock polarity settings

2014-06-24 Thread Russell King - ARM Linux
On Mon, Jun 16, 2014 at 12:11:18PM +0200, Denis Carikli wrote: > Signed-off-by: Denis Carikli It would be nice to have a little more explanation in the commit messages for these patches. If you'd like to send me better commit messages for these patches, I'll add them to what I already have:

unparseable, undocumented /sys/class/drm/.../pstate

2014-06-24 Thread Greg KH
On Tue, Jun 24, 2014 at 10:06:06AM +1000, Ben Skeggs wrote: > > But, as I said on IRC yesterday, let's just move this to debugfs to > save this waste of time argument, and move on. I like that idea, great plan :) greg k-h

[Bug 78221] 3.16 RC1: AMD R9 270 GPU locks up on some heavy 2D activity - GPU VM fault occurs. (possibly DMA copying issue strikes back?)

2014-06-24 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=78221 Alex Deucher changed: What|Removed |Added Attachment #140711|0 |1 is obsolete|

[Bug 78221] 3.16 RC1: AMD R9 270 GPU locks up on some heavy 2D activity - GPU VM fault occurs. (possibly DMA copying issue strikes back?)

2014-06-24 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=78221 Alex Deucher changed: What|Removed |Added Attachment #140721|0 |1 is obsolete|

[Bug 79850] [awesomenauts][radeonsi] pageflip is clearly missing vblank with vsync on

2014-06-24 Thread bugzilla-dae...@freedesktop.org
://lists.freedesktop.org/archives/dri-devel/attachments/20140624/167f6243/attachment.html>

[PATCH v14 04/10] imx-drm: use defines for clock polarity settings

2014-06-24 Thread Russell King - ARM Linux
On Tue, Jun 24, 2014 at 06:25:19PM +0200, Denis Carikli wrote: > On 06/24/2014 05:13 PM, Russell King - ARM Linux wrote: > [...] >> If you'd like to send me better commit messages for >> these patches, I'll add them to what I already have: > >> imx-drm: use defines for clock polarity settings

[PATCH/RESEND 1/9] drm/i2c: tda998x: move drm_i2c_encoder_destroy call

2014-06-24 Thread Russell King - ARM Linux
On Tue, Jun 17, 2014 at 11:17:03AM -0300, Guido Mart?nez wrote: > Currently tda998x_encoder_destroy() calls cec_write() and reg_clear(), > as part of the release procedure. Such calls need to access the I2C bus > and therefore, we need to call them before drm_i2c_encoder_destroy() > which unregiste

[Bug 80419] XCOM: Enemy Unknown Causes lockup

2014-06-24 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140624/4f1b4101/attachment.html>

[Bug 80419] XCOM: Enemy Unknown Causes lockup

2014-06-24 Thread bugzilla-dae...@freedesktop.org
e: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140624/bc05ccec/attachment.html>

[Bug 80419] XCOM: Enemy Unknown Causes lockup

2014-06-24 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140624/6aacf143/attachment.html>

[Bug 80141] Fails to page flip multiple time, queue overflows waiting for one to finish that never does crashing entire system.

2014-06-24 Thread bugzilla-dae...@freedesktop.org
I'll fall back down to 3.13 for now and try to get it to occur. -- 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/20140624/badc9fd4/attachment.html>

[PATCH RFC v2 0/8] component helper improvements

2014-06-24 Thread Russell King - ARM Linux
A while back, Laurent raised some comments about the component helper, which this patch set starts to address. The first point it addresses is the repeated parsing inefficiency when deferred probing occurs. When DT is used, the structure of the component helper today means that masters end up par

[Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Alexandre Courbot
On Tue, Jun 24, 2014 at 10:58 PM, Lucas Stach wrote: > Am Dienstag, den 24.06.2014, 22:52 +0900 schrieb Alexandre Courbot: >> On Tue, Jun 24, 2014 at 10:25 PM, Lucas Stach >> wrote: >> > Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: >> >> op 24-06-14 14:23, Alexandre Courbo

[PATCH V4 04/10] drm/panel: Add driver for lvds/edp based panels

2014-06-24 Thread Ajay kumar
Hi Javier, Thanks for the review. On Mon, Jun 23, 2014 at 11:30 AM, Javier Martinez Canillas wrote: > Hello Ajay, > > Not an extensive review since I'm not familiar with the graphics stack > but a few things I noticed are commented below. > > On Wed, Jun 11, 2014 at 8:27 PM, Ajay Kumar > wrote

[PATCH V4 04/10] drm/panel: Add driver for lvds/edp based panels

2014-06-24 Thread Ajay kumar
Hi Gmeiner, On Mon, Jun 23, 2014 at 12:55 PM, Christian Gmeiner wrote: > Hi > > > 2014-06-11 20:27 GMT+02:00 Ajay Kumar : >> This patch adds a simple driver to handle all the LCD and LED >> powerup/down routines needed to support eDP/LVDS panels. >> >> The LCD and LED units are usually powered up

[PATCH 1/3] drm/radeon: stop poisoning the GART TLB

2014-06-24 Thread Christian König
tion to tell grup to use the latest installed kernel instead of the one with the highest version number? Can't seem to find that any more. Please try attached patches instead, Christian. -- next part -- A non-text attachment was scrubbed... Name: 0001-drm-radeon-Revert-dro

[PATCH 3/5 v2] drm/exynos: allow mulitple layer updates per vsync for mixer

2014-06-24 Thread Andreas Färber
Am 24.06.2014 07:21, schrieb Inki Dae: > On 2014? 06? 23? 14:32, Rahul Sharma wrote: >> Allowing only one layer update per vsync can cause issues >> while there are update available for both layers. There is >> a good amount of possibility to loose updates if we allow >> single update per vsync. >>

[PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Alexandre Courbot
On Tue, Jun 24, 2014 at 7:55 PM, Alexandre Courbot wrote: > On 06/24/2014 07:33 PM, Alexandre Courbot wrote: >> >> On 06/24/2014 07:02 PM, Russell King - ARM Linux wrote: >>> >>> On Tue, Jun 24, 2014 at 06:54:26PM +0900, Alexandre Courbot wrote: From: Lucas Stach On architect

[PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Alexandre Courbot
On Tue, Jun 24, 2014 at 10:09 PM, Russell King - ARM Linux wrote: > On Tue, Jun 24, 2014 at 09:23:05PM +0900, Alexandre Courbot wrote: >> On Tue, Jun 24, 2014 at 7:55 PM, Alexandre Courbot >> wrote: >> > The only alternative I see here is to flush the CPU caches when syncing for >> > the device,

[Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Alexandre Courbot
On Tue, Jun 24, 2014 at 10:25 PM, Lucas Stach wrote: > Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: >> op 24-06-14 14:23, Alexandre Courbot schreef: >> > On Tue, Jun 24, 2014 at 7:55 PM, Alexandre Courbot > > nvidia.com> wrote: >> >> On 06/24/2014 07:33 PM, Alexandre Courbot

[PATCH RFC v2 1/8] component: fix missed cleanup in case of devres failure

2014-06-24 Thread Russell King
In try_to_bring_up_master(), we tear down the master's component list for each error case, except for devres group failure. Fix this oversight by making the code less prone to such mistakes. Signed-off-by: Russell King --- drivers/base/component.c | 62 --

[PATCH RFC v2 2/8] component: ignore multiple additions of the same component

2014-06-24 Thread Russell King
Permit masters to call component_master_add_child() and match the same child multiple times. This may happen if there's multiple connections to a single component device from other devices. In such scenarios, we should not return a failure, but instead ignore the attempt. Signed-off-by: Russell

[PATCH RFC v2 3/8] component: add support for component match array

2014-06-24 Thread Russell King
Add support for generating a set of component matches at master probe time, and submitting them to the component layer. This allows the component layer to perform the matches internally without needing to call into the master driver, and allows for further restructuring of the component helper. S

[PATCH RFC v2 4/8] drm: msm: update to use component match support

2014-06-24 Thread Russell King
Update MSM's DRM driver to use the component match support rather than add_components. Signed-off-by: Russell King --- drivers/gpu/drm/msm/msm_drv.c | 83 ++- 1 file changed, 35 insertions(+), 48 deletions(-) diff --git a/drivers/gpu/drm/msm/msm_drv.c b/d

[PATCH RFC v2 5/8] imx-drm: update to use component match support

2014-06-24 Thread Russell King
Update the imx-drm driver to use the component match support rather than add_components. Signed-off-by: Russell King --- drivers/staging/imx-drm/imx-drm-core.c | 57 +++--- 1 file changed, 4 insertions(+), 53 deletions(-) diff --git a/drivers/staging/imx-drm/imx-drm-

[PATCH RFC v2 6/8] component: remove old add_components method

2014-06-24 Thread Russell King
Now that drivers create an array of component matches at probe time, we can retire the old methods. This involves removing the add_components master method, and removing component_master_add_child() from public view. We also remove component_add_master() as that interface is no longer useful. Si

[PATCH RFC v2 7/8] component: move check for unbound master into try_to_bring_up_masters()

2014-06-24 Thread Russell King
Clean up the code a little; we don't need to check that the master is unbound for every invocation of try_to_bring_up_master(), so let's move it to where it's really needed - try_to_bring_up_masters(), where we may encounter already bound masters. Signed-off-by: Russell King --- drivers/base/com

[PATCH RFC v2 8/8] component: track components via array rather than list

2014-06-24 Thread Russell King
Since we now have an array which defines each component, maintain the components to be bound in the array rather than a separate list. We also need duplicate tracking so we can eliminate multiple bind calls for the same component: we preserve the list-based component order in that the first match

[PATCH] drm/exynos: Support DP CLKCON register in FIMD driver

2014-06-24 Thread Ajay Kumar
Add the missing setting for DP CLKCON register. This register is present on Exynos5 based FIMD controllers, and needs to be used if we are using DP. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/exynos/exynos_drm_fimd.c |5 + include/video/samsung_fimd.h |4 2 files

[PATCH] drm/exynos: Support DP CLKCON register in FIMD driver

2014-06-24 Thread Ajay kumar
On Tue, Jun 24, 2014 at 9:01 AM, Andrzej Hajda wrote: > Hi Ajay, > > On 06/24/2014 01:09 PM, Ajay Kumar wrote: >> Add the missing setting for DP CLKCON register. >> >> This register is present on Exynos5 based FIMD controllers, >> and needs to be used if we are using DP. >> >> Signed-off-by: Ajay

[PATCH v14 04/10] imx-drm: use defines for clock polarity settings

2014-06-24 Thread Denis Carikli
On 06/24/2014 05:13 PM, Russell King - ARM Linux wrote: [...] > If you'd like to send me better commit messages for > these patches, I'll add them to what I already have: > imx-drm: use defines for clock polarity settings The comment of the clk_pol field of the ipu_di_signal_cfg struct was

[PATCH V4 09/10] drm/bridge: Add ps8622/ps8625 bridge driver

2014-06-24 Thread Ajay kumar
Hi Javier, Thanks for the review. On Mon, Jun 23, 2014 at 12:05 PM, Javier Martinez Canillas wrote: > Hello Ajay, > > On Wed, Jun 11, 2014 at 8:27 PM, Ajay Kumar > wrote: >> From: Vincent Palatin >> >> This patch adds drm_bridge driver for parade DisplayPort >> to LVDS bridge chip. >> >> Sign

[PATCH 1/2] Revert "drm/radeon: remove drm_vblank_get|put from pflip handling"

2014-06-24 Thread Dieter Nützel
Am 24.06.2014 12:05, schrieb Michel D?nzer: > On 24.06.2014 05:32, Dieter N?tzel wrote: >> Am 23.06.2014 21:46, schrieb Dieter N?tzel: >>> Am 23.06.2014 11:34, schrieb Michel D?nzer: On 18.06.2014 18:14, Christian K?nig wrote: > Am 18.06.2014 07:53, schrieb Michel D?nzer: >> >>

[PATCH 1/2] x86, ia64: Move EFI_FB vga_default_device() initialization to pci_vga_fixup()

2014-06-24 Thread Bruno Prémont
On Mon, 02 June 2014 Bruno Pr?mont wrote: > With commit b4aa0163056b ("efifb: Implement vga_default_device() (v2)") > Matthew Garrett introduced a efifb vga_default_device() so that EFI > systems that do not load shadow VBIOS or setup VGA get proper value for > boot_vga PCI sysfs attribute on the

[PATCH v14 08/10] drm/panel: Add Eukrea mbimxsd51 displays.

2014-06-24 Thread Thierry Reding
ation/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140624/6168382a/attachment.sig>

[PATCH 1/2] Revert "drm/radeon: remove drm_vblank_get|put from pflip handling"

2014-06-24 Thread Dieter Nützel
Am 24.06.2014 12:05, schrieb Michel D?nzer: > On 24.06.2014 05:32, Dieter N?tzel wrote: >> Am 23.06.2014 21:46, schrieb Dieter N?tzel: >>> Am 23.06.2014 11:34, schrieb Michel D?nzer: On 18.06.2014 18:14, Christian K?nig wrote: > Am 18.06.2014 07:53, schrieb Michel D?nzer: >> >>

[PATCH v14 08/10] drm/panel: Add Eukrea mbimxsd51 displays.

2014-06-24 Thread Thierry Reding
#x27;t you using: > > Documentation/devicetree/bindings/video/display-timing.txt Because it's redundant information. We need to have a compatible for the panel in the device tree anyway and that already implicitly defines the display mode. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140624/15203d17/attachment-0001.sig>

[PATCH 1/2] drm/i915: Add #defines for short/long pulse on gmch platforms

2014-06-24 Thread Todd Previte
y insight to secret Intel review process. :-) > > Dave. > > ___ > Intel-gfx mailing list > Intel-gfx at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Sent with Postbox <http://www.getpostbox.co

[Intel-gfx] [PATCH 2/2] drm/i915: rework digital port IRQ handling (v2)

2014-06-24 Thread Todd Previte
p_hot_plug; > > + intel_dig_port->hpd_pulse = intel_dp_hpd_pulse; > + dev_priv->hpd_irq_port[port] = intel_dig_port; > + > if (!intel_dp_init_connector(intel_dig_port, intel_connector)) { > drm_encoder_cleanup(encoder); > kfree(intel_dig_port); > diff --git a/drivers/gpu/drm/i9

[PATCH/RESEND 9/9] drm/tilcdc: replace late_initcall with module_init

2014-06-24 Thread Darren Etheridge
On 06/17/2014 09:17 AM, Guido Mart?nez wrote: > Use module_init instead of late_initcall, as is the norm for modular > drivers. > > module_init was used until 6e8de0bd6a51fdeebd5d975c4fcc426f730b339b > ("drm/tilcdc: add encoder slave (v2)") changed it to a late_initcall, > but it does not explain w

[PATCH/RESEND 8/9] drm/tilcdc: remove submodule destroy calls

2014-06-24 Thread Darren Etheridge
Guido, On 06/17/2014 09:17 AM, Guido Mart?nez wrote: > The TI tilcdc driver is designed with a notion of submodules. Currently, > at unload time, these submodules are iterated and destroyed. > > Now that the tilcdc remove order is fixed, this can be handled perfectly I am not sure I understand th

[PATCH v14 08/10] drm/panel: Add Eukrea mbimxsd51 displays.

2014-06-24 Thread Rob Herring
On Tue, Jun 24, 2014 at 10:06 AM, Russell King - ARM Linux wrote: > Denis, > > This patch creates binding documentation. Any patch which does so > should be copied to the DT people so they can review the bindings > and give appropriate acks. It would be better if you separate the > binding docum

[PATCH 0/3] gpu: drm: Fix memory leak in vmwgfx_shader.c

2014-06-24 Thread Masaru Nomura
This patch fixes memory leak detected by Kernel memory leak detector, and cleans up functions which call drm_ht_remove_item() and vmw_compat_shader_free() so that an unused parameter is not passed. Part of logs from /sys/kernel/debug/kmemleak is as follows: unreferenced object 0xc900086ed00

[PATCH 1/3] gpu: drm: vmwgfx: Fix memory leak by adding drm_ht_remove()

2014-06-24 Thread Masaru Nomura
drm_ht_remove() should be called in vmw_compat_shader_man_destroy() This is because memory was allocated for (&man->shaders)->table by vmw_compat_shader_man_create() -> drm_ht_create() but this memory is not freed when vmw_compat_shader_mager is destroied. Signed-off-by: Masaru Nomura --- driver

[PATCH 2/3] gpu: drm: Remove unnecessary parameter from drm_ht_remove_item()

2014-06-24 Thread Masaru Nomura
removed drm_open_hash from drm_ht_remove_item() as the parameter is not used within the function. Signed-off-by: Masaru Nomura --- Please review this patch carefully. The reason the parameter is passed might be some historical one or clarity of which drm_open_hash we remove an item from. driver

[PATCH v14 08/10] drm/panel: Add Eukrea mbimxsd51 displays.

2014-06-24 Thread Eric Bénard
Hi Thierry, Le Tue, 24 Jun 2014 23:49:37 +0200, Thierry Reding a ?crit : > On Mon, Jun 16, 2014 at 12:11:22PM +0200, Denis Carikli wrote: > [...] > > diff --git > > a/Documentation/devicetree/bindings/panel/eukrea,mbimxsd51-dvi-svga.txt > > b/Documentation/devicetree/bindings/panel/eukrea,mbim

[PATCH 1/2 v2] x86, ia64: Move EFI_FB vga_default_device() initialization to pci_vga_fixup()

2014-06-24 Thread Matthew Garrett
On Wed, 2014-06-25 at 00:55 +0200, Bruno Pr?mont wrote: > With introduction of sysfb/simplefb/simpledrm efifb is getting obsolete > while having native drivers for the GPU also makes selecting > sysfb/efifb optional. > Both look good to me. Acked-by: Matthew Garrett -- Matthew Garrett

[PATCH 3/3] gpu: drm: vmwgfx: Remove unnecessary parameter from vmw_compat_shader_free()

2014-06-24 Thread Masaru Nomura
vm_compat_shader_manager is only used for drm_ht_remove_item() within the function. As drm_ht_remove_item() does not need a paremeter drm_open_hash(&man-> shaders), vm_compat_shader_manager(*man) does not have to be passed to this function. Signed-off-by: Masaru Nomura --- drivers/gpu/drm/vmwgf

[Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Stéphane Marchesin
On Tue, Jun 24, 2014 at 6:25 AM, Lucas Stach wrote: > Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: >> op 24-06-14 14:23, Alexandre Courbot schreef: >> > On Tue, Jun 24, 2014 at 7:55 PM, Alexandre Courbot > > nvidia.com> wrote: >> >> On 06/24/2014 07:33 PM, Alexandre Courbot