linux_dsm_epyc7002/drivers/gpu/drm/i915/gem
Matthew Auld 24860ad748 drm/i915/userptr: add user_size limit check
Don't allow a mismatch between obj->base.size/vma->size and the actual
number of pages for the backing store, which is limited to INT_MAX
pages.

v2: document what are missing before we can safely drop the limit check

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200117132413.1170563-1-matthew.auld@intel.com
2020-01-17 19:14:03 +00:00
..
selftests Merge drm/drm-next into drm-intel-next-queued 2020-01-09 17:19:12 +02:00
i915_gem_busy.c
i915_gem_clflush.c drm/i915: Hold reference to intel_frontbuffer as we track activity 2019-12-18 12:09:57 +00:00
i915_gem_clflush.h
i915_gem_client_blt.c
i915_gem_client_blt.h
i915_gem_context_types.h drm/i915: Drop GEM context as a direct link from i915_request 2019-12-20 10:52:21 +00:00
i915_gem_context.c drm/i915: Pin the context as we work on it 2020-01-09 12:50:26 +00:00
i915_gem_context.h drm/i915/gtt: split up i915_gem_gtt 2020-01-07 19:27:36 +00:00
i915_gem_dmabuf.c drm-misc-next for v5.6: 2019-12-17 13:57:54 +01:00
i915_gem_domain.c drm/i915: Hold reference to intel_frontbuffer as we track activity 2019-12-18 12:09:57 +00:00
i915_gem_execbuffer.c drm/i915/gem: Take local vma references for the parser 2020-01-14 15:25:12 +00:00
i915_gem_fence.c
i915_gem_internal.c
i915_gem_ioctls.h drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET 2019-12-04 15:11:44 +00:00
i915_gem_lmem.c drm/i915/gem: Support discontiguous lmem object maps 2020-01-03 11:26:01 +00:00
i915_gem_lmem.h drm/i915/gem: Support discontiguous lmem object maps 2020-01-03 11:26:01 +00:00
i915_gem_mman.c drm/i915/gem: Extend mmap support for lmem 2020-01-04 17:57:46 +00:00
i915_gem_mman.h drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET 2019-12-04 15:11:44 +00:00
i915_gem_object_blt.c
i915_gem_object_blt.h
i915_gem_object_types.h drm/i915: Hold reference to intel_frontbuffer as we track activity 2019-12-18 12:09:57 +00:00
i915_gem_object.c drm/i915: Introduce a vma.kref 2019-12-23 12:31:54 +00:00
i915_gem_object.h drm/i915/gtt: split up i915_gem_gtt 2020-01-07 19:27:36 +00:00
i915_gem_pages.c drm/i915/gem: Support discontiguous lmem object maps 2020-01-03 11:26:01 +00:00
i915_gem_phys.c
i915_gem_pm.c drm/i915/gt: Pull intel_gt_init_hw() into intel_gt_resume() 2019-12-22 15:18:04 +00:00
i915_gem_pm.h
i915_gem_region.c drm/i915/gem: Single page objects are naturally contiguous 2020-01-02 21:21:17 +00:00
i915_gem_region.h
i915_gem_shmem.c drm/i915/lmem: debugfs for LMEM details 2019-12-28 17:54:43 +00:00
i915_gem_shrinker.c Merge drm/drm-next into drm-intel-next-queued 2019-12-11 11:13:50 +02:00
i915_gem_shrinker.h
i915_gem_stolen.c drm/i915/lmem: debugfs for LMEM details 2019-12-28 17:54:43 +00:00
i915_gem_stolen.h
i915_gem_throttle.c
i915_gem_tiling.c drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET 2019-12-04 15:11:44 +00:00
i915_gem_userptr.c drm/i915/userptr: add user_size limit check 2020-01-17 19:14:03 +00:00
i915_gem_wait.c
i915_gemfs.c
i915_gemfs.h