Re: [Mesa-dev] [PATCH] winsys/radeon: fix nop packet padding for hawaii

2014-08-01 Thread Michel Dänzer
On 01.08.2014 23:46, Andreas Boll wrote: > 2014-08-01 16:32 GMT+02:00 Michel Dänzer : >> On 01.08.2014 22:09, Andreas Boll wrote: >>> The initial firmware for hawaii does not support type3 nop packet. >>> Detect the new hawaii firmware with query RADEON_INFO_ACCEL_WORKING2. >>> If the returned valu

Re: [Mesa-dev] [PATCH] winsys/radeon: fix nop packet padding for hawaii

2014-08-01 Thread Andreas Boll
2014-08-01 16:32 GMT+02:00 Michel Dänzer : > On 01.08.2014 22:09, Andreas Boll wrote: >> The initial firmware for hawaii does not support type3 nop packet. >> Detect the new hawaii firmware with query RADEON_INFO_ACCEL_WORKING2. >> If the returned value is 2, then the new firmware is used. >> >> Th

[Mesa-dev] [PATCH] winsys/radeon: fix nop packet padding for hawaii

2014-08-01 Thread Andreas Boll
The initial firmware for hawaii does not support type3 nop packet. Detect the new hawaii firmware with query RADEON_INFO_ACCEL_WORKING2. If the returned value is 2, then the new firmware is used. This patch uses type2 for the old firmware and type3 for the new firmware. It fixes the cases when th

Re: [Mesa-dev] [PATCH] winsys/radeon: fix nop packet padding for hawaii

2014-08-01 Thread Michel Dänzer
On 01.08.2014 22:09, Andreas Boll wrote: > The initial firmware for hawaii does not support type3 nop packet. > Detect the new hawaii firmware with query RADEON_INFO_ACCEL_WORKING2. > If the returned value is 2, then the new firmware is used. > > This patch uses type2 for the old firmware and type

Re: [Mesa-dev] [PATCH] winsys/radeon: fix nop packet padding for hawaii

2014-08-01 Thread Marek Olšák
On Fri, Aug 1, 2014 at 3:09 PM, Andreas Boll wrote: > The initial firmware for hawaii does not support type3 nop packet. > Detect the new hawaii firmware with query RADEON_INFO_ACCEL_WORKING2. > If the returned value is 2, then the new firmware is used. > > This patch uses type2 for the old firmwa

[Mesa-dev] [PATCH] winsys/radeon: fix nop packet padding for hawaii

2014-08-01 Thread Andreas Boll
The initial firmware for hawaii does not support type3 nop packet. Detect the new hawaii firmware with query RADEON_INFO_ACCEL_WORKING2. If the returned value is 2, then the new firmware is used. This patch uses type2 for the old firmware and type3 for the new firmware. It fixes the cases when th

Re: [Mesa-dev] [PATCH] winsys/radeon: fix nop packet padding v2.

2014-07-25 Thread Jerome Glisse
On Thu, Jul 24, 2014 at 8:07 PM, Alex Deucher wrote: > On Thu, Jul 24, 2014 at 6:28 PM, wrote: > > From: Jerome Glisse > > > > The ucode we got for hawaii does not support 0x1000 special nop > > packet type 3 and this leads to gpu reading invalid memory. As packet > > type 2 still exist ju

Re: [Mesa-dev] [PATCH] winsys/radeon: fix nop packet padding v2.

2014-07-24 Thread Alex Deucher
On Thu, Jul 24, 2014 at 6:28 PM, wrote: > From: Jerome Glisse > > The ucode we got for hawaii does not support 0x1000 special nop > packet type 3 and this leads to gpu reading invalid memory. As packet > type 2 still exist just use packet type 2. > > Note this only partialy fix hawaii issues

[Mesa-dev] [PATCH] winsys/radeon: fix nop packet padding v2.

2014-07-24 Thread j . glisse
From: Jerome Glisse The ucode we got for hawaii does not support 0x1000 special nop packet type 3 and this leads to gpu reading invalid memory. As packet type 2 still exist just use packet type 2. Note this only partialy fix hawaii issues and some zbuffer tiling issues are still present. Ch

Re: [Mesa-dev] [PATCH] winsys/radeon: fix nop packet padding.

2014-07-24 Thread Jerome Glisse
On Thu, Jul 24, 2014 at 05:42:21PM -0400, j.gli...@gmail.com wrote: > From: Jerome Glisse > > The gpu packet prefetcher hates the ugly big nop packet those leads > to prefetching some invalid memory in some case. Apparently hawaii > is particularly sensible to this. > > Note this only partialy f

[Mesa-dev] [PATCH] winsys/radeon: fix nop packet padding.

2014-07-24 Thread j . glisse
From: Jerome Glisse The gpu packet prefetcher hates the ugly big nop packet those leads to prefetching some invalid memory in some case. Apparently hawaii is particularly sensible to this. Note this only partialy fix hawaii issues and some zbuffer tiling issues are still present. Signed-off-by: