XDC2015 - Travel sponsorship

2015-07-31 Thread Martin Peres
Hello everyone, We are 1.5 months away from XDC and 20 days away from the proposals deadline[1]! If you did not manage to secure funding from your company but still think you could benefit the community by giving a talk, we encourage you to send an email to the board of X.Org with your talk pr

[PATCH v2] drm/exynos: clear channels only when iommu is enabled

2015-07-31 Thread Krzysztof Kozlowski
On 28.07.2015 17:51, Joonyoung Shim wrote: > This is simplest solution about reported problem[1]. It's no problem to > clear channel only when iommu is enabled, if we consider that we cannot > recognize iommu errors when iommu is disabled and it have been valid > until now. But this cannot be nice

[PATCH] drm/nouveau/gem: tolerate a buffer specified multiple times

2015-07-31 Thread Bryan O'Donoghue
On 30/07/15 22:45, Peter Hurley wrote: > [ +cc Debian maintainer ] > > On 07/30/2015 11:26 AM, Emil Velikov wrote: >> On 30 July 2015 at 16:02, Ilia Mirkin wrote: >>> On Thu, Jul 30, 2015 at 10:56 AM, Bryan O'Donoghue >>> wrote: On 30/07/15 15:52, Bryan O'Donoghue wrote: > > On 30/07

[PULL] Add Freescale DCU DRM driver

2015-07-31 Thread Jianwei Wang
Hi Dave, This is the pull request for Freescale DCU DRM driver. The following changes since commit dcd14dd957f02ef679c61325a2221a0574bdcab3: Merge tag 'topic/connector-locking-2015-07-23' of git://anongit.freedesktop.org/drm-intel into drm-next (2015-07-24 14:30:29 +1000) are available in th

[git pull] drm fixes

2015-07-31 Thread Dave Airlie
Hi Linus, this is the fixes pull for -rc5, it has a bunch of nouveau fixes, as Ben has been hibernating and has lots of small fixes for lots of bugs across nouveau. radeon has one major fix for hdmi/dp audio regression that is larger than Alex would like, but seems to fix up a fair few bugs,

drm-next and holidays

2015-07-31 Thread Dave Airlie
Hey all, So I'm out on holidays for the next two weeks, and I hopefully won't be anywhere near my email for most of it, I think on the -fixes front, there is really only Intel and AMD sending regular pulls, and I think it was okay with Alex and Daniel/Jani sending them direct to Linus last time.

[PATCH 3/5] drm/i2c: adv7511: Refactor encoder slave functions

2015-07-31 Thread Archit Taneja
Hi Boris, Laurent, On 07/28/2015 08:08 PM, Boris Brezillon wrote: > Archit, Laurent, > > On Tue, 28 Jul 2015 13:47:37 +0530 > Archit Taneja wrote: > >> Hi, >> >> On 07/27/2015 02:29 PM, Laurent Pinchart wrote: >>> Hi Archit, >>> >>> (CC'ing Boris Brezillon) >>> >>> Thank you for the patch. >>> >>

[Bug 91463] radeon/audio:HDMI audio not working since upgrade from 3.19.3 to 4.0

2015-07-31 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150731/c64ca838/attachment.html>

[PATCH] drm/atomic: Paper over locking WARN in default_state_clear

2015-07-31 Thread Maarten Lankhorst
Hey, Op 29-07-15 om 12:51 schreef Daniel Vetter: > In > > commit 6f75cea66c8dd043ced282016b21a639af176642 > Author: Daniel Vetter > Date: Wed Nov 19 18:38:07 2014 +0100 > > drm/atomic: Only destroy connector states with connection mutex held > > I tried to fix races of atomic commits agains

[PATCH 04/15] drivers: gpu: Drop unlikely before IS_ERR(_OR_NULL)

2015-07-31 Thread Viresh Kumar
IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there is no need to do that again from its callers. Drop it. Signed-off-by: Viresh Kumar --- drivers/gpu/drm/ttm/ttm_tt.c| 4 ++-- drivers/gpu/drm/vmwgfx/vmwgfx_context.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c

[PATCH 3/5] drm/i2c: adv7511: Refactor encoder slave functions

2015-07-31 Thread Boris Brezillon
Hi Archit, On Fri, 31 Jul 2015 10:56:20 +0530 Archit Taneja wrote: > Hi Boris, Laurent, > > On 07/28/2015 08:08 PM, Boris Brezillon wrote: > > Archit, Laurent, > > > > On Tue, 28 Jul 2015 13:47:37 +0530 > > Archit Taneja wrote: > > > >> Hi, > >> > >> On 07/27/2015 02:29 PM, Laurent Pinchart wr

[Bug 90484] LLVM >=r237140 causes gpu lockups Spec Ops: The Line

2015-07-31 Thread bugzilla-dae...@freedesktop.org
Greetings Arek -- 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/20150731/5a96306e/attachment.html>

[Bug 90484] LLVM >=r237140 causes gpu lockups Spec Ops: The Line

2015-07-31 Thread bugzilla-dae...@freedesktop.org
|--- |FIXED -- 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/20150731/d96ab9ab/attachment.html>

[patch] drm/omap: checking for NULL instead of IS_ERR()

2015-07-31 Thread Dan Carpenter
We recently start using the new drm_fb_helper functions but the error handling needs to be updated as well to check for IS_ERR() instead of NULL. Fixes: 377eb331375f ('drm/omap: Use new drm_fb_helper functions') Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/omapdrm/omap_fbdev.c b/dr

[patch] drm/omap: checking for NULL instead of IS_ERR()

2015-07-31 Thread Archit Taneja
Hi, On 07/31/2015 03:03 PM, Dan Carpenter wrote: > We recently start using the new drm_fb_helper functions but the error > handling needs to be updated as well to check for IS_ERR() instead of > NULL. > > Fixes: 377eb331375f ('drm/omap: Use new drm_fb_helper functions') > Signed-off-by: Dan Carpen

[PATCH 2/4] drm/sti: code clean up

2015-07-31 Thread Vincent Abriou
Purpose is to simplify the STI driver: - remove layer structure - consider video subdev as part of the compositor (like mixer subdev) - remove useless STI_VID0 and STI_VID1 enum Signed-off-by: Vincent Abriou Reviewed-by: Benjamin Gaignard --- drivers/gpu/drm/sti/Makefile | 1 - driver

[PATCH 0/4] drm/sti: update STI driver to be atomic

2015-07-31 Thread Vincent Abriou
This patch series aims to update the sti drm driver to be atomic. To do so, the sti driver needs to be code cleaned to have good fundations to enable the atomic plane update functionnality. The driver is thereby simplier, more readable and better fit the STI hardware structure. Vincent Abriou (4):

[PATCH 3/4] drm/sti: rename files and functions

2015-07-31 Thread Vincent Abriou
replace all "sti_drm_" occurences by "sti_" Signed-off-by: Vincent Abriou Reviewed-by: Benjamin Gaignard --- drivers/gpu/drm/sti/Makefile | 6 +- drivers/gpu/drm/sti/sti_compositor.c | 24 +-- drivers/gpu/drm/sti/sti_compositor.h | 2 +- drivers/gpu/drm/sti/sti_crtc.c | 322 +

[PATCH 1/4] drm/sti: fix dynamic z-ordering

2015-07-31 Thread Vincent Abriou
Apply the plane depth when the plane is updated. If the depth is different from the previous plane update, the register controlling the plane depth is cleaned and updated with the new depth. Signed-off-by: Vincent Abriou Reviewed-by: Benjamin Gaignard --- drivers/gpu/drm/sti/sti_drm_plane.c | 2

[PATCH 4/4] drm/sti: atomic crtc/plane update

2015-07-31 Thread Vincent Abriou
Better fit STI hardware structure. Planes are no more responsible of updating mixer information such as z-order and status. It is now up to the CRTC atomic flush to do it. Plane actions (enable or disable) are performed atomically. Disabling of a plane is synchronize with the vsync event. Signed-o

[PATCH 3/5] drm/i2c: adv7511: Refactor encoder slave functions

2015-07-31 Thread Archit Taneja
On 07/31/2015 02:42 PM, Boris Brezillon wrote: > Hi Archit, > > On Fri, 31 Jul 2015 10:56:20 +0530 > Archit Taneja wrote: > >> Hi Boris, Laurent, >> >> On 07/28/2015 08:08 PM, Boris Brezillon wrote: >>> Archit, Laurent, >>> >>> On Tue, 28 Jul 2015 13:47:37 +0530 >>> Archit Taneja wrote: >>> >>>

[PATCH v3 00/24] drm: fb emulation: Step 1: Create new drm_fb_helper wrapper funcs

2015-07-31 Thread Archit Taneja
DRM drivers using drm_fb_helpers still call some fbdev core functions. This makes the driver depend on CONFIG_FB, resulting in complicated Kconfig options, and preventing us from creating a top level drm config option to enable/disable FBDEV emulation. Create new drm_fb_helper functions that repla

[PATCH v3 00/24] rm: fb emulation: Step 1: Create new drm_fb_helper wrapper funcs

2015-07-31 Thread Archit Taneja
DRM drivers using drm_fb_helpers still call some fbdev core functions. This makes the driver depend on CONFIG_FB, resulting in complicated Kconfig options, and preventing us from creating a top level drm config option to enable/disable FBDEV emulation. Create new drm_fb_helper functions that repla

[PATCH v3 01/24] drm/fb_helper: Add drm_fb_helper functions to manage fb_info creation

2015-07-31 Thread Archit Taneja
Every drm driver calls framebuffer_alloc, fb_alloc_cmap, unregister_framebuffer, fb_dealloc_cmap and framebuffer_release in order to emulate fbdev support. Create drm_fb_helper functions that perform the above operations. This is part of an effort to prevent drm drivers from calling fbdev functio

[PATCH v3 02/24] drm/fb_helper: Create a wrapper for unlink_framebuffer

2015-07-31 Thread Archit Taneja
Some drm drivers call unlink_framebuffer. Create a drm_fb_helper function that wraps around these calls. This is part of an effort to prevent drm drivers from calling fbdev functions directly, in order to make fbdev emulation a top level drm option. v3: - No changes v2: - Added kerneldocs - Adde

[PATCH v3 03/24] drm/fb_helper: Create wrappers for fb_sys_read/write funcs

2015-07-31 Thread Archit Taneja
Some drm drivers populate their fb_ops with fb_sys_read/write fb sysfs ops. Create a drm_fb_helper function that wraps around these calls. This is part of an effort to prevent drm drivers from calling fbdev functions directly, in order to make fbdev emulation a top level drm option. v3: - Fix ke

[PATCH v3 04/24] drm/fb_helper: Create wrappers for blit, copyarea and fillrect funcs

2015-07-31 Thread Archit Taneja
drm drivers that emulate fbdev populate their fb_fillrect, fb_copyarea and fb_imageblit fb_ops with the help of cfb_* or sys_* fbdev core helper functions. Create drm_fb_helper functions that wrap around these calls. This is part of an effort to prevent drm drivers from calling fbdev functions di

[PATCH v3 05/24] drm/fb_helper: Create a wrapper for fb_set_suspend

2015-07-31 Thread Archit Taneja
Some drm drivers call fb_set_suspend. Create a drm_fb_helper function that wraps around these calls. This is part of an effort to prevent drm drivers from calling fbdev functions directly, in order to make fbdev emulation a top level drm option. v3: - Fixed kerneldoc errors v2: - Added kerneldoc

[PATCH v3 06/24] drm/cirrus: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. v3: - Don't touch remove_conflicting_framebuffers v2: - Remove stray goto label out_iounmap Cc: Thierry Reding Cc: Zach Reizner Cc: Russell King Cc: Fabian Frederick Signed-off-by: Archit

[PATCH v3 07/24] drm/rockchip: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. This is an effort to create a top level drm fbdev emulation option. v3: - No changes v2: - No changes Cc: Mark Yao Cc: Daniel Vetter Cc: Rob Clark

[PATCH v3 08/24] drm/armada: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. Cc: Russell King Signed-off-by: Archit Taneja --- drivers/gpu/drm/armada/armada_fbdev.c | 33 ++--- 1 file changed, 10 ins

[PATCH v3 09/24] drm/ast: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. Cleaned up the error handling in astfb_create a bit. v3: - No changes v2: - removed unused variable 'device' in astfb_create Cc: David Airlie Cc: "Y.

[PATCH v3 10/24] drm/omap: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. v3: - Update error handling for new drm_fb_helper funcs. Check using IS_ERR() instead of checking for NULL. Reported-by: Dan Carpenter v2: - No chan

[PATCH v3 11/24] drm/tegra: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. v3: - No changes v2: - Fix up error handling path in tegra_fbdev_probe Cc: Thierry Reding Cc: "Terje Bergström" Cc: Stephen Warren Signed-off-by:

[PATCH v3 12/24] drm/msm: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. Cc: Rob Clark Cc: Stephane Viau Cc: Hai Li Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/msm_fbdev.c | 34 ++

[PATCH] drm/nouveau/gem: tolerate a buffer specified multiple times

2015-07-31 Thread Bryan O'Donoghue
On 31/07/15 01:03, Bryan O'Donoghue wrote: > On 30/07/15 22:45, Peter Hurley wrote: >> [ +cc Debian maintainer ] >> >> On 07/30/2015 11:26 AM, Emil Velikov wrote: >>> On 30 July 2015 at 16:02, Ilia Mirkin wrote: On Thu, Jul 30, 2015 at 10:56 AM, Bryan O'Donoghue wrote: > On 30/07/15

[PATCH] drm/nouveau/gem: tolerate a buffer specified multiple times

2015-07-31 Thread Bryan O'Donoghue
On 31/07/15 10:53, Bryan O'Donoghue wrote: > On 31/07/15 01:03, Bryan O'Donoghue wrote: >> On 30/07/15 22:45, Peter Hurley wrote: >>> [ +cc Debian maintainer ] >>> >>> On 07/30/2015 11:26 AM, Emil Velikov wrote: On 30 July 2015 at 16:02, Ilia Mirkin wrote: > On Thu, Jul 30, 2015 at 10:56

[PATCH] drm/nouveau/gem: tolerate a buffer specified multiple times

2015-07-31 Thread Bryan O'Donoghue
On 31/07/15 10:58, Bryan O'Donoghue wrote: > On 31/07/15 10:53, Bryan O'Donoghue wrote: >> On 31/07/15 01:03, Bryan O'Donoghue wrote: >>> On 30/07/15 22:45, Peter Hurley wrote: [ +cc Debian maintainer ] On 07/30/2015 11:26 AM, Emil Velikov wrote: > On 30 July 2015 at 16:02, Ilia

[PATCH v2 0/22] On-demand device probing

2015-07-31 Thread Tomeu Vizoso
On 30 July 2015 at 05:06, Rob Herring wrote: > On Tue, Jul 28, 2015 at 8:19 AM, Tomeu Vizoso > wrote: >> Hello, >> >> I have a problem with the panel on my Tegra Chromebook taking longer >> than expected to be ready during boot (Stéphane Marchesin reported what >> is basically the same issue in

[PATCH 2/4] mm/compaction: enable mobile-page migration

2015-07-31 Thread Minchan Kim
Hi Gioh, On Mon, Jul 13, 2015 at 05:35:17PM +0900, Gioh Kim wrote: > From: Gioh Kim > > Add framework to register callback functions and check page mobility. > There are some modes for page isolation so that isolate interface > has arguments of page address and isolation mode while putback > int

[PATCH v3 13/24] drm/exynos: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. v3: - No changes v2: - Remove unnecessary dealloc cmap in error handling path Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Signed-off-by: Arch

[PATCH v3 14/24] drm/gma500: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. v3: - No changes v2: - removed unused variable 'device' in psbfb_create Cc: Patrik Jakobsson Cc: Daniel Vetter Signed-off-by: Archit Taneja --- dr

[PATCH v3 15/24] drm/mgag200: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. v3: - Don't touch remove_conflicting_framebuffers v2: - remove unused goto label 'out' Cc: Daniel Vetter Cc: David Airlie Cc: Alex Deucher Signed-o

[PATCH v3 16/24] drm/radeon: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. v3: - Don't touch remove_conflicting_framebuffers v2: - Fix build break because of missing include of drm_fb_helper in radeon_drv.c Cc: Alex Deucher

[PATCH v3 17/24] drm/qxl: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. Cc: David Airlie Cc: Frediano Ziglio Cc: Maarten Lankhorst Signed-off-by: Archit Taneja --- drivers/gpu/drm/qxl/qxl_fb.c | 40 +

[PATCH v3 18/24] drm/i915: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. v3: - Don't touch remove_conflicting_framebuffers v2: - No changes Cc: Daniel Vetter Cc: Jani Nikula Signed-off-by: Archit Taneja --- drivers/gpu/

[PATCH v3 19/24] drm/nouveau: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. v3: - Don't touch remove_conflicting_framebuffers v2: - remove unused variable pdev in nouveau_fbcon_create Cc: David Airlie Cc: Ben Skeggs Cc: Alexa

[PATCH v3 20/24] drm/udl: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. v3: - No changes v2: - remove unused variable device in udlfb_create Cc: David Airlie Cc: Haixia Shi Cc: "Stéphane Marchesin" Signed-off-by: Archi

[PATCH v3 21/24] drm/bochs: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. v3: - Don't touch remove_conflicting_framebuffers v2: - remove unused variable device in bochsfb_create Cc: David Airlie Cc: Gerd Hoffmann Cc: Daniel

[PATCH v3 22/24] drm/amdgpu: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. v3: - Don't touch remove_conflicting_framebuffers v2: - Fixed PTR_ERR issue mentioned by kbuild bot Cc: Fengguang Wu Cc: Alex Deucher Cc: Oded Gabbay

[PATCH v3 23/24] drm/virtio: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. v3: - Don't touch remove_conflicting_framebuffers v2: - add missing header for virtgpu_fb.c Cc: David Airlie Cc: Gerd Hoffmann Signed-off-by: Archit

[PATCH v3 24/24] drm/fb_cma_helper: Use new drm_fb_helper functions

2015-07-31 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. Cc: Lars-Peter Clausen Cc: Daniel Vetter Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_fb_cma_helper.c | 45 +

[PATCH 3/5] drm/i2c: adv7511: Refactor encoder slave functions

2015-07-31 Thread Rob Clark
On Fri, Jul 31, 2015 at 5:12 AM, Boris Brezillon wrote: > Hi Archit, > > On Fri, 31 Jul 2015 10:56:20 +0530 > Archit Taneja wrote: > >> Hi Boris, Laurent, >> >> On 07/28/2015 08:08 PM, Boris Brezillon wrote: >> > Archit, Laurent, >> > >> > On Tue, 28 Jul 2015 13:47:37 +0530 >> > Archit Taneja wr

[PATCH 4/4] drm/sti: atomic crtc/plane update

2015-07-31 Thread Emil Velikov
Hello Vincent, On 31 July 2015 at 11:13, Vincent Abriou wrote: > Better fit STI hardware structure. > Planes are no more responsible of updating mixer information such > as z-order and status. It is now up to the CRTC atomic flush to > do it. Plane actions (enable or disable) are performed atomic

[PATCH 4/4] drm/sti: atomic crtc/plane update

2015-07-31 Thread Benjamin Gaignard
Hello Emil, This series of patches is the second step to convert sit driver to atomic, I have the first step few weeks ago. This time we really take benefit of the atomic helpers to make match correctly code and hardware split. To give you an example, before those patches, we were calling code dri

[PATCH 3/5] drm/i2c: adv7511: Refactor encoder slave functions

2015-07-31 Thread Boris Brezillon
Hi Rob, On Fri, 31 Jul 2015 08:13:59 -0400 Rob Clark wrote: > >> > >> I went through the branch you shared. From what I understood, the > >> encoder chain comprises of one 'real' encoder object (drm_encoder) in > >> the 'drm_encoder_chain' struct. This drm_encoder encapsulates all the > >> 'enco

[PATCH 4/4] drm/sti: atomic crtc/plane update

2015-07-31 Thread Emil Velikov
On 31 July 2015 at 13:54, Benjamin Gaignard wrote: > Hello Emil, > > This series of patches is the second step to convert sit driver to atomic, > I have the first step few weeks ago. > This time we really take benefit of the atomic helpers to make match > correctly code and hardware split. To give

[PATCH 0/3] drm: atmel-hlcdc: add support for several SoCs

2015-07-31 Thread Boris Brezillon
Hello, This series add the appropriate definitions for the at91sam9x5, at91sam9n12 and sama5d4 SoCs. Best Regards, Boris Boris Brezillon (3): drm: atmel-hlcdc: add support for at91sam9x5 SoCs drm: atmel-hlcdc: add support for at91sam9n12 SoC drm: atmel-hlcdc: add support for sama5d4 SoCs

[PATCH 3/3] drm: atmel-hlcdc: add support for sama5d4 SoCs

2015-07-31 Thread Boris Brezillon
Describe capabilities of the HLCDC IP found on sama5d4 SoCs and add a new entry to the atmel_hlcdc_of_match table. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 86 1 file changed, 86 insertions(+) diff --git a/drivers/gpu/drm/atm

[PATCH 1/3] drm: atmel-hlcdc: add support for at91sam9x5 SoCs

2015-07-31 Thread Boris Brezillon
Describe capabilities of the HLCDC IP found on at91sam9x5 SoCs and add a new entry to the atmel_hlcdc_of_match table. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 88 1 file changed, 88 insertions(+) diff --git a/drivers/gpu/drm/

[PATCH 2/3] drm: atmel-hlcdc: add support for at91sam9n12 SoC

2015-07-31 Thread Boris Brezillon
Describe capabilities of the HLCDC IP found on at91sam9n12 SoC and add a new entry to the atmel_hlcdc_of_match table. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 29 1 file changed, 29 insertions(+) diff --git a/drivers/gpu/drm/

[PATCH] drm: atmel-hlcdc: add PRIME support

2015-07-31 Thread Boris Brezillon
Signed-off-by: Boris Brezillon --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c index 60b0c13..2af75e4 100644 --- a/drivers

[PATCH] drm: atmel-hlcdc: add the missing DRM_ATOMIC flag

2015-07-31 Thread Boris Brezillon
The atmel-hlcdc driver already supports atomic operations, add the missing DRM_ATOMIC flag to expose the atomic features to userspace. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu

[PATCH] drm: atmel-hlcdc: add RGB565 and RGB444 output support

2015-07-31 Thread Boris Brezillon
The HLCDC IP supports RGB565 and RGB444 output formats. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c

[PATCH] drm/atomic: Paper over locking WARN in default_state_clear

2015-07-31 Thread Daniel Vetter
On Fri, Jul 31, 2015 at 10:34:43AM +0200, Maarten Lankhorst wrote: > Hey, > > Op 29-07-15 om 12:51 schreef Daniel Vetter: > > In > > > > commit 6f75cea66c8dd043ced282016b21a639af176642 > > Author: Daniel Vetter > > Date: Wed Nov 19 18:38:07 2014 +0100 > > > > drm/atomic: Only destroy connec

[PATCH 4/4] drm/sti: atomic crtc/plane update

2015-07-31 Thread Daniel Vetter
On Fri, Jul 31, 2015 at 12:13:27PM +0200, Vincent Abriou wrote: > static struct drm_crtc_helper_funcs sti_crtc_helper_funcs = { > .dpms = sti_crtc_dpms, dpms isn't needed any more with atomic, you should use drm_atomic_helper_connector_dpms instead of drm_helper_connector_dpms. > - .pr

[PATCH] drm/msm/mdp5: Add hflip/vflip support to MDP5 planes (v2)

2015-07-31 Thread Jilai Wang
MDP5 SSPPs can flip the input source horizontally or vertically. This change is to add this support to MDP5 planes. v1: Initial change v2: Use existing "rotation" property instead of creating msm specific properties. In order to be compatiable with legacy non-atomic set_property, switch to

[Bug 90774] New account request

2015-07-31 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20150731/c4c45ebe/attachment.html>

[PATCH 3/5] drm/i2c: adv7511: Refactor encoder slave functions

2015-07-31 Thread Rob Clark
On Fri, Jul 31, 2015 at 8:58 AM, Boris Brezillon wrote: > Hi Rob, > > On Fri, 31 Jul 2015 08:13:59 -0400 > Rob Clark wrote: > >> >> >> >> I went through the branch you shared. From what I understood, the >> >> encoder chain comprises of one 'real' encoder object (drm_encoder) in >> >> the 'drm_en

[Bug 90774] New account request

2015-07-31 Thread bugzilla-dae...@freedesktop.org
ves/dri-devel/attachments/20150731/70b0f618/attachment.html>

[PATCH 04/15] drivers: gpu: Drop unlikely before IS_ERR(_OR_NULL)

2015-07-31 Thread Sinclair Yeh
This patch: Reviewed-by: Sinclair Yeh On Fri, Jul 31, 2015 at 02:08:24PM +0530, Viresh Kumar wrote: > IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there > is no need to do that again from its callers. Drop it. > > Signed-off-by: Viresh Kumar > --- > drivers/gpu/drm/ttm/ttm

[PATCH] drm/nouveau/gem: tolerate a buffer specified multiple times

2015-07-31 Thread Bryan O'Donoghue
On 30/07/15 22:45, Peter Hurley wrote: > [ +cc Debian maintainer ] > > On 07/30/2015 11:26 AM, Emil Velikov wrote: >> On 30 July 2015 at 16:02, Ilia Mirkin wrote: >>> On Thu, Jul 30, 2015 at 10:56 AM, Bryan O'Donoghue >>> wrote: On 30/07/15 15:52, Bryan O'Donoghue wrote: > > On 30/07

[PATCH] drm/nouveau/gem: tolerate a buffer specified multiple times

2015-07-31 Thread Ilia Mirkin
On Fri, Jul 31, 2015 at 6:27 AM, Bryan O'Donoghue wrote: > ah no... 2.4.60 is right... > > Yes so Ilia - I've switched out 2.4.60 as per your suggestion to 2.4.56 > (getting the version numbers right :) ) and it's still definitely giving me > the multiple instances message. This is going to sound

[PATCH] drm/nouveau/gem: tolerate a buffer specified multiple times

2015-07-31 Thread Bryan O'Donoghue
On 31/07/15 17:36, Ilia Mirkin wrote: > On Fri, Jul 31, 2015 at 6:27 AM, Bryan O'Donoghue > wrote: >> ah no... 2.4.60 is right... >> >> Yes so Ilia - I've switched out 2.4.60 as per your suggestion to 2.4.56 >> (getting the version numbers right :) ) and it's still definitely giving me >> the mult

[PULL] drm-intel-fixes

2015-07-31 Thread Daniel Vetter
Hi Linus, I delayed my -fixes pull a bit hoping that I could include a fix for the dp mst stuff but looks a bit more nasty than that. So just 3 other regression fixes, one 4.2 other two cc: stable. Cheers, Daniel The following changes since commit cbfe8fa6cd672011c755c3cd85c9ffd4e2d10a6f: Li

[Bug 88978] [bisected] [SI Scheduler] Graphical corruption in Dota 2

2015-07-31 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150731/b0c2a928/attachment.html>

[PATCH] drm/nouveau/gem: tolerate a buffer specified multiple times

2015-07-31 Thread Bryan O'Donoghue
On 31/07/15 17:43, Bryan O'Donoghue wrote: > On 31/07/15 17:36, Ilia Mirkin wrote: >> Do you have a reproducible way of achieving the multiple buffer on >> validation list thing? Reliable enough. Start Chrome, then get Chrome to open a menu on top of it's own screen - for example click the top ri

[Bug 85241] audio over HDMI on AMD E-350 with radeon driver

2015-07-31 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=85241 --- Comment #3 from Sergei Sinyak --- hi, i can reproduce this bug on two configurations. That's radeon hd 6320, radeon hd 5650. kernel version 4.1.3, but tried to load radeon module compiled from 4.1-rc8, and it presents. Description: The actual

[PULL] drm-intel-fixes

2015-07-31 Thread Linus Torvalds
On Fri, Jul 31, 2015 at 9:54 AM, Daniel Vetter wrote: > > I delayed my -fixes pull a bit hoping that I could include a fix for the > dp mst stuff but looks a bit more nasty than that. So just 3 other > regression fixes, one 4.2 other two cc: stable. Quick question: you can now reproduce the mst

[PATCH 4.1 136/267] drm/bridge: ptn3460: Include linux/gpio/consumer.h

2015-07-31 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit dad3c3503462f59c6bec7edfa19dbde1857962c0 upstream. If GPIOLIB=n and asm-generic/gpio.h is not used: drivers/gpu/drm/bridge/ptn3460.c: In function ‘ptn3460_pre_e

[PATCH 4.1 162/267] drm: Provide compat ioctl for addfb2.1

2015-07-31 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Tvrtko Ursulin commit c631d5f90e7ee246536c72f80ade86e9ef4d2f13 upstream. Frame buffer modifiers extensions provided in; commit e3eb3250d84ef97b766312345774367b6a310db8 Author: Rob Clark

[PATCH 0/2] mmap on the dma-buf directly

2015-07-31 Thread Tiago Vignatti
Hi, I've tested these two patches (in drm-intel-nightly, but also in CrOS kernel v3.14) and they seem just enough for what we want to do: the idea is to create a GEM bo in one process and pass the prime handle of the it to another process, which in turn uses the handle only to map and write. This

[PATCH 1/2] drm/i915: Use CPU mapping for userspace dma-buf mmap()

2015-07-31 Thread Tiago Vignatti
For now we're opting out devices that don't have the LLC CPU cache (mostly "Atom" devices). Alternatively, we could build up a path to mmap them through GTT WC (and ignore the fact that will be dead-slow for reading). Or, an even more complex work I believe, would involve on setting up dma-buf ioct

[PATCH 2/2] drm: prime: Honour O_RDWR during prime-handle-to-fd

2015-07-31 Thread Tiago Vignatti
From: Daniel Thompson Currently DRM_IOCTL_PRIME_HANDLE_TO_FD rejects all flags except (DRM|O)_CLOEXEC making it difficult (maybe impossible) for userspace to mmap() the resulting dma-buf even when this is supported by the DRM driver. It is trivial to relax the restriction and permit read/write a

[Intel-gfx] [PATCH 1/2] drm/i915: Use CPU mapping for userspace dma-buf mmap()

2015-07-31 Thread Chris Wilson
On Fri, Jul 31, 2015 at 05:42:23PM -0300, Tiago Vignatti wrote: > For now we're opting out devices that don't have the LLC CPU cache (mostly > "Atom" devices). Alternatively, we could build up a path to mmap them through > GTT WC (and ignore the fact that will be dead-slow for reading). Or, an even

[PATCH] scripts/kernel-doc Allow struct arguments documentation in struct body

2015-07-31 Thread Danilo Cesar Lemes de Paula
Describing arguments at top of a struct definition works fine for small/medium size structs, but it definitely doesn't work well for struct with a huge list of elements. Keeping the arguments list inside the struct body makes it easier to maintain the documentation. ie: /** * struct my_struct - s

[PATCH 00/31] Add GPU scheduler to amdgpu

2015-07-31 Thread Alex Deucher
This patch set implements a basic GPU scheduler for amdgpu. A GPU scheduler is required for proper GPU reset and optimal utilization of hw resources. It's currently disabled by default as there are a few things we'd like to improve first: - better integration with kernel fences - clean up scheduler

[PATCH 03/31] drm/amdgpu: add context entity init

2015-07-31 Thread Alex Deucher
From: Chunming Zhou Signed-off-by: Chunming Zhou Acked-by: Christian K?nig Reviewed-by: Jammy Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 36 - 2 files changed, 37 insertions(+), 1 deletion(-) diff --git

[PATCH 04/31] drm/amdgpu: disable hw semaphore with scheduler

2015-07-31 Thread Alex Deucher
From: Chunming Zhou Signed-off-by: Chunming Zhou Acked-by: Christian K?nig Reviewed-by: Jammy Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_syn

[PATCH 01/31] drm/amd: add basic scheduling framework

2015-07-31 Thread Alex Deucher
From: Jammy Zhou run queue: A set of entities scheduling commands for the same ring. It implements the scheduling policy that selects the next entity to emit commands from. entity: A scheduler entity is a wrapper around a job queue or a group of other entities. This can be used to build hierarch

[PATCH 02/31] drm/amdgpu: add scheduler initialization

2015-07-31 Thread Alex Deucher
From: Jammy Zhou 1. Add kernel parameter option, default 0 2. Add scheduler initialization for amdgpu Signed-off-by: Chunming Zhou Signed-off-by: Jammy Zhou Acked-by: Christian K?nig Reviewed-by: Jammy Zhou --- drivers/gpu/drm/amd/amdgpu/Makefile | 7 ++- drivers/gpu/drm/amd/amdg

[PATCH 07/31] drm/amdgpu: dispatch jobs in cs

2015-07-31 Thread Alex Deucher
From: Chunming Zhou BO validation is moved to scheduler except usrptr which must be validated in user process Signed-off-by: Chunming Zhou Acked-by: Christian K?nig Reviewed-by: Jammy Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 256 ++

[PATCH 08/31] drm/amdgpu: use scheduler user seq instead of previous user seq

2015-07-31 Thread Alex Deucher
From: Chunming Zhou Signed-off-by: Chunming Zhou Acked-by: Christian K?nig Reviewed-by: Jammy Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 26 -- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c b/drivers/gpu

[PATCH 10/31] drm/amdgpu: prepare job before push to sw queue for pte ring

2015-07-31 Thread Alex Deucher
From: Chunming Zhou user mode will still use pte ring as a normal ring. if the prepare job generates another command(update pte) on its ring in scheduler, then will kill scheduler which is going to waiting later job but pending running job. Signed-off-by: Chunming Zhou Acked-by: Christian K?n

[PATCH 05/31] drm/amdgpu: add backend implementation of gpu scheduler (v2)

2015-07-31 Thread Alex Deucher
From: Chunming Zhou v2: fix rebase breakage Signed-off-by: Chunming Zhou Acked-by: Christian K?nig Reviewed-by: Jammy Zhou --- drivers/gpu/drm/amd/amdgpu/Makefile | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 8 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 3 +- drivers/

[PATCH 06/31] drm/amdgpu: add bo list copy

2015-07-31 Thread Alex Deucher
From: Chunming Zhou Signed-off-by: Chunming Zhou Acked-by: Christian K?nig Reviewed-by: Jammy Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c | 50 + 2 files changed, 53 insertions(+) diff --git a/drivers/g

[PATCH 11/31] drm/amdgpu: add kernel ctx support (v2)

2015-07-31 Thread Alex Deucher
From: Chunming Zhou v2: rebase against kfd changes Signed-off-by: Chunming Zhou Acked-by: Christian K?nig Reviewed-by: Jammy Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 3 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c| 83 +- drivers/gpu/drm/amd/amdgpu

[PATCH 14/31] drm/amdgpu: protect fence_process from multiple context

2015-07-31 Thread Alex Deucher
From: Chunming Zhou fence_process may be called from kthread, user thread and interrupt context. it is possible to called concurrently, then will wake up fence queue multiple times. Signed-off-by: Chunming Zhou Reviewed-by: Jammy Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + driv

[PATCH 15/31] drm/amdgpu: add enable_scheduler module option

2015-07-31 Thread Alex Deucher
From: Jammy Zhou Signed-off-by: Jammy Zhou Acked-by: Christian K?nig Reviewed-by: Jammy Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index c69611a..d27

[PATCH 16/31] drm/amdgpu: add check for callback

2015-07-31 Thread Alex Deucher
From: Chunming Zhou it is possible that the callback isn't defined sometimes. Signed-off-by: Chunming Zhou Reviewed-by: Christian K?nig --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/dr

  1   2   >