Re: [PATCH] drm/ttm: swap consecutive allocated pooled pages v4

2017-12-06 Thread Dieter Nützel
Tested-by: Dieter Nützel Dieter Am 05.12.2017 13:54, schrieb Christian König: When we detect consecutive allocation of pages swap them to avoid accidentally freeing them as huge page. v2: use swap v3: check if it's really the first allocated page v4: don't touch the loop variable Signed-off-

Re: [PATCH] drm/ttm: swap consecutive allocated pooled pages v4

2017-12-06 Thread kbuild test robot
Hi Christian, I love your patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on v4.15-rc2 next-20171206] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

[PATCH v2 2/2] drm/sched: move fence slab handling to module init/exit

2017-12-06 Thread Lucas Stach
This is the only part of the scheduler which must not be called from different drivers. Move it to module init/exit so it is done a single time when loading the scheduler. Signed-off-by: Lucas Stach --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 drivers/gpu/drm/scheduler/sched_fence.

[PATCH v2 0/2] AMDGPU scheduler move, take 2

2017-12-06 Thread Lucas Stach
Hi all, second try to move the AMDGPU scheduler into a common location, this time rebased onto drm-next-4.16-wip. I've tested my etnaviv series on top of this and things seem to work fine. I checked that AMDGPU still builds, but I don't have any means to actually runtime test this currently, so I

[PATCH v2 1/2] drm: move amd_gpu_scheduler into common location

2017-12-06 Thread Lucas Stach
This moves and renames the AMDGPU scheduler to a common location in DRM in order to facilitate re-use by other drivers. This is mostly a straight forward rename with no code changes. One notable exception is the function to_drm_sched_fence(), which is no longer a inline header function to avoid th

[pull] amdgpu and ttm drm-fixes-4.15

2017-12-06 Thread Alex Deucher
Hi Dave, Fixes for 4.15: - Add licenses to files that were missing it - huge page fixes for ttm The following changes since commit 503505bfea19b7d69e2572297e6defa0f9c2404e: Merge branch 'drm-fixes-4.15' of git://people.freedesktop.org/~agd5f/linux into drm-fixes (2017-12-01 09:15:57 +1000) a

[pull] amdgpu, radeon, and ttm drm-next-4.16

2017-12-06 Thread Alex Deucher
Hi Dave, First feature request for 4.16. Highlights: - RV and Vega header cleanups - TTM operation context support - 48 bit GPUVM fixes for Vega/RV - More smatch fixes - ECC support for vega10 - Resizeable BAR support - Multi-display sync support in DC - SR-IOV fixes - Various scheduler improveme

Re: [PATCH v2 0/2] AMDGPU scheduler move, take 2

2017-12-06 Thread Alex Deucher
On Wed, Dec 6, 2017 at 11:49 AM, Lucas Stach wrote: > Hi all, > > second try to move the AMDGPU scheduler into a common location, this > time rebased onto drm-next-4.16-wip. > > I've tested my etnaviv series on top of this and things seem to work > fine. I checked that AMDGPU still builds, but I d

[PATCH] drm/scheduler: add license to the Makefile

2017-12-06 Thread Alex Deucher
Was missing before. Signed-off-by: Alex Deucher --- drivers/gpu/drm/scheduler/Makefile | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/gpu/drm/scheduler/Makefile b/drivers/gpu/drm/scheduler/Makefile index ed877912d06d..bd0377c0d2ee 100644 --- a/drivers/gpu/dr

Re: [PATCH v2 0/2] AMDGPU scheduler move, take 2

2017-12-06 Thread Andrey Grodzovsky
Tested with amdgpu libdrm tests and desktop login with glxgears. Thanks, Andrey On 12/06/2017 02:51 PM, Alex Deucher wrote: On Wed, Dec 6, 2017 at 11:49 AM, Lucas Stach wrote: Hi all, second try to move the AMDGPU scheduler into a common location, this time rebased onto drm-next-4.16-wip.

Deadlocks with multiple applications on AMD RX460 - Updated

2017-12-06 Thread Luís Mendes
With the AMD RX460: The commit 7aadd3abc1eedef97fc89adf6bf4602b224af890 - "drm/amdgpu: Fix amdgpu_sync_add_later to preserve explicit flag" cherry picked into drm-next-4.16 allows the glmark2 test to run until the end, otherwise it will deadlock immediately at the start of glmark2 terrain test. The

Re: [PATCH] drm/scheduler: add license to the Makefile

2017-12-06 Thread Chunming Zhou
Reviewed-by: Chunming Zhou On 2017年12月07日 03:53, Alex Deucher wrote: Was missing before. Signed-off-by: Alex Deucher --- drivers/gpu/drm/scheduler/Makefile | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/gpu/drm/scheduler/Makefile b/drivers/gpu/drm/sch

Re: [PATCH v2 0/2] AMDGPU scheduler move, take 2

2017-12-06 Thread Chunming Zhou
Looks ok to me, Reviewed-by: Chunming Zhou On 2017年12月07日 00:49, Lucas Stach wrote: Hi all, second try to move the AMDGPU scheduler into a common location, this time rebased onto drm-next-4.16-wip. I've tested my etnaviv series on top of this and things seem to work fine. I checked that AMDG

Re: [PATCH v2 0/2] AMDGPU scheduler move, take 2

2017-12-06 Thread Dieter Nützel
For the series: Tested-by: Dieter Nützel on RX580 8GB with UH, UV, Blender 2.79, smoketest (Vulkan), glmark2 (parallel with OpenCL (/opt/opencl-example>./run_tests.sh)) Dieter Am 06.12.2017 17:49, schrieb Lucas Stach: Hi all, second try to move the AMDGPU scheduler into a common location