Re: [Intel-gfx] [RFC] drm/i915/gtt: Allow >= 4GB offsets in X86_32

2015-07-17 Thread Tvrtko Ursulin
On 07/16/2015 05:18 PM, Michel Thierry wrote: Commit c44ef60e4370 ("drm/i915/gtt: Allow >= 4GB sizes for vm.") took care of most of this changes, but i915_gem_obj_offset still returned an unsigned long, which in only 4-bytes long in 32-bit kernels. Change return type (and other related offset v

Re: [Intel-gfx] [RFC] drm/i915/gtt: Allow >= 4GB offsets in X86_32

2015-07-16 Thread Chris Wilson
On Thu, Jul 16, 2015 at 05:18:18PM +0100, Michel Thierry wrote: > Commit c44ef60e4370 ("drm/i915/gtt: Allow >= 4GB sizes for vm.") took care > of most of this changes, but i915_gem_obj_offset still returned an unsigned > long, which in only 4-bytes long in 32-bit kernels. > > Change return type (a

[Intel-gfx] [RFC] drm/i915/gtt: Allow >= 4GB offsets in X86_32

2015-07-16 Thread Michel Thierry
Commit c44ef60e4370 ("drm/i915/gtt: Allow >= 4GB sizes for vm.") took care of most of this changes, but i915_gem_obj_offset still returned an unsigned long, which in only 4-bytes long in 32-bit kernels. Change return type (and other related offset variables) to u64. Since Global GTT is always lim