drm/i915: Bump object bookkeeping to u64 from size_t
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 18 Oct 2016 12:02:48 +0000 (13:02 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 18 Oct 2016 13:22:26 +0000 (14:22 +0100)
commit3ef7f228931a7ac1e4150b4dfc8d58586815f281
treee052f720e56f3108c6984aa94cd80ea9fe27c427
parent30d1b5fe8c7206e6e5e5e51e0ff09ef21a77d78e
drm/i915: Bump object bookkeeping to u64 from size_t

Internally we allow for using more objects than a single process can
allocate, i.e. we allow for a 64bit GPU address space even on a 32bit
system. Using size_t may oveerflow.

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/20161018120251.25043-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c