Re: Bonair support Kernel compiling instructions

2016-09-25 Thread Michel Dänzer
On 26/09/16 02:55 AM, Striker Leggette wrote: > > I am running a Lenovo Y700 with an R7 Carrizo APU and an R9 Bonaire GPU > on Fedora 24. At the moment, the latest Fedora Kernel supports amdgpu > for the Carrizo, and many things run very well on this. However, if I > run an application on the

[PATCH] drm/amdgpu: don't leave dangling pointers around

2016-09-25 Thread Grazvydas Ignotas
Right now it's possible to trigger fence_drv.fences[] dereference after the array has been freed. While the real problem is elsewhere, this still results in confusing errors that depend on how the freed memory was reused (I've seen "kernel tried to execute NX-protected page"), it's better to clear

[PATCH] drm/amdgpu/i2c: add const where appropriate

2016-09-25 Thread Grazvydas Ignotas
Signed-off-by: Grazvydas Ignotas --- drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | 14 +++--- drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h | 14 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c

[PATCH] drm/amdgpu/vce3: don't forget to tear down some rings

2016-09-25 Thread Grazvydas Ignotas
We can use .num_rings for that. Fixes: 6f0359ff7307 ("vce3: add support for third vce ring") Cc: Alex Deucher Signed-off-by: Grazvydas Ignotas --- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-)

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

2016-09-25 Thread Michel Dänzer
On 23/09/16 09:09 PM, Daniel Vetter wrote: > On Fri, Sep 23, 2016 at 07:00:25PM +0900, Michel Dänzer wrote: >> On 22/09/16 10:22 PM, Christian König wrote: >>> Am 22.09.2016 um 15:05 schrieb Daniel Vetter: But the current approach in amdgpu_sync.c of declaring a fence as exclusive

[PATCH] drm/amdgpu: fix addr handling in amdgpu_vm_bo_update_mapping

2016-09-25 Thread Christian König
From: Christian König Otherwise we will look at the wrong place in the IB when GART mappings are split into smaller updates. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 1 + 1 file changed, 1 insertion(+)

Bonair support Kernel compiling instructions

2016-09-25 Thread Striker Leggette
Hi all, I am running a Lenovo Y700 with an R7 Carrizo APU and an R9 Bonaire GPU on Fedora 24. At the moment, the latest Fedora Kernel supports amdgpu for the Carrizo, and many things run very well on this. However, if I run an application on the Bonaire using radeon, I get even less FPS in