Re: [Mesa-dev] [PATCH 2/3] i965: we want 64bit writes for depth count

2012-07-02 Thread Daniel Vetter
On Sun, Jul 01, 2012 at 07:59:56PM -0700, Kenneth Graunke wrote: On 06/26/2012 07:28 AM, Daniel Vetter wrote: ... and the hardware seems to take the lenght of the pipe control command to indicate whether the write is 64bit or 32bit. Which makes sense for immediate writes. I've

Re: [Mesa-dev] [PATCH 2/3] i965: we want 64bit writes for depth count

2012-07-02 Thread Kenneth Graunke
On 07/02/2012 01:16 AM, Daniel Vetter wrote: On Sun, Jul 01, 2012 at 07:59:56PM -0700, Kenneth Graunke wrote: On 06/26/2012 07:28 AM, Daniel Vetter wrote: ... and the hardware seems to take the lenght of the pipe control command to indicate whether the write is 64bit or 32bit. Which makes

Re: [Mesa-dev] [PATCH 2/3] i965: we want 64bit writes for depth count

2012-07-02 Thread Eric Anholt
Daniel Vetter daniel.vet...@ffwll.ch writes: ... and the hardware seems to take the lenght of the pipe control command to indicate whether the write is 64bit or 32bit. Which makes sense for immediate writes. I've discovered this by writing a pattern into the query object bo and noticing

Re: [Mesa-dev] [PATCH 2/3] i965: we want 64bit writes for depth count

2012-07-01 Thread Kenneth Graunke
On 06/26/2012 07:28 AM, Daniel Vetter wrote: ... and the hardware seems to take the lenght of the pipe control command to indicate whether the write is 64bit or 32bit. Which makes sense for immediate writes. I've discovered this by writing a pattern into the query object bo and noticing

[Mesa-dev] [PATCH 2/3] i965: we want 64bit writes for depth count

2012-06-26 Thread Daniel Vetter
... and the hardware seems to take the lenght of the pipe control command to indicate whether the write is 64bit or 32bit. Which makes sense for immediate writes. I've discovered this by writing a pattern into the query object bo and noticing that the high 32bits are left intact, even on those