diff options
author | Michel Thierry <michel.thierry@intel.com> | 2015-07-29 17:24:00 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-08-14 18:16:27 +0200 |
commit | c6d576cc576196593671eabc8aad6c1744b32568 (patch) | |
tree | 8abeff19dd112a11297d6a51e43640fb5800b676 /virt/kvm | |
parent | af98714e5d05fcbf7638ea4b53d158d96d693bf2 (diff) | |
download | linux-c6d576cc576196593671eabc8aad6c1744b32568.tar.gz |
drm/i915/userptr: Kill user_size limit check
GTT was only 32b and its max value is 4GB. In order to allow objects
bigger than 4GB in 48b PPGTT, i915_gem_userptr_ioctl we could check
against max 48b range (1ULL << 48).
But since the check no longer applies, just kill the limit.
v2: Use the default ctx to infer the ppgtt max size (Akash).
v3: Just kill the limit, it was only there for early detection of an
error when used for execbuffer (Chris).
Cc: Akash Goel <akash.goel@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Akash Goel <akash.goel@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions