drm/i915: Use fixed-sized types for stolen
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jan 2017 15:20:11 +0000 (15:20 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jan 2017 16:02:09 +0000 (16:02 +0000)
commitedd1f2fe11ff77ab2a3169b9359e2ba69541a2f2
tree80ff829dfb8f32a6f5056011782823b5a8b1c3df
parent46fad808b1b73c3f7c0b88016dcc6fb4cd549b27
drm/i915: Use fixed-sized types for stolen

Stolen memory is a hardware resource of known size, so use an accurate
fixed integer type rather than the ambiguous variable size_t. This was
motivated by the next patch spotting inconsistencies in our types.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170106152013.24684-3-chris@chris-wilson.co.uk
drivers/char/agp/intel-gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.h
drivers/gpu/drm/i915/i915_gem_stolen.c
include/drm/intel-gtt.h