[PATCH v6 02/12] mm: migrate: support non-lru movable page migration

2016-05-30 Thread Minchan Kim
On Fri, May 27, 2016 at 04:26:21PM +0200, Vlastimil Babka wrote: > On 05/20/2016 04:23 PM, Minchan Kim wrote: > >We have allowed migration for only LRU pages until now and it was > >enough to make high-order pages. But recently, embedded system(e.g., > >webOS, android) uses lots of non-movable page

PATCH v6v2 02/12] mm: migrate: support non-lru movable page migration

2016-05-30 Thread Minchan Kim
Per Vlastimil's review comment, Vlastimil, I updated based on your comment. Please review this. If everything is done, I will send v7 rebased on recent mmotm. Thanks for the review! >From ad4157e98651a2d18fd0a4ae90d1d9f609aab314 Mon Sep 17 00:00:00 2001 From: Minchan Kim Date: Fri, 8 Apr 2016 1

[path v2 7/7] drm/hisilicon/hibmc: Add maintainer for Hibmc DRM

2016-05-30 Thread Xinliang Liu
On 29 May 2016 at 17:40, Rongrong Zou wrote: > Signed-off-by: Rongrong Zou > Signed-off-by: Jianhua Li > --- > MAINTAINERS | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index f466673..a8a62e0 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -3957

[path v2 0/7] Add DRM driver for Hisilicon Hibmc

2016-05-30 Thread Xinliang Liu
Hi Rongrong, It seems that you haven't run the checkpatch script. Please run this script to check your patches before you send them. Like bellow: $ cd yourkerneldir $ ./scripts/checkpatch.pl --strict yourpatches Thanks, -xinliang On 29 May 2016 at 17:40, Rongrong Zou wrote: > This patch set add

[PATCH 3/7] ARM: exynos_defconfig: enable Exynos DRM Mixer driver

2016-05-30 Thread Krzysztof Kozlowski
On 10/26/2015 01:03 PM, Andrzej Hajda wrote: > Mixer driver is selected by CONFIG_DRM_EXYNOS_HDMI option. Since Exynos5433 > HDMI does not require Mixer. There will be separate options to select Mixer > and HDMI. Adding new option to defconfig before Kconfig will allow to keep > bisectability. > >

[PATCH] Fix annoyingly awkward typo in drm_edid_load.c

2016-05-30 Thread Valdis Kletnieks
Fix egregious typo in comment. Signed-off-by: Valdis Kletnieks --- a/drivers/gpu/drm/drm_edid_load.c 2016-04-20 17:54:27.208059935 -0400 +++ b/drivers/gpu/drm/drm_edid_load.c 2016-05-30 02:15:43.747105384 -0400 @@ -271,7 +271,7 @@ * by commas, search through the list looking for one

[PATCH] Fix annoyingly awkward typo in drm_edid_load.c

2016-05-30 Thread Daniel Vetter
On Mon, May 30, 2016 at 02:26:38AM -0400, Valdis Kletnieks wrote: > Fix egregious typo in comment. > > Signed-off-by: Valdis Kletnieks Applied to drm-misc, thanks. -Daniel > > --- a/drivers/gpu/drm/drm_edid_load.c 2016-04-20 17:54:27.208059935 -0400 > +++ b/drivers/gpu/drm/drm_edid_load.c 2016

[PATCH] drm/atomic-helper: nonblocking commit support

2016-05-30 Thread Daniel Vetter
Design ideas: - split up the actual commit into different phases, and have completions for each of them. This will be useful for the future when we want to interleave phases much more aggressively, for e.g. queue depth > 1. For not it's just a minimal optimization compared to current commo

[path v2 0/7] Add DRM driver for Hisilicon Hibmc

2016-05-30 Thread Rongrong Zou
Hi Xinliang 在 2016/5/30 11:01, Xinliang Liu 写道: > Hi Rongrong, > > It seems that you haven't run the checkpatch script. > Please run this script to check your patches before you send them. Like > bellow: > $ cd yourkerneldir > $ ./scripts/checkpatch.pl --strict yourpatches I run checkpatch

[path v2 7/7] drm/hisilicon/hibmc: Add maintainer for Hibmc DRM

2016-05-30 Thread Rongrong Zou
Hi Xinliang, 在 2016/5/30 10:31, Xinliang Liu 写道: > On 29 May 2016 at 17:40, Rongrong Zou wrote: >> Signed-off-by: Rongrong Zou >> Signed-off-by: Jianhua Li >> --- >> MAINTAINERS | 7 +++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/MAINTAINERS b/MAINTAINERS >> index f46667

[PATCH v4 3/3] drm: Add helper for simple display pipeline

2016-05-30 Thread Daniel Vetter
On Sun, May 29, 2016 at 05:38:39PM +0200, Noralf Trønnes wrote: > > Den 12.05.2016 20:25, skrev Noralf Trønnes: > >Provides helper functions for drivers that have a simple display > >pipeline. Plane, crtc and encoder are collapsed into one entity. > > > >Cc: jsarha at ti.com > >Signed-off-by: No

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

2016-05-30 Thread Maarten Lankhorst
Op 29-05-16 om 20:35 schreef Daniel Vetter: > Committing with block it is not. > > Thanks to the fixed up vblank event handling we can just use the > helper support for nonblocking commits now. > > Cc: Carlos Palminha > Cc: Alexey Brodkin > Cc: linux-snps-arc at lists.infradead.org > Signed-off-b

[Bug 96239] [radeonsi tessellation] [R9 290/390] Random "texture flickering" (Shadow of Mordor, Tomb Raider, Unigine Heaven 4.0)

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

[Bug 96239] [radeonsi tessellation] [R9 290/390] Random "texture flickering" (Shadow of Mordor, Tomb Raider, Unigine Heaven 4.0)

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

[PATCH v3] gpu: drm: amd: amdkfd: Remove create_workqueue()

2016-05-30 Thread Oded Gabbay
On Sun, May 29, 2016 at 6:44 PM, Bhaktipriya Shridhar wrote: > alloc_workqueue replaces deprecated create_workqueue(). > > create_workqueue has been replaced with alloc_workqueue with max_active > as 0 since there is no need for throttling the number of active work items. > > WQ_MEM_RECLAIM has no

[PATCH v2 01/21] drm: Export drm_dev_init() for subclassing

2016-05-30 Thread Chris Wilson
In order to allow drivers to pack their privates and drm_device into one struct (e.g. for subclassing), export the initialisation routines for struct drm_device. v2: Missed return ret. That error path had only one job to do! Signed-off-by: Chris Wilson Cc: Daniel Vetter Cc: dri-devel at lists.f

[PATCH v2 02/21] drm: Add a callback from connector registering

2016-05-30 Thread Chris Wilson
If a driver wants to more precisely control its initialisation and in particular, defer registering its interfaces with userspace until after everything is setup, it also needs to defer registering the connectors. As some devices need more work during registration, add a callback so that drivers ca

[PATCH v2 03/21] drm: Make drm_connector_register() safe against multiple calls

2016-05-30 Thread Chris Wilson
Protect against drivers that may try to register the connector more than once, or who try to unregister it multiple times. Signed-off-by: Chris Wilson Cc: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/drm_crtc.c | 9 + include/drm/drm_crtc.h | 1 + 2 files changed, 10 insert

[PATCH v2 04/21] drm: Automatically unregister the connector during cleanup

2016-05-30 Thread Chris Wilson
As we now can call drm_connector_unregister() multiple times, provide a failsafe unregister for a connector when cleaning it up. Signed-off-by: Chris Wilson Cc: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/drm_crtc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm

[PATCH v2 05/21] drm: Minimally initialise drm_dp_aux

2016-05-30 Thread Chris Wilson
When trying to split up the initialisation phase and the registration phase, one immediate problem encountered is trying to use our own i2c devices before registration with userspace. drm_dp_aux in particular only offers an interface for setting up the device after we have exposed the connector via

[RFC] drm: Introduce max width and height properties for planes

2016-05-30 Thread Archit Taneja
On 05/25/2016 10:06 PM, Rob Clark wrote: > On Wed, May 25, 2016 at 9:12 AM, Daniel Vetter wrote: >> On Wed, May 25, 2016 at 04:28:36PM +0530, Archit Taneja wrote: >>> On 05/25/2016 12:40 PM, Daniel Vetter wrote: - Is the size/width really independent of e.g. rotation/pixel format/...

[PATCH v3 7/7] [wip] virtio-gpu: add page flip support

2016-05-30 Thread Daniel Vetter
On Fri, May 27, 2016 at 09:50:27AM +0200, Daniel Vetter wrote: > On Fri, May 27, 2016 at 09:46:03AM +0200, Gerd Hoffmann wrote: > > On Mi, 2016-05-25 at 18:37 +0200, Daniel Vetter wrote: > > > On Fri, Oct 2, 2015 at 1:58 PM, Gerd Hoffmann > > > wrote: > > > > Signed-off-by: Gerd Hoffmann > > >

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

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

[PATCH 02/11] drm: Add a callback from connector registering

2016-05-30 Thread Daniel Vetter
On Fri, May 27, 2016 at 03:00:35PM +0100, Chris Wilson wrote: > If a driver wants to more precisely control its initialisation and in > particular, defer registering its interfaces with userspace until after > everything is setup, it also needs to defer registering the connectors. > As some devices

[PATCH 02/11] drm: Add a callback from connector registering

2016-05-30 Thread Chris Wilson
On Mon, May 30, 2016 at 10:49:43AM +0200, Daniel Vetter wrote: > On Fri, May 27, 2016 at 03:00:35PM +0100, Chris Wilson wrote: > > If a driver wants to more precisely control its initialisation and in > > particular, defer registering its interfaces with userspace until after > > everything is setu

[PATCH v6 02/12] mm: migrate: support non-lru movable page migration

2016-05-30 Thread Vlastimil Babka
On 05/30/2016 03:33 AM, Minchan Kim wrote: >> >> >>> + page->mapping = (void *)((unsigned long)page->mapping & >>> + PAGE_MAPPING_MOVABLE); >> >> This should be negated to clear... use ~PAGE_MAPPING_MOVABLE ? > > No. > > The intention is to clear only mapping value but P

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

2016-05-30 Thread Daniel Vetter
On Sun, May 29, 2016 at 05:40:49PM +0800, Rongrong Zou wrote: > Add DRM master driver for Hisilicon Hibmc SoC which used for > Out-of-band management. Blow is the general hardware connection, > both the Hibmc and the host CPU are on the same mother board. > > +--+ +--+ > |

[Bug 112491] Radeon: HD 7400G / A4-4355M System overheats with active graphics card use.

2016-05-30 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=112491 --- Comment #19 from Dionisus Torimens --- Ok, true, the issue is still there. No, not multi-GPU. -- You are receiving this mail because: You are watching the assignee of the bug.

[PATCH] drm/doc: Unify KMS Locking docs

2016-05-30 Thread Daniel Vetter
Signed-off-by: Daniel Vetter --- Documentation/DocBook/gpu.tmpl | 16 drivers/gpu/drm/drm_modeset_lock.c | 11 +-- 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/Documentation/DocBook/gpu.tmpl b/Documentation/DocBook/gpu.tmpl index d755d53615d7..cb130

Deadlock in 4.6 caused by 4eebd5a4e726 ("apple-gmux: lock iGP IO to protect from vgaarb changes")

2016-05-30 Thread Bruno Prémont
Hi Lucas, On Fri, 27 May 2016 14:23:02 +0200 Lukas Wunner wrote: > Hi Bruno, > > Wilfried Klaebe has reported a deadlock in 4.6 which he bisected to > my commit 704ab614ec12 ("drm/i915: Defer probe if gmux is present but > its driver isn't"), but which is ultimately caused by your commit > 4eebd5

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

2016-05-30 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. This looks good to me as the resulting code is mostly similar. However, the for_each_*_in_state macros end with an for_each_if() that tests if the object's state is NULL, which isn't present in this code. I'm wondering whether that was an oversight on my sid

[PATCH] drm/doc: Unify KMS Locking docs

2016-05-30 Thread Daniel Vetter
On Mon, May 30, 2016 at 11:10:49AM +0200, Daniel Vetter wrote: > Signed-off-by: Daniel Vetter Merged with Jani's irc-ack - we want to get all things docbook merged before the big sphinx conversion happens. -Daniel > --- > Documentation/DocBook/gpu.tmpl | 16 > drivers/gpu/d

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

2016-05-30 Thread Daniel Vetter
On Mon, May 30, 2016 at 10:15:14AM +0200, Maarten Lankhorst wrote: > Op 29-05-16 om 20:35 schreef Daniel Vetter: > > Committing with block it is not. > > > > Thanks to the fixed up vblank event handling we can just use the > > helper support for nonblocking commits now. > > > > Cc: Carlos Palminha

[Bug 95528] BioShock Infinite issues on Tonga

2016-05-30 Thread bugzilla-dae...@freedesktop.org
oShock Infinite issues on ||Tonga -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments

[RFC] drm: Introduce max width and height properties for planes

2016-05-30 Thread Daniel Vetter
On Mon, May 30, 2016 at 02:09:17PM +0530, Archit Taneja wrote: > > > On 05/25/2016 10:06 PM, Rob Clark wrote: > >On Wed, May 25, 2016 at 9:12 AM, Daniel Vetter wrote: > >>On Wed, May 25, 2016 at 04:28:36PM +0530, Archit Taneja wrote: > >>>On 05/25/2016 12:40 PM, Daniel Vetter wrote: > - Is t

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

2016-05-30 Thread Maarten Lankhorst
Op 30-05-16 om 11:24 schreef Daniel Vetter: > On Mon, May 30, 2016 at 10:15:14AM +0200, Maarten Lankhorst wrote: >> Op 29-05-16 om 20:35 schreef Daniel Vetter: >>> Committing with block it is not. >>> >>> Thanks to the fixed up vblank event handling we can just use the >>> helper support for nonblo

PATCH v6v2 02/12] mm: migrate: support non-lru movable page migration

2016-05-30 Thread Vlastimil Babka
On 05/30/2016 03:39 AM, Minchan Kim wrote: > After isolation, VM calls migratepage of driver with isolated page. > The function of migratepage is to move content of the old page to new page > and set up fields of struct page newpage. Keep in mind that you should > clear PG_movable of oldpage via __

DRM DMA Engine

2016-05-30 Thread Daniel Vetter
On Mon, May 30, 2016 at 10:00:56AM +0100, Jose Abreu wrote: > ++ Daniel > > > On 30-05-2016 09:44, Jose Abreu wrote: > > Hi Daniel, > > > > Thanks for your answer. > > > > On 26-05-2016 09:06, Daniel Vetter wrote: > >> On Wed, May 25, 2016 at 04:46:15PM +0100, Jose Abreu wrote: > >>> Hi all, > >>

[Bug 95528] BioShock Infinite issues on Tonga/Hawaii

2016-05-30 Thread bugzilla-dae...@freedesktop.org
irrors) The rendering glitches seem to be purely a LLVM_3.9-related issue. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20

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

2016-05-30 Thread Maarten Lankhorst
Op 30-05-16 om 11:18 schreef Laurent Pinchart: > Hi Daniel, > > Thank you for the patch. > > This looks good to me as the resulting code is mostly similar. However, the > for_each_*_in_state macros end with an for_each_if() that tests if the > object's state is NULL, which isn't present in this c

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

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

DRM DMA Engine

2016-05-30 Thread Jose Abreu
Hi Daniel, Thanks for your answer. On 26-05-2016 09:06, Daniel Vetter wrote: > On Wed, May 25, 2016 at 04:46:15PM +0100, Jose Abreu wrote: >> Hi all, >> >> Currently I am trying to develop a DRM driver that will use >> Xilinx VDMA to transfer video data to a HDMI TX Phy and I am >> facing a diffi

DRM DMA Engine

2016-05-30 Thread Jose Abreu
++ Daniel On 30-05-2016 09:44, Jose Abreu wrote: > Hi Daniel, > > Thanks for your answer. > > On 26-05-2016 09:06, Daniel Vetter wrote: >> On Wed, May 25, 2016 at 04:46:15PM +0100, Jose Abreu wrote: >>> Hi all, >>> >>> Currently I am trying to develop a DRM driver that will use >>> Xilinx VDMA to

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

2016-05-30 Thread Mika Westerberg
+Rafael On Fri, May 27, 2016 at 01:10:37PM +0200, Peter Wu wrote: > On Wed, May 25, 2016 at 04:55:35PM +0300, Mika Westerberg wrote: > > On Wed, May 25, 2016 at 12:53:01AM +0200, Peter Wu wrote: > > > Since "PCI: Add runtime PM support for PCIe ports", the parent PCIe port > > > can be runtime-sus

[RESEND PATCH v3 0/2] PM / Domains: Second step in improving system PM code in genpd

2016-05-30 Thread Ulf Hansson
Changes in v3: - Changelog of patch 1/2. Changes in v2: - Updated changelogs for both patches according to comments from Kevin. - Updated patch 1/2, as I realized one genpd client driver, (ab)uses genpd's suspend_power_off flag. This is the second step in improving

[RESEND PATCH v3 2/2] PM / Domains: Remove redundant wrapper functions for system PM

2016-05-30 Thread Ulf Hansson
Due to the previous changes to genpd, which removed the suspend_power_off flag, several of the system PM callbacks is no longer doing any additional checks but only invoking a corresponding pm_generic_* helper function. To clean up the code let's remove these wrapper functions as they have become

[RESEND PATCH v3 1/2] PM / Domains: Allow genpd to power on during the system PM phases

2016-05-30 Thread Ulf Hansson
If the PM domain is powered off when the first device starts its system PM prepare phase, genpd prevents any further attempts to power on the PM domain during the following system PM phases. Not until the system PM complete phase is finalized for all devices in the PM domain, genpd again allows it

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

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

Deadlock in 4.6 caused by 4eebd5a4e726 ("apple-gmux: lock iGP IO to protect from vgaarb changes")

2016-05-30 Thread Lukas Wunner
On Mon, May 30, 2016 at 11:07:53AM +0200, Bruno Prémont wrote: > On Fri, 27 May 2016 14:23:02 +0200 Lukas Wunner wrote: > > Wilfried Klaebe has reported a deadlock in 4.6 which he bisected to > > my commit 704ab614ec12 ("drm/i915: Defer probe if gmux is present but > > its driver isn't"), but whic

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

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

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

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

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

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

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

2016-05-30 Thread Thierry Reding
... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160530/47352756/attachment.sig>

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

2016-05-30 Thread Thierry Reding
atch, and > mtk_disp_color_driver_dt_match. So merge them to prevent duplicated > code. I think what you really want is of_device_get_match_data(). Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160530/a7d0433e/attachment.sig>

Deadlock in 4.6 caused by 4eebd5a4e726 ("apple-gmux: lock iGP IO to protect from vgaarb changes")

2016-05-30 Thread Bruno Prémont
Hi Lucas, On Mon, 30 May 2016 12:24:46 +0200 Lukas Wunner wrote: > On Mon, May 30, 2016 at 11:07:53AM +0200, Bruno Prémont wrote: > > On Fri, 27 May 2016 14:23:02 +0200 Lukas Wunner wrote: > > > Wilfried Klaebe has reported a deadlock in 4.6 which he bisected to > > > my commit 704ab614ec12 ("d

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

2016-05-30 Thread Emil Velikov
On 27 May 2016 at 22:31, Peter Wu wrote: > On Fri, May 27, 2016 at 02:01:39PM +0100, Emil Velikov wrote: >> Hi Peter, >> >> On 24 May 2016 at 23:53, Peter Wu wrote: >> > Since "PCI: Add runtime PM support for PCIe ports", the parent PCIe port >> > can be runtime-suspended which disables power res

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

2016-05-30 Thread Maarten Lankhorst
Op 29-05-16 om 20:35 schreef Daniel Vetter: > ... and use it in msm&vc4. Again just want to encapsulate > drm_atomic_state internals a bit. > > The const threading is a bit awkward in vc4 since C sucks, but I still > think it's worth to enforce this. Eventually I want to make all the > obj->state p

[RFC v2] Change dma_attrs from bitfield to unsigned long

2016-05-30 Thread Krzysztof Kozlowski
Hi, This is second attempt to bring some safeness to dma_attrs. In v1 [0] I added const to data pointed by attrs. However Christoph Hellwig suggested getting rid of struct dma_attrs in favor of some simpler data type. Benefits of unsigned long for dma_attrs: 1. This is just simpler. Both in te

[RFC v2] dma-mapping: Use unsigned long for dma_attrs

2016-05-30 Thread Krzysztof Kozlowski
The dma-mapping core and the implementations do not change the DMA attributes passed by pointer. Thus the pointer can point to const data. However the attributes do not have to be a bitfield. Instead unsigned long will do fine: 1. This is just simpler. Both in terms of reading the code and sett

[PATCH] virtio-gpu: fix output lookup

2016-05-30 Thread Gerd Hoffmann
Needed for multihead setups where we can have disabled outputs and therefore plane->crtc can be NULL. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_plane.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_plane.c b/drive

[PATCH 25/26] omapfb: Copy video/omapdss.h content to video/omapfb_dss.h

2016-05-30 Thread Peter Ujfalusi
Copy the content of video/ompadss.h to the omapfb header file. All omapfb drivers and the vout driver have been using the new video/omapfb_dss.h file instead of the omapdss.h. This change will separate the DRM and FB implementations of omapdss. Signed-off-by: Peter Ujfalusi CC: Mauro Carvalho Ch

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

2016-05-30 Thread David Binderman
Hello there, drivers/gpu/drm/i915/i915_reg.h:90:28: warning: result of ‘65535 << 20’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=] Source code is #define BSM_MASK (0x << 20) Maybe better code #define BSM_MASK (((unsigned long) 0x) << 20) Re

[PATCH 22/26] drm/omap: Do not include video/omapdss.h directly in drivers

2016-05-30 Thread Peter Ujfalusi
All drivers to include the omapdrm/dss/omapdss.h header file. This header includes the Signed-off-by: Peter Ujfalusi --- drivers/gpu/drm/omapdrm/displays/connector-analog-tv.c | 3 ++- drivers/gpu/drm/omapdrm/displays/connector-dvi.c| 4 ++-- drivers/gpu/drm/omapdrm/displays/co

[PATCH 07/26] omapfb: connector-hdmi: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi --- .../fbdev/omap2/omapfb/displays/connector-hdmi.c | 42 -- include/video/omap-panel-data.h| 10 -- 2 files changed, 6

[PATCH 05/26] omapfb: panel-lgphilips-lb035q02: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi --- .../omapfb/displays/panel-lgphilips-lb035q02.c | 56 +++--- include/video/omap-panel-data.h| 18 --- 2 files changed, 6

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

2016-05-30 Thread Peter Wu
On Mon, May 30, 2016 at 11:48:34AM +0100, Emil Velikov wrote: > On 27 May 2016 at 22:31, Peter Wu wrote: > > On Fri, May 27, 2016 at 02:01:39PM +0100, Emil Velikov wrote: > >> Hi Peter, > >> > >> On 24 May 2016 at 23:53, Peter Wu wrote: > >> > Since "PCI: Add runtime PM support for PCIe ports", t

[PATCH 01/26] omapfb: panel-tpo-td028ttec1: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi --- .../omap2/omapfb/displays/panel-tpo-td028ttec1.c | 43 +++--- include/video/omap-panel-data.h| 13 --- 2 files changed, 6

[PATCH 04/26] omapfb: panel-sharp-ls037v7dw01: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi --- .../omapfb/displays/panel-sharp-ls037v7dw01.c | 81 ++ include/video/omap-panel-data.h| 24 --- 2 files changed, 6

[PATCH 06/26] omapfb: panel-dsi-cm: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi --- .../fbdev/omap2/omapfb/displays/panel-dsi-cm.c | 52 +++--- include/video/omap-panel-data.h| 27 --- 2 files change

[PATCH 11/26] drm/omap: connector-analog-tv: Support only Composite type in legacy boot

2016-05-30 Thread Peter Ujfalusi
In legacy mode (non DT mode) support only composite connector type. The only user for this is rx51, using composite type. Dropping the connector_type selection via pdata will allow cleanups in omapdss (drm vs fbdev). Signed-off-by: Peter Ujfalusi --- drivers/gpu/drm/omapdrm/displays/connector-an

[PATCH 16/26] drm/omap: Remove reference to pdata->default_device

2016-05-30 Thread Peter Ujfalusi
The default_device is no longer used, it is a leftower from legacy. The else if (pdata->default_device) is always going to be false. Signed-off-by: Peter Ujfalusi --- drivers/gpu/drm/omapdrm/dss/core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/core.c b/dri

[PATCH 24/26] [media] omap_vout: Switch to use the video/omapfb_dss.h header file

2016-05-30 Thread Peter Ujfalusi
The omap_vout is only supported with omapfb. Switch the driver to use the correct header file. Signed-off-by: Peter Ujfalusi --- drivers/media/platform/omap/omap_vout.c| 2 +- drivers/media/platform/omap/omap_voutdef.h | 2 +- drivers/media/platform/omap/omap_voutlib.c | 2 +- 3 files change

[PATCH 20/26] ARM: OMAP2: Use the platform_data header for omapdss

2016-05-30 Thread Peter Ujfalusi
Instead of the full omapdss internal header, include only the platform_data header. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-omap2/board-ldp.c| 2 +- arch/arm/mach-omap2/board-rx51-video.c | 2 +- arch/arm/mach-omap2/display.c | 2 +- arch/arm/mach-omap2/dss-common.c

[PATCH 21/26] omapdss: hdmi audio: Make header file independent of video/omapdss.h

2016-05-30 Thread Peter Ujfalusi
Clean up the header files regarding to hdmi audio so the omap-hdmi-audio.h file will only need to include the platform_data/omapdss.h file. Signed-off-by: Peter Ujfalusi CC: Mark Brown CC: Jyri Sarha CC: Liam Girdwood --- drivers/gpu/drm/omapdrm/dss/hdmi.h | 1 + drivers/video/fbdev/

[PATCH 10/26] omapdss: omap-panel-data.h: Remove struct omap_dss_device declaration

2016-05-30 Thread Peter Ujfalusi
The omap_dss_device is not needed by anything in the header file. Signed-off-by: Peter Ujfalusi --- include/video/omap-panel-data.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/video/omap-panel-data.h b/include/video/omap-panel-data.h index a64e9ba12b0d..7b4fadf82cd5 100644 --- a

[PATCH 17/26] omapfb: Remove reference to pdata->default_device

2016-05-30 Thread Peter Ujfalusi
The default_device is no longer used, it is a leftower from legacy. The else if (pdata->default_device) is always going to be false. Signed-off-by: Peter Ujfalusi --- drivers/video/fbdev/omap2/omapfb/dss/core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/video/fbdev/omap2/omapfb

[PATCH 14/26] omapdss: omap-panel-data.h: Remove connector_type from atv pdata

2016-05-30 Thread Peter Ujfalusi
The driver only supports composite connection when booted in legacy mode so the omap_dss_venc_type can be dropped from the pdata. At the same time the video/omapdss.h include can be removed as it is no longer needed. Signed-off-by: Peter Ujfalusi --- include/video/omap-panel-data.h | 3 --- 1 fi

[PATCH 12/26] omapfb: connector-analog-tv: Support only Composite type in legacy boot

2016-05-30 Thread Peter Ujfalusi
In legacy mode (non DT mode) support only composite connector type. The only user for this is rx51, using composite type. Dropping the connector_type selection via pdata will allow cleanups in omapdss (drm vs fbdev). Signed-off-by: Peter Ujfalusi --- drivers/video/fbdev/omap2/omapfb/displays/con

[PATCH 15/26] ARM/video: omap2: Move omap_display_init declaration to mach-omap2/display.h

2016-05-30 Thread Peter Ujfalusi
The omap_display_init() is implemented in the mach-omap2/display.c so the declaration should have been there as well. Change the board files to include display.h to avoid build breakage at the same time. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-omap2/board-ldp.c| 1 + arch/arm/mac

[PATCH 02/26] omapfb: panel-nec-nl8048hl11: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi --- .../omap2/omapfb/displays/panel-nec-nl8048hl11.c | 45 +++--- include/video/omap-panel-data.h| 18 - 2 files changed,

[PATCH 08/26] omapfb: connector-dvi: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi --- .../fbdev/omap2/omapfb/displays/connector-dvi.c| 58 +++--- include/video/omap-panel-data.h| 12 - 2 files changed, 6 i

[PATCH 19/26] video/platform_data: omapdss: Create new header file for platform data

2016-05-30 Thread Peter Ujfalusi
Create a new header file for platform data used by omapdss. Signed-off-by: Peter Ujfalusi --- .../linux/platform_data/omapdss.h | 64 +- include/video/omapdss.h| 25 + 2 files changed, 26 insertions(+), 63 deletions(-) cop

[PATCH 23/26] omapfb: Create new header file for omapfb DSS implementation

2016-05-30 Thread Peter Ujfalusi
A new video/omapfb_dss.h file is created which is currently only includes the video/omapdss.h file. The new header file is needed to complete the separation of omapdrm and omapfb implementation of DSS. Signed-off-by: Peter Ujfalusi --- .../video/fbdev/omap2/omapfb/displays/connector-analog-tv.c

[PATCH 01/26] omapfb: panel-tpo-td028ttec1: Remove legacy boot support

2016-05-30 Thread Belisko Marek
Hi Peter, On Mon, May 30, 2016 at 1:42 PM, Peter Ujfalusi wrote: > The panel is not used by any legacy board files so the legacy (pdata) boot > support can be dropped. What about platforms which doesn't support DT boot yet? > > Signed-off-by: Peter Ujfalusi > --- > .../omap2/omapfb/displays/pa

[PATCH 13/26] ARM: OMAP: rx51-video: Do not set TV connector_type

2016-05-30 Thread Peter Ujfalusi
In legacy mode only composite type is supported by omapdss so there is no need to specify the connector_type. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-omap2/board-rx51-video.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-omap2/board-rx51-video.c b/arch/arm/mach-omap2/

[PATCH 18/26] video: omapdss: Remove unused members from struct omap_dss_board_info

2016-05-30 Thread Peter Ujfalusi
The num_devices, **devices and *default_device is leftover from the past. They can be removed as they are no used. Signed-off-by: Peter Ujfalusi --- include/video/omapdss.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 0c7ae93ebd76.

[PATCH 09/26] omapfb: encoder-tfp410: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi --- .../fbdev/omap2/omapfb/displays/encoder-tfp410.c | 44 +++--- include/video/omap-panel-data.h| 14 --- 2 files changed, 6

[PATCH 26/26] drm/omap: Remove the video/omapdss.h and move it's content to local header file

2016-05-30 Thread Peter Ujfalusi
Move the contents of the video/omapdss.h header file to omapdrm/dss local header file and remove the original global header. The omapfb stach is using video/omapfb_dss.h so this change will complete the separation of the two driver implementation. Signed-off-by: Peter Ujfalusi --- drivers/gpu/dr

[PATCH 03/26] omapfb: panel-tpo-td043mtea1: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi --- .../omap2/omapfb/displays/panel-tpo-td043mtea1.c | 44 +++--- include/video/omap-panel-data.h| 16 2 files changed,

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

2016-05-30 Thread Peter Ujfalusi
Hi, omapfb is deprecated. It will not receive new features, only bug fixes. On the. other hand omapdrm is in active development and the fact that both implementation (omapfb and omapdrm) is using the same header file (video/omapdss.h) makes implementing new features or doing bigger clean ups in om

[PATCH v3 7/7] [wip] virtio-gpu: add page flip support

2016-05-30 Thread Gerd Hoffmann
Hi, > > But I'll take you up on the implied offer to help out and test ;-) > > git://people.freedesktop.org/~danvet/drm stuff Tried that branch. > Would be really awesome if you could test this on virtio. Note that the > new nonblocking helpers require that your atomic backend gets the drm >

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

2016-05-30 Thread Maarten Lankhorst
Op 29-05-16 om 20:34 schreef Daniel Vetter: > This avois leaking drm_atomic_state internals into the helpers. The > only place where this still happens after this patch is > drm_atomic_helper_swap_state(). > It's unavoidable there, and maybe a good indicator we should actually > move that function

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

2016-05-30 Thread Emil Velikov
On 30 May 2016 at 12:23, Peter Wu wrote: > On Mon, May 30, 2016 at 11:48:34AM +0100, Emil Velikov wrote: >> On 27 May 2016 at 22:31, Peter Wu wrote: >> > On Fri, May 27, 2016 at 02:01:39PM +0100, Emil Velikov wrote: >> >> Hi Peter, >> >> >> >> On 24 May 2016 at 23:53, Peter Wu wrote: >> >> > Sin

[PATCH] drm/i915: fix BSM_MASK definition

2016-05-30 Thread Jani Nikula
The PCI config space BSM (Base of Stolen Memory) register has bits 20..31 set. The BSM_MASK definition goes beyond 32 bits, fix it. drivers/gpu/drm/i915/i915_reg.h:90:28: warning: result of ‘65535 << 20’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=] Referen

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

2016-05-30 Thread Maarten Lankhorst
Op 29-05-16 om 20:35 schreef Daniel Vetter: > - dev is redundant, we have state->atomic > - add stall parameter, which must be set when swapping needs to stall > for preceeding commits to stop looking at ->state pointers. Currently > all drivers need this to be, just prep work for a glorious fu

[Intel-gfx] [PATCH 02/26] drm/i915: Use drm_atomic_get_existing_plane_state

2016-05-30 Thread Maarten Lankhorst
Op 29-05-16 om 20:34 schreef Daniel Vetter: > We want to encapsulate the drm_atomic_state internals. > > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/i915/intel_atomic.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/intel_atomic.c > b/dr

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

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

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

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

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

2016-05-30 Thread Peter Wu
On Mon, May 30, 2016 at 12:57:09PM +0300, Mika Westerberg wrote: > +Rafael > > On Fri, May 27, 2016 at 01:10:37PM +0200, Peter Wu wrote: > > On Wed, May 25, 2016 at 04:55:35PM +0300, Mika Westerberg wrote: > > > On Wed, May 25, 2016 at 12:53:01AM +0200, Peter Wu wrote: > > > > Since "PCI: Add runt

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

2016-05-30 Thread Mika Westerberg
On Mon, May 30, 2016 at 02:20:10PM +0200, Peter Wu wrote: > On Mon, May 30, 2016 at 12:57:09PM +0300, Mika Westerberg wrote: > > +Rafael > > > > On Fri, May 27, 2016 at 01:10:37PM +0200, Peter Wu wrote: > > > On Wed, May 25, 2016 at 04:55:35PM +0300, Mika Westerberg wrote: > > > > On Wed, May 25,

  1   2   3   >