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

2017-02-07 Thread Zhang, Jerry
...@basnieuwenhuizen.nl > Subject: [PATCH 3/6] drm/amdgpu: IOCTL interface for PRT support v3 > > From: Junwei Zhang > > Till GFX8 we can only enable PRT support globally, but with the next hardware > generation we can do this on a per page basis. > > Keep the interface consi

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

2017-02-05 Thread Christian König
Am 04.02.2017 um 20:14 schrieb 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] Oh, yeah the bug is rather obvious when I lo

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

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

2017-02-02 Thread Christian König
From: Junwei Zhang Till GFX8 we can only enable PRT support globally, but with the next hardware generation we can do this on a per page basis. Keep the interface consistent by adding PRT mappings and enable support globally on current hardware when the first mapping is made. v2: disable PRT su

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

2017-01-30 Thread Christian König
From: Junwei Zhang Till GFX8 we can only enable PRT support globally, but with the next hardware generation we can do this on a per page basis. Keep the interface consistent by adding PRT mappings and enable support globally on current hardware when the first mapping is made. v2: disable PRT su