Re: [Mesa-dev] [PATCH] anv/gpu_memcpy: CS Stall before a MI memcpy on gen7

2018-02-20 Thread Nanley Chery
On Sat, Feb 17, 2018 at 01:21:15AM -0800, Kenneth Graunke wrote: > On Saturday, February 17, 2018 1:09:10 AM PST Jason Ekstrand wrote: > > This fixes a pile of hangs caused by the recent shuffling of resolves > > and transitions. The particularly problematic case is when you have at > > least thre

Re: [Mesa-dev] [PATCH] anv/gpu_memcpy: CS Stall before a MI memcpy on gen7

2018-02-20 Thread Jason Ekstrand
On Sat, Feb 17, 2018 at 1:42 AM, Jason Ekstrand wrote: > On Sat, Feb 17, 2018 at 1:21 AM, Kenneth Graunke > wrote: > >> On Saturday, February 17, 2018 1:09:10 AM PST Jason Ekstrand wrote: >> > This fixes a pile of hangs caused by the recent shuffling of resolves >> > and transitions. The partic

Re: [Mesa-dev] [PATCH] anv/gpu_memcpy: CS Stall before a MI memcpy on gen7

2018-02-17 Thread Jason Ekstrand
On Sat, Feb 17, 2018 at 1:21 AM, Kenneth Graunke wrote: > On Saturday, February 17, 2018 1:09:10 AM PST Jason Ekstrand wrote: > > This fixes a pile of hangs caused by the recent shuffling of resolves > > and transitions. The particularly problematic case is when you have at > > least three attac

Re: [Mesa-dev] [PATCH] anv/gpu_memcpy: CS Stall before a MI memcpy on gen7

2018-02-17 Thread Kenneth Graunke
On Saturday, February 17, 2018 1:09:10 AM PST Jason Ekstrand wrote: > This fixes a pile of hangs caused by the recent shuffling of resolves > and transitions. The particularly problematic case is when you have at > least three attachments with load ops of CLEAR, LOAD, CLEAR. In this > case, we ex

[Mesa-dev] [PATCH] anv/gpu_memcpy: CS Stall before a MI memcpy on gen7

2018-02-17 Thread Jason Ekstrand
This fixes a pile of hangs caused by the recent shuffling of resolves and transitions. The particularly problematic case is when you have at least three attachments with load ops of CLEAR, LOAD, CLEAR. In this case, we execute the first CLEAR followed by a MI memcpy to copy the clear values over