[PATCH 3/4] README: minor update for cmake buildsys

2017-02-04 Thread Edward O'Callaghan
Signed-off-by: Edward O'Callaghan --- README | 1 + 1 file changed, 1 insertion(+) diff --git a/README b/README index 2700736..7d8b025 100644 --- a/README +++ b/README @@ -32,6 +32,7 @@ To build umr you will need pciaccess and ncurses headers and libraries. Which are available in both Fedora a

[PATCH 2/4] cmake: Initial build system

2017-02-04 Thread Edward O'Callaghan
V.2: squash in, cmake: Add docs manpage build target cmake: Add install targets cmake: Misc fixes Signed-off-by: Edward O'Callaghan --- CMakeLists.txt | 40 doc/CMakeLists.txt | 3 +++ src/CMakeLists.txt | 6 ++

[PATCH 4/4] drop orginal Makefile && stub bin/ directory

2017-02-04 Thread Edward O'Callaghan
Signed-off-by: Edward O'Callaghan --- Makefile | 80 --- bin/.keep | 0 2 files changed, 80 deletions(-) delete mode 100644 Makefile delete mode 100644 bin/.keep diff --git a/Makefile b/Makefile deleted file mode 100644 index 5c4783

[RFC]: More robust build sys for UMR

2017-02-04 Thread Edward O'Callaghan
Keeping with the tradition of changing the build system on initial release, here we go again.. This follow series introduces the cmake build system that is intended to be a little more robust across various distros and presumably the BSD's also. The installation prefix is configurable in the usual

[PATCH 1/4] cmake_modules: Add libpciaccess finder

2017-02-04 Thread Edward O'Callaghan
Signed-off-by: Edward O'Callaghan --- cmake_modules/FindPCIAccess.cmake | 35 +++ 1 file changed, 35 insertions(+) create mode 100644 cmake_modules/FindPCIAccess.cmake diff --git a/cmake_modules/FindPCIAccess.cmake b/cmake_modules/FindPCIAccess.cmake new file mo

Re: [PATCH 3/6] drm/amdgpu: IOCTL interface for PRT support v3

2017-02-04 Thread Bas Nieuwenhuizen
On Sat, Feb 4, 2017, at 20:14, Bas Nieuwenhuizen wrote: > I get an error when trying to map a PRT region: > > [ 41.588224] BUG: unable to handle kernel NULL pointer dereference at > 01e8 > [ 41.589899] IP: [] > ttm_eu_reserve_buffers+0x136/0x370 [ttm] > [ 41.590424] PGD 0 > >

Re: [PATCH 3/6] drm/amdgpu: IOCTL interface for PRT support v3

2017-02-04 Thread Bas Nieuwenhuizen
I get an error when trying to map a PRT region: [ 41.588224] BUG: unable to handle kernel NULL pointer dereference at 01e8 [ 41.589899] IP: [] ttm_eu_reserve_buffers+0x136/0x370 [ttm] [ 41.590424] PGD 0 [ 41.590943] Oops: [#1] PREEMPT SMP [ 41.591468] Modules linked in

Initial Public Release of AMDGPU debugger

2017-02-04 Thread StDenis, Tom
Hello all, We're pleased to announce the initial public release of the AMDGPU User Mode Register debugger (umr). This tool allows privileged users to read and write GPU registers in order to diagnose, debug, and aid in development of AMDGPU features. The tool supports a variety of other comm

Re: [PATCH v5 0/3] Allow ASYNC flip with atomic helpers.

2017-02-04 Thread Edward O'Callaghan
Reviewed-by: Edward O'Callaghan On 02/04/2017 04:46 AM, Alex Deucher wrote: > On Thu, Feb 2, 2017 at 4:56 PM, Andrey Grodzovsky > wrote: >> This series is a folow-up on >> https://patchwork.kernel.org/patch/9501787/ >> >> The first patch makes changes to atomic helpers to allow for drives with

Re: [PATCH 13/13] drm/amdgpu: new queue policy, take first 2 queues of each pipe

2017-02-04 Thread Edward O'Callaghan
This series is, Reviewed-by: Edward O'Callaghan On 02/04/2017 03:51 PM, Andres Rodriguez wrote: > Instead of taking the first pipe and givint the rest to kfd, take the s/givint/giving/ > first 2 queues of each pipe. > > Effectively, amdgpu and amdkfd own the same number of queues. But > becaus

[PATCH 05/21] drm/amdgpu:BUG if gpu_reste and asic_reset from VF

2017-02-04 Thread Monk Liu
for SRIOV vf, Guest couldn't really access PCI registers so gpu_reset() and asic_reset should be avoided. for suspend it could run for SRIOV because cg/pg routine already modified for SRIOV vf case, besides we should remove the req/rel gpu access around it because the req/rel should be used by inv

[PATCH 07/21] drm/amdgpu:fix gart table vram pin

2017-02-04 Thread Monk Liu
if this call is from resume, shouldn't enter pin logic at all Change-Id: I40a5cdc2a716c4c20d2812fd74ece4ea284b6765 Signed-off-by: Monk Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c b/drivers/gpu

[PATCH 06/21] drm/amdgpu:cg & pg are not applied on VF

2017-02-04 Thread Monk Liu
Change-Id: I93a4e97f1d24a289ab20c2a62371f3e303322587 Signed-off-by: Monk Liu --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 9 + drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 6 ++ drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 6 ++ drivers/gpu/drm/amd/amdgpu/vi.c| 6 ++ 4 files c

[PATCH 02/21] drm/amdgpu:fix golden init for sriov

2017-02-04 Thread Monk Liu
although only vi supports SRIOV now,but we shouldn't make code has such assumption. Change-Id: Ie73c185dc2e7f64756253045b32cabe70d618d19 Signed-off-by: Monk Liu --- drivers/gpu/drm/amd/amdgpu/vi.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/amd

[PATCH 04/21] drm/amdgpu:fix powerplay logic

2017-02-04 Thread Monk Liu
1,like pp_hw_init, we shouldn't report error if PP disabled 2,disable pp_en if sriov Change-Id: I6d259f9609f223998bea236f64676b9c22133e4e Signed-off-by: Monk Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 2 +- drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 2 +- 2 files changed, 2 ins

amd-gfx@lists.freedesktop.org

2017-02-04 Thread Monk Liu
Change-Id: I39e0b77029d22dc3fb37e2f19da699647ae96aad Signed-off-by: Monk Liu --- drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c index ffe

[PATCH 01/21] drm/amdgpu:fix typo

2017-02-04 Thread Monk Liu
Change-Id: I68729b1d32d5e300b8f03a923d2065d51dbe6f7a Signed-off-by: Monk Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 463a43