Re: [Mesa-dev] [PATCH v2] i965/gen6/gs: Handle case where a GS doesn't allocate VUE

2018-06-22 Thread Iago Toral
Hi Andrii, thanks for verifying my suggestion and sending the new patch. However, this patch is the diff against your previous patch, please merge both patches into a single patch so we get a single patch with all the changes against current master. Once we have that I'll run the resulting patch

Re: [Mesa-dev] [PATCH v2] i965/gen6/gs: Handle case where a GS doesn't allocate VUE

2018-06-21 Thread andrii.simiklit
Hello, Thanks for your feedback. I made changes which you requested. I hope that I understood you right. The solution which you suggested "VUE allocation unconditionally" fixes this bug and we have avoided the endif in the program end. Ok, then we are in agreement.  Section 1.6.5.4 VUE Allocat

[Mesa-dev] [PATCH v2] i965/gen6/gs: Handle case where a GS doesn't allocate VUE

2018-06-21 Thread Andrii Simiklit
We can not use the VUE Dereference flags combination for EOT message under ILK and SNB because the threads are not initialized there with initial VUE handle unlike Pre-IL. So to avoid GPU hangs on SNB and ILK we need to avoid usage of the VUE Dereference flags combination. (Was tested only on SNB b