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

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Fri Jul 17 01:42:30 PDT 2015


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 variables) to u64.
>
> Since Global GTT is always limited to 4GB, this change is not required
> in i915_gem_obj_ggtt_offset.

Although in another patch dealing with GGTT I was asked to use u64 
explicitly so how to make sure we get some consistency in this area?

Regards,

Tvrtko


More information about the Intel-gfx mailing list