[Bug 98351] LibreOffice' OpenGL backend hangs GPU (ring 0&3 stalled)

2016-11-05 Thread bugzilla-dae...@freedesktop.org
attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161105/f03595cf/attachment.html>

[Bug 98604] [VDPAU, radeonsi] Fullscreen flash video fails when hardware acceleration is enabled.

2016-11-05 Thread bugzilla-dae...@freedesktop.org
|x86-64 (AMD64) -- 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/20161105/8f7aff92/attachment.html>

[Bug 98604] [VDPAU, radeonsi] Fullscreen flash video fails when hardware acceleration is enabled.

2016-11-05 Thread bugzilla-dae...@freedesktop.org
rg/archives/dri-devel/attachments/20161105/e9ab039e/attachment.html>

[Bug 98518] [r600g, bisected] regression: NI/Turks MSAA texture corruption with FreeCAD and Wine games

2016-11-05 Thread bugzilla-dae...@freedesktop.org
because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161105/c2724452/attachment.html>

[Bug 98518] [r600g, bisected] regression: NI/Turks MSAA texture corruption with FreeCAD and Wine games

2016-11-05 Thread bugzilla-dae...@freedesktop.org
tps://lists.freedesktop.org/archives/dri-devel/attachments/20161105/b072fa0b/attachment-0001.html>

redraw issues on i915 since 4.9-rc

2016-11-05 Thread Chris Wilson
On Sat, Nov 05, 2016 at 01:27:30PM +0900, Norbert Preining wrote: > > It won't apply directly, but you could try testing that commit and its > > parent to see if my hunch was correct. > > Unfortunately parent commit was also ok. I am trying to bisect, but > somehow git tells me something about

[PATCH] drm/amdgpu: Attach exclusive fence to prime exported bo's. (v2)

2016-11-05 Thread Mario Kleiner
On 11/05/2016 01:06 PM, Christian König wrote: > Am 05.11.2016 um 01:56 schrieb Mario Kleiner: >> External clients which import our bo's wait only >> for exclusive dmabuf-fences, not on shared ones, >> so attach fences on such exported buffers as >> exclusive ones. >> >> See discussion in thread:

[Bug 98573] Mesa build fail since radeonsi: use PS epilog for monolithic shaders

2016-11-05 Thread bugzilla-dae...@freedesktop.org
tps://lists.freedesktop.org/archives/dri-devel/attachments/20161105/49457db4/attachment.html>

[Bug 98518] [r600g, bisected] regression: NI/Turks MSAA texture corruption with FreeCAD and Wine games

2016-11-05 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161105/7c55c5df/attachment.html>

[PATCH] drm: move allocation out of drm_get_format_name()

2016-11-05 Thread Eric Engestrom
On Saturday, 2016-11-05 13:11:36 +0100, Christian König wrote: > Am 05.11.2016 um 02:33 schrieb Eric Engestrom: > > +typedef char drm_format_name_buf[32]; > > Please don't use a typedef for this, just define the maximum size of > characters the function might write somewhere. > > See the kernel

[PATCH] drm: move allocation out of drm_get_format_name()

2016-11-05 Thread Thomas Hellstrom
For the vmwgfx part: Acked-by: Thomas Hellstrom On 11/05/2016 08:33 AM, Eric Engestrom wrote: > Fixes: 90844f00049e9f42573fd31d7c32e8fd31d3fd07 > > drm: make drm_get_format_name thread-safe > > Signed-off-by: Eric Engestrom > [danvet: Clarify that the returned pointer must be

[PATCH] drm/amdgpu: fix alloc_cast.cocci warnings

2016-11-05 Thread kbuild test robot
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1225:10-29: WARNING: casting value returned by memory allocation function to (struct dma_fence * *) is useless. Remove casting the values returned by memory allocation functions like kmalloc, kzalloc, kmem_cache_alloc, kmem_cache_zalloc etc. Semantic

[radeon-alex:drm-next-4.10-wip 56/56] drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1225:10-29: WARNING: casting value returned by memory allocation function to (struct dma_fence * *) is useless.

2016-11-05 Thread kbuild test robot
tree: git://people.freedesktop.org/~agd5f/linux.git drm-next-4.10-wip head: 2f5945e707b5dffbf12444ad8bea079626ad30ec commit: 2f5945e707b5dffbf12444ad8bea079626ad30ec [56/56] drm/amdgpu: add the interface of waiting multiple fences (v4) coccinelle warnings: (new ones prefixed by >>) >>

redraw issues on i915 since 4.9-rc

2016-11-05 Thread Norbert Preining
> It won't apply directly, but you could try testing that commit and its > parent to see if my hunch was correct. Unfortunately parent commit was also ok. I am trying to bisect, but somehow git tells me something about "...merge commit..." - will see how it goes. Norbert -- PREINING Norbert +

[PATCH 1/2] dma-buf: return index of the first signaled fence (v2)

2016-11-05 Thread Christian König
Am 04.11.2016 um 21:16 schrieb Alex Deucher: > From: "monk.liu" > > Return the index of the first signaled fence. This information > is useful in some APIs like Vulkan. > > v2: rebase on drm-next (fence -> dma_fence) > > Signed-off-by: monk.liu > Signed-off-by: Alex Deucher > Cc: Sumit Semwal

[PATCH] drm: move allocation out of drm_get_format_name()

2016-11-05 Thread Christian König
Am 05.11.2016 um 02:33 schrieb Eric Engestrom: > +typedef char drm_format_name_buf[32]; Please don't use a typedef for this, just define the maximum size of characters the function might write somewhere. See the kernel coding style as well: > In general, a pointer, or a struct that has elements

[PATCH] drm/amdgpu: Attach exclusive fence to prime exported bo's. (v2)

2016-11-05 Thread Christian König
Am 05.11.2016 um 01:56 schrieb Mario Kleiner: > External clients which import our bo's wait only > for exclusive dmabuf-fences, not on shared ones, > so attach fences on such exported buffers as > exclusive ones. > > See discussion in thread: >

[PATCH] drm: move allocation out of drm_get_format_name()

2016-11-05 Thread Rob Clark
On Sat, Nov 5, 2016 at 12:38 PM, Eric Engestrom wrote: > On Saturday, 2016-11-05 13:11:36 +0100, Christian König wrote: >> Am 05.11.2016 um 02:33 schrieb Eric Engestrom: >> > +typedef char drm_format_name_buf[32]; >> >> Please don't use a typedef for this, just define the maximum size of >>

[PATCH 5/5] drm/msm/mdp5: handle SMP block allocations "atomically"

2016-11-05 Thread Rob Clark
Previously, SMP block allocation was not checked in the plane's atomic_check() fxn, so we could fail allocation SMP block allocation at atomic_update() time. Re-work the block allocation to request blocks during atomic_check(), but not update the hw until committing the atomic update. Since SMP

[PATCH 4/5] drm/msm/mdp5: dynamically assign hw pipes to planes

2016-11-05 Thread Rob Clark
(re)assign the hw pipes to planes based on required caps, and to handle situations where we could not modify an in-use plane (ie. SMP block reallocation). This means all planes advertise the superset of formats and properties. Userspace must (as always) use atomic TEST_ONLY step for atomic

[PATCH 3/5] drm/msm/mdp5: add skeletal mdp5_state

2016-11-05 Thread Rob Clark
Add basic state duplication/apply mechanism. Following commits will move actual global hw state into this. The state_lock allows multiple concurrent updates to proceed as long as they don't both try to alter global state. The ww_mutex mechanism will trigger backoff in case of deadlock between

[PATCH 2/5] drm/msm: subclass drm_atomic_state

2016-11-05 Thread Rob Clark
This will give the kms backends a slot to stash their own hw specific global state. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/msm_atomic.c | 31 +++ drivers/gpu/drm/msm/msm_drv.c| 3 +++ drivers/gpu/drm/msm/msm_drv.h| 3 +++

[PATCH 1/5] drm/msm/mdp5: introduce mdp5_hw_pipe

2016-11-05 Thread Rob Clark
Split out the hardware pipe specifics from mdp5_plane. To start, the hw pipes are statically assigned to planes, but next step is to assign the hw pipes during plane->atomic_check() based on requested caps (scaling, YUV, etc). And then hw pipe re-assignment if required if required SMP blocks

[PATCH 0/5] drm/msm/mdp5: atomic smp + hwpipe assignment

2016-11-05 Thread Rob Clark
In the process of getting kms fence fd (and related gpu egl fence fd extension) working with real hardware (using android drm-hwc) I found a lot of issues w/ plane support. Perhaps that is to be expected the first time getting a userspace that actually makes heavy use of overlay planes working.

[PATCH 7/7] drm/msm: module param to dump state on error irq

2016-11-05 Thread Rob Clark
Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/mdp/mdp4/mdp4_irq.c | 10 ++ drivers/gpu/drm/msm/mdp/mdp5/mdp5_irq.c | 11 +++ drivers/gpu/drm/msm/msm_drv.c | 4 3 files changed, 25 insertions(+) diff --git a/drivers/gpu/drm/msm/mdp/mdp4/mdp4_irq.c

[PATCH 6/7] drm/msm/mdp5: add atomic_print_state support

2016-11-05 Thread Rob Clark
We subclass drm_plane_state, so add mdp5_plane_atomic_print_state() to dump out our own driver specific plane state. Signed-off-by: Rob Clark Reviewed-by: Sean Paul --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h | 12 drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 18

[PATCH 5/7] drm/atomic: add debugfs file to dump out atomic state

2016-11-05 Thread Rob Clark
Useful to dump current state from debugfs, if turning on the drm.debug bit is too much overhead. The drm_state_dump() can also be used by drivers, for example to implement a module param that dumps state on error irqs. Signed-off-by: Rob Clark Reviewed-by: Sean Paul ---

[PATCH 4/7] drm/atomic: add new drm_debug bit to dump atomic state

2016-11-05 Thread Rob Clark
The contents of drm_{plane,crtc,connector}_state is dumped before commit. If a driver extends any of the state structs, it can implement the corresponding funcs->atomic_print_state() to add it's own driver specific state. Signed-off-by: Rob Clark --- drivers/gpu/drm/drm_atomic.c | 93

[PATCH 3/7] drm: add helpers to go from plane state to drm_rect

2016-11-05 Thread Rob Clark
Signed-off-by: Rob Clark Reviewed-by: Sean Paul --- drivers/gpu/drm/drm_plane_helper.c | 11 ++- drivers/gpu/drm/i915/intel_display.c | 10 ++ drivers/gpu/drm/i915/intel_sprite.c | 11 ++- include/drm/drm_plane.h | 23 +++ 4 files

[PATCH 2/7] drm: add helper for printing to log or seq_file

2016-11-05 Thread Rob Clark
Sometimes it is nice not to duplicate equivalent printk() and seq_printf() code. v2: simplify things w/ va_format, and use dev_printk, docs Signed-off-by: Rob Clark --- Documentation/gpu/drm-internals.rst | 17 ++ drivers/gpu/drm/Makefile| 2 +- drivers/gpu/drm/drm_print.c

[PATCH 1/7] drm: helper macros to print composite types

2016-11-05 Thread Rob Clark
I'll want to print things in a similar way in a later patch. This will make it easier. Signed-off-by: Rob Clark Reviewed-by: Sean Paul --- drivers/gpu/drm/drm_modes.c | 8 +--- drivers/gpu/drm/drm_rect.c | 11 ++- include/drm/drmP.h | 21 + 3 files

[PATCH 0/7] drm: add atomic state logging and debugfs

2016-11-05 Thread Rob Clark
I realized that I had not re-sent this after updating from review comments, and adding kerneldoc. The drm/msm bits I can include in my msm-next pull-req for 4.10. Just including them here to show example usage. There will be a minor conflict to resolve around drm_get_format_name(), depending on

[PATCH] drm: don't override possible_crtcs for primary/cursor planes

2016-11-05 Thread Rob Clark
It is kind of a pointless restriction. If userspace does silly things like using crtcA's cursor plane on crtcB, and then setcursor on crtcA, it will end up with the overlay disabled on crtcB. But userspace is allowed to shoot itself like this. v2: don't WARN_ON() if caller did not set

[PATCH] drm/sun4i: Fix error handling

2016-11-05 Thread Christophe JAILLET
Le 02/11/2016 à 19:14, Maxime Ripard a écrit : > Hi, > > On Sun, Oct 30, 2016 at 12:53:02PM +0100, Christophe JAILLET wrote: >> BTW, memory allocation in 'sun4i_layers_init()' looks spurious, especially >> the use of 'layer' in the for loop. >> Just my 2 cents. > What do you mean by it's

linux-next: manual merge of the mali-dp tree with the drm-misc tree

2016-11-05 Thread Stephen Rothwell
Hi Liviu, On Fri, 4 Nov 2016 15:48:02 + Liviu Dudau wrote: > > Brian Starkey is a co-maintainer for the Mali DP tree, so his Signed-off-by > alone should be good. Baoyou's patch is in my tree to stop him repeatedly > send me the same patch over and over again :) But yes, I will add my >

redraw issues on i915 since 4.9-rc

2016-11-05 Thread Norbert Preining
Hi Chris, > https://cgit.freedesktop.org/drm-intel/ I pulled from there and rebuild my kernel. Rebooting and everything is fine. Looks much better!!! > https://cgit.freedesktop.org/drm-intel/commit/?h=drm-intel-next-queued=d2a84a76a3b970fa32e6eda3d85e7782f831379e Do you want me to test this

[PATCH] drm/i915: Before pageflip, also wait for shared dmabuf fences.

2016-11-05 Thread Mario Kleiner
On 10/28/2016 07:48 PM, Christian König wrote: > Am 28.10.2016 um 19:37 schrieb Mario Kleiner: >> >> >> On 10/28/2016 03:34 AM, Michel Dänzer wrote: >>> On 27/10/16 10:33 PM, Mike Lothian wrote: Just another gentle ping to see where you are with this? >>> >>> I haven't got a chance

[PATCH] drm/amdgpu: Attach exclusive fence to prime exported bo's. (v2)

2016-11-05 Thread Mario Kleiner
External clients which import our bo's wait only for exclusive dmabuf-fences, not on shared ones, so attach fences on such exported buffers as exclusive ones. See discussion in thread: https://lists.freedesktop.org/archives/dri-devel/2016-October/122370.html Tested on Intel iGPU + AMD Tonga dGPU

[PATCH] drm: move allocation out of drm_get_format_name()

2016-11-05 Thread Eric Engestrom
Fixes: 90844f00049e9f42573fd31d7c32e8fd31d3fd07 drm: make drm_get_format_name thread-safe Signed-off-by: Eric Engestrom [danvet: Clarify that the returned pointer must be freed with kfree().] Signed-off-by: Daniel Vetter Suggested-by: Ville Syrjälä Signed-off-by: Eric

[PATCH] drm: make drm_get_format_name atomic/irq safe again

2016-11-05 Thread Eric Engestrom
On Friday, 2016-11-04 13:50:25 -0400, Rob Clark wrote: > On Fri, Nov 4, 2016 at 1:32 PM, Eric Engestrom > wrote: > > On Friday, 2016-11-04 13:12:51 -0400, Rob Clark wrote: > >> On Fri, Nov 4, 2016 at 12:27 PM, Ville Syrjälä > >> wrote: > >> > On Fri, Nov 04, 2016 at 11:32:45AM -0400, Rob Clark

[Bug 98573] Mesa build fail since radeonsi: use PS epilog for monolithic shaders

2016-11-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=98573 Mauro Rossi changed: What|Removed |Added CC||issor.oruam at gmail.com --- Comment #4