Re: [PATCH 2/2] drm/amdgpu: bind GTT on demand

2016-09-22 Thread Andy Furniss
Marek Olšák wrote: This breaks Tonga such that it hangs. Reproducible quickly with: R600_DEBUG=testdma glxgears It's a randomized test that runs forever. It should hang within 2 seconds. So what is the status of this now? R600_DEBUG=testdma glxgears isn't a test I've run on my r9285 tonga

[amdgpu][CIK] drm-next-4.9-wip - piglit test - max-texture-size - GPU deadlock

2016-09-22 Thread Shawn Starr
When I try to run piglit, I get a GPU deadlock running max-texture-size, Test: spec/!opengl 1.1/max-texture-size I will begin bisecting kernel driver, but if anyone has some tips on likely commits I can test further. Thanks, Shawn ___ amd-gfx

[PATCH 2/2] drm/radeon: always apply pci shutdown callbacks

2016-09-22 Thread Alex Deucher
We can't properly detect all hypervisors and we need this to properly tear down the hardware. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_drv.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH] drm/amdgpu: Constify tables

2016-09-22 Thread Nils Wallménius
Mark some powerplay tables as 'const' and adjust pointers acessing them to avoid introducing warnings. Signed-off-by: Nils Wallménius --- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 2 +- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c | 12

[PATCH] drm/amdgpu: bump version for new vce packet support

2016-09-22 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index 0c5f36d..e7ae6723 100644 ---

Re: [PATCH] drm/amdgpu: bump version for new vce packet support

2016-09-22 Thread Christian König
Am 22.09.2016 um 00:07 schrieb Alex Deucher: Signed-off-by: Alex Deucher Reviewed-by: Christian König . --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] drm/amdgpu/vce: allow the clock table packet

2016-09-22 Thread Christian König
Am 21.09.2016 um 22:36 schrieb Alex Deucher: This packet allows the user mode driver to specify the required performance for specific use cases. Signed-off-by: Alex Deucher Reviewed-by: Christian König ---

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

2016-09-22 Thread Daniel Vetter
On Thu, Sep 22, 2016 at 12:07:24AM +0900, Michel Dänzer wrote: > On 21/09/16 09:56 PM, Daniel Vetter wrote: > > On Wed, Sep 21, 2016 at 1:19 PM, Christian König > > wrote: > >> Am 21.09.2016 um 13:04 schrieb Daniel Vetter: > >>> On Wed, Sep 21, 2016 at 12:30 PM, Christian

[PATCH] Revert "drm/amdgpu:correct smc fw version error"

2016-09-22 Thread Huang Rui
From: Huang Rui This reverts commit bb2a2de6e2ea0e99d0d1a20d06536c4dcd66a196. SMC firmware version error should be fixed while ucode is generated. I would do the fix in firmware side. Signed-off-by: Huang Rui Cc: Monk Liu ---

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

2016-09-22 Thread Daniel Vetter
On Thu, Sep 22, 2016 at 12:55 PM, Christian König wrote: > Am 22.09.2016 um 08:36 schrieb Daniel Vetter: >> >> On Wed, Sep 21, 2016 at 06:23:35PM +0200, Christian König wrote: >>> >>> For a quick workaround I suggest to just serialize all accesses to BO >>> shared >>>

[PATCH 3/3] drm/amd/amdgpu: Various cleanups for DCEv6

2016-09-22 Thread Tom St Denis
Signed-off-by: Tom St Denis --- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 46 --- 1 file changed, 10 insertions(+), 36 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c index

[PATCH 2/3] drm/amd/amdgpu: Clean up afmt allocation in DCEv6.

2016-09-22 Thread Tom St Denis
Signed-off-by: Tom St Denis --- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c index e41d583740b5..dce5414f4ae3 100644

Remainder of small cleanups for DCEv6

2016-09-22 Thread Tom St Denis
Small cleanups to sync up DCEv6 with the style of the others ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Re: [PATCH 3/3] drm/amd/amdgpu: Various cleanups for DCEv6

2016-09-22 Thread Alex Deucher
On Thu, Sep 22, 2016 at 12:43 PM, Tom St Denis wrote: > Signed-off-by: Tom St Denis Series is: Reviewed-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 46 > --- > 1 file

[PATCH] drm/amdgpu: fix amdgpu_vm_bo_update param error

2016-09-22 Thread Flora Cui
Change-Id: I86dc7d3fc4d6197bd13563a420718a8412ce9dbc Signed-off-by: Flora Cui --- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c

RE: [PATCH] Revert "drm/amdgpu:correct smc fw version error"

2016-09-22 Thread Deucher, Alexander
> -Original Message- > From: Huang Rui [mailto:ray.hu...@amd.com] > Sent: Thursday, September 22, 2016 4:01 AM > To: amd-gfx@lists.freedesktop.org; Deucher, Alexander > Cc: Huang, Ray; Liu, Monk > Subject: [PATCH] Revert "drm/amdgpu:correct smc fw version error" > > From: Huang Rui

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

2016-09-22 Thread Christian König
Am 22.09.2016 um 15:05 schrieb Daniel Vetter: On Thu, Sep 22, 2016 at 2:44 PM, Christian König wrote: - explicit fencing: Userspace passes around distinct fence objects for any work going on on the gpu. The kernel doesn't insert any stall of it's own (except for moving

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

2016-09-22 Thread Christian König
Am 22.09.2016 um 08:36 schrieb Daniel Vetter: On Wed, Sep 21, 2016 at 06:23:35PM +0200, Christian König wrote: For a quick workaround I suggest to just serialize all accesses to BO shared with different drivers, but essentially I think it is a perfectly valid requirement to have multiple

Re: [PATCH] drm/amdgpu: fix amdgpu_vm_bo_update param error

2016-09-22 Thread Christian König
Am 22.09.2016 um 05:41 schrieb Flora Cui: Change-Id: I86dc7d3fc4d6197bd13563a420718a8412ce9dbc Signed-off-by: Flora Cui Good catch. That clearly results in some additional overhead if not worse otherwise. Patch is Reviewed-by: Christian König .

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

2016-09-22 Thread Daniel Vetter
On Thu, Sep 22, 2016 at 2:44 PM, Christian König wrote: >> - explicit fencing: Userspace passes around distinct fence objects for >> any work going on on the gpu. The kernel doesn't insert any stall of >> it's own (except for moving buffer objects around ofc). This is