Re: [Mesa-dev] [Mesa PATCH 2/3] i965: Use the new drm_intel_bo offset64 field.

2014-01-16 Thread Ian Romanick
On 01/13/2014 03:56 PM, Kenneth Graunke wrote: > libdrm 2.4.52 introduces a new 'uint64_t offset64' field, intended to > replace the old 'unsigned long offset' field. To preserve ABI, libdrm > continues to store the presumed offset in both locations. > > On Broadwell, a 64-bit kernel may place BO

Re: [Mesa-dev] [Mesa PATCH 2/3] i965: Use the new drm_intel_bo offset64 field.

2014-01-16 Thread Eric Anholt
Kenneth Graunke writes: > On 01/15/2014 12:47 PM, Eric Anholt wrote: >> Kenneth Graunke writes: >> >>> libdrm 2.4.52 introduces a new 'uint64_t offset64' field, intended to >>> replace the old 'unsigned long offset' field. To preserve ABI, libdrm >>> continues to store the presumed offset in b

Re: [Mesa-dev] [Mesa PATCH 2/3] i965: Use the new drm_intel_bo offset64 field.

2014-01-15 Thread Kenneth Graunke
On 01/15/2014 12:47 PM, Eric Anholt wrote: > Kenneth Graunke writes: > >> libdrm 2.4.52 introduces a new 'uint64_t offset64' field, intended to >> replace the old 'unsigned long offset' field. To preserve ABI, libdrm >> continues to store the presumed offset in both locations. >> >> On Broadwell

Re: [Mesa-dev] [Mesa PATCH 2/3] i965: Use the new drm_intel_bo offset64 field.

2014-01-15 Thread Eric Anholt
Kenneth Graunke writes: > libdrm 2.4.52 introduces a new 'uint64_t offset64' field, intended to > replace the old 'unsigned long offset' field. To preserve ABI, libdrm > continues to store the presumed offset in both locations. > > On Broadwell, a 64-bit kernel may place BOs at "high" (> 4G) add

[Mesa-dev] [Mesa PATCH 2/3] i965: Use the new drm_intel_bo offset64 field.

2014-01-13 Thread Kenneth Graunke
libdrm 2.4.52 introduces a new 'uint64_t offset64' field, intended to replace the old 'unsigned long offset' field. To preserve ABI, libdrm continues to store the presumed offset in both locations. On Broadwell, a 64-bit kernel may place BOs at "high" (> 4G) addresses. However, with a 32-bit user