[Bug 91516] Hang on Dota 2 Reborn with Unsafe Math

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/4b4f5cab/attachment.html>

[Bug 91516] Hang on Dota 2 Reborn with Unsafe Math

2015-07-31 Thread bugzilla-dae...@freedesktop.org
is 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/840861b2/attachment.html>

[Bug 91516] Hang on Dota 2 Reborn with Unsafe Math

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

[Bug 91509] Depth render buffer corruption

2015-07-31 Thread bugzilla-dae...@freedesktop.org
ktop.org/archives/dri-devel/attachments/20150731/6b38b731/attachment.html>

[Bug 91509] Depth render buffer corruption

2015-07-31 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/20150731/645c3949/attachment.html>

[Bug 91509] Depth render buffer corruption

2015-07-31 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/20150731/217247ab/attachment-0001.html>

[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 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] 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 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

[PATCH 31/31] drm/amdgpu: move wait_queue_head from adev to ring (v2)

2015-07-31 Thread Alex Deucher
From: "monk.liu" thus unnecessary wake up could be avoid between rings v2: move wait_queue_head to fence_drv from ring Signed-off-by: monk.liu Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 225 ++--

[PATCH 30/31] drm/amdgpu: re-implement fence_default_wait

2015-07-31 Thread Alex Deucher
From: "monk.liu" use fence_wait_any to implement fence_default_wait Signed-off-by: monk.liu Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 37 --- 1 file changed, 4 insertions(+), 33 deletions(-) diff --git a/drivers/gpu/drm/amd/amdg

[PATCH 29/31] drm/amdgpu: new implement for fence_wait_any (v2)

2015-07-31 Thread Alex Deucher
From: "monk.liu" origninal method will sleep/schedule at the granurarity of HZ/2 and based on seq signal method, the new implement is based on kernel fance interface, no unnecessary schedule at all v2: replace logic of original amdgpu_fence_wait_any Signed-off-by: monk.liu Reviewed-by: Christi

[PATCH 28/31] drm/amdgpu: use kernel fence interface when possible

2015-07-31 Thread Alex Deucher
From: "monk.liu" Signed-off-by: monk.liu Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c index c

[PATCH 27/31] drm/amdgpu: use scheduler for VCE ib test

2015-07-31 Thread Alex Deucher
From: Chunming Zhou Signed-off-by: Chunming Zhou Reviewed-by: Christian K?nig --- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 158 ++-- 1 file changed, 90 insertions(+), 68 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgp

[PATCH 26/31] drm/amdgpu: use scheduler for UVD ib test

2015-07-31 Thread Alex Deucher
From: Chunming Zhou Signed-off-by: Chunming Zhou Reviewed-by: Christian K?nig --- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 61 +++-- 1 file changed, 42 insertions(+), 19 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c b/drivers/gpu/drm/amd/amdgp

[PATCH 25/31] drm/amdgpu: use gpu scheduler for sdma ib test

2015-07-31 Thread Alex Deucher
From: Chunming Zhou Signed-off-by: Chunming Zhou Reviewed-by: Christian K?nig --- drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 25 +++-- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 26 -- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 25 +++--

[PATCH 24/31] drm/amdgpu: Use gpu scheduler for gfx ring ib test

2015-07-31 Thread Alex Deucher
From: Chunming Zhou Signed-off-by: Chunming Zhou Reviewed-by: Christian K?nig --- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 28 ++-- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 27 +-- 2 files changed, 27 insertions(+), 28 deletions(-) diff --git a/dr

[PATCH 23/31] drm/amdgpu: add helper function for kernel submission

2015-07-31 Thread Alex Deucher
From: Chunming Zhou Signed-off-by: Chunming Zhou Reviewed-by: Christian K?nig --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 7 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | 35 +++ 2 files changed, 42 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/a

[PATCH 22/31] drm/amdgpu: fix seq in ctx_add_fence

2015-07-31 Thread Alex Deucher
From: Chunming Zhou if enabling scheduler, then the queued seq is assigned when pushing job before emitting job. Signed-off-by: Chunming Zhou Reviewed-by: Christian K?nig --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c| 5 ++--- drivers/gpu/dr

[PATCH 21/31] drm/amdgpu: wait forever for wait emit

2015-07-31 Thread Alex Deucher
From: Chunming Zhou the job must be emitted by scheduler, otherwise scheduler is abnormal. Signed-off-by: Chunming Zhou Reviewed-by: Christian K?nig --- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 +++--- 2 files changed, 5 insertions(+), 5 de

[PATCH 20/31] drm/amdgpu: add amdgpu.sched_hw_submission option

2015-07-31 Thread Alex Deucher
From: Jammy Zhou This option can be used to specify the max number of submissions in the active HW queue. The default value is 2 now. Signed-off-by: Jammy Zhou Reviewed-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4

[PATCH 19/31] drm/amdgpu: add amdgpu.sched_jobs option

2015-07-31 Thread Alex Deucher
From: Jammy Zhou This option can be used to specify the max job number in the job queue, and it is 16 by default. Signed-off-by: Jammy Zhou Reviewed-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 3 ++- drivers/gpu/dr

[PATCH 18/31] drm/amdgpu: silent the message for GPU scheduler creation

2015-07-31 Thread Alex Deucher
From: Jammy Zhou Signed-off-by: Jammy Zhou Reviewed-by: Chunming Zhou --- drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c index 296496c..5799474 100

[PATCH 17/31] drm/amdgpu: fix syncing to VM updates

2015-07-31 Thread Alex Deucher
From: Christian König Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_s

[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

[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 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 13/31] drm/amdgpu: add sched isr to fence process

2015-07-31 Thread Alex Deucher
From: Chunming Zhou Signed-off-by: Chunming Zhou Reviewed-by: Jammy Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c i

[PATCH 12/31] drm/amdgpu: dispatch job for vm

2015-07-31 Thread Alex Deucher
From: Chunming Zhou use kernel context to submit command for vm Signed-off-by: Chunming Zhou Acked-by: Christian K?nig Reviewed-by: Jammy Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 20 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 245 ++--- 2 files changed

[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 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 09/31] drm/amdgpu: make sure the fence is emitted before ring to get it.

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_cs.c| 26 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 10 ++ drive

[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 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 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 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 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 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 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 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 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] 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

[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: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

[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

[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 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] 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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/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] 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: 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 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 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 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 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 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] 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 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

[Bug 90774] New account request

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

[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

[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 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 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

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 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.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 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] 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/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 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

  1   2   >