Re: [PATCH 3/4] drm/amdkfd: Add CWSR support

2017-11-21 Thread Oded Gabbay
ds > Shaoyun.liu > > -Original Message- > From: Oded Gabbay [mailto:oded.gab...@gmail.com] > Sent: Sunday, November 19, 2017 8:38 AM > To: Kuehling, Felix > Cc: amd-gfx list; Liu, Shaoyun; Zhao, Yong > Subject: Re: [PATCH 3/4] drm/amdkfd: Add CWSR support > >

RE: [PATCH 3/4] drm/amdkfd: Add CWSR support

2017-11-20 Thread Liu, Shaoyun
Subject: Re: [PATCH 3/4] drm/amdkfd: Add CWSR support On Tue, Nov 14, 2017 at 11:41 PM, Felix Kuehling <felix.kuehl...@amd.com> wrote: > This hardware feature allows the GPU to preempt shader execution in > the middle of a compute wave, save the state and restore it later to > r

Re: [PATCH 3/4] drm/amdkfd: Add CWSR support

2017-11-19 Thread Oded Gabbay
On Tue, Nov 14, 2017 at 11:41 PM, Felix Kuehling wrote: > This hardware feature allows the GPU to preempt shader execution in > the middle of a compute wave, save the state and restore it later > to resume execution. > > Memory for saving the state is allocated per queue

[PATCH 3/4] drm/amdkfd: Add CWSR support

2017-11-14 Thread Felix Kuehling
This hardware feature allows the GPU to preempt shader execution in the middle of a compute wave, save the state and restore it later to resume execution. Memory for saving the state is allocated per queue in user mode and the address and size passed to the create_queue ioctl. The size depends on