[PATCH 5/6] drm/amdgpu: save the PD addr before scheduling the job

2016-06-16 Thread zhoucm1
On 2016年06月16日 17:52, Christian König wrote: > Am 16.06.2016 um 10:33 schrieb zhoucm1: >> >> >> On 2016年06月15日 19:44, Christian König wrote: >>> From: Christian König >>> >>> When we pipeline evictions the page directory could already be >>> moving somewhere else when grab_id is

[PATCH 5/6] drm/amdgpu: save the PD addr before scheduling the job

2016-06-16 Thread zhoucm1
On 2016年06月15日 19:44, Christian König wrote: > From: Christian König > > When we pipeline evictions the page directory could already be > moving somewhere else when grab_id is called. Isn't PD bo protected by job fence? I think before job fence is signalled, the PD bo is safe, there

[PATCH 5/6] drm/amdgpu: save the PD addr before scheduling the job

2016-06-16 Thread Christian König
Am 16.06.2016 um 11:54 schrieb zhoucm1: > > > On 2016年06月16日 17:52, Christian König wrote: >> Am 16.06.2016 um 10:33 schrieb zhoucm1: >>> >>> >>> On 2016年06月15日 19:44, Christian König wrote: From: Christian König When we pipeline evictions the page directory could

[PATCH 5/6] drm/amdgpu: save the PD addr before scheduling the job

2016-06-16 Thread Christian König
Am 16.06.2016 um 10:33 schrieb zhoucm1: > > > On 2016年06月15日 19:44, Christian König wrote: >> From: Christian König >> >> When we pipeline evictions the page directory could already be >> moving somewhere else when grab_id is called. > Isn't PD bo protected by job fence? > I think before

[PATCH 5/6] drm/amdgpu: save the PD addr before scheduling the job

2016-06-15 Thread Christian König
From: Christian König When we pipeline evictions the page directory could already be moving somewhere else when grab_id is called. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 ++ 2