[Intel-gfx] drivers/gpu/drm/i915/i915_gem_gtt.c

Andrew Morton akpm at linux-foundation.org
Fri May 22 14:17:32 PDT 2015


I'm not sure what's happened to the drm code in linux-next - it's
exploding all over the place.  Did someone turn on -Werror without
doing anywhere near enough testing?

Anyway, I don't know how to fix this i386 build error:

drivers/gpu/drm/i915/i915_gem_gtt.c: In function 'gen8_ppgtt_init':
drivers/gpu/drm/i915/i915_gem_gtt.c:954:2: error: large integer implicitly truncated to unsigned type [-Werror=overflow]

        ppgtt->base.total = 1ULL << 32;

i915_address_space.total is a ulong: 32-bit.



More information about the Intel-gfx mailing list