drm/i915: object size needs to be u64
authorMichel Thierry <michel.thierry@intel.com>
Wed, 29 Jul 2015 16:23:58 +0000 (17:23 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Aug 2015 16:16:26 +0000 (18:16 +0200)
commit65bd342ff2f1f9f3ca4a17691a825935d2aa13c9
tree7fe5c8d25b350a634da1d27db9ace9c0ebf26f6b
parentea91e401501a72597554cb5c080fe5671a6ccb84
drm/i915: object size needs to be u64

In a 48b world, users can try to allocate buffers bigger than 4GB; in
these cases it is important that size is a 64b variable.

v2: Drop the warning about bind with size 0, it shouldn't happen anyway.
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c