linux_dsm_epyc7002/drivers/gpu/drm/i915/gem
Jon Bloomfield 435e8fc059 drm/i915: Allow parsing of unsized batches
In "drm/i915: Add support for mandatory cmdparsing" we introduced the
concept of mandatory parsing. This allows the cmdparser to be invoked
even when user passes batch_len=0 to the execbuf ioctl's.

However, the cmdparser needs to know the extents of the buffer being
scanned. Refactor the code to ensure the cmdparser uses the actual
object size, instead of the incoming length, if user passes 0.

Signed-off-by: Jon Bloomfield <jon.bloomfield@intel.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Tyler Hicks <tyhicks@canonical.com>
Reviewed-by: Chris Wilson <chris.p.wilson@intel.com>
2019-11-05 11:37:54 -08:00
..
selftests
i915_gem_busy.c
i915_gem_clflush.c
i915_gem_clflush.h
i915_gem_client_blt.c
i915_gem_client_blt.h
i915_gem_context_types.h
i915_gem_context.c
i915_gem_context.h
i915_gem_dmabuf.c
i915_gem_domain.c drm/i915: Replace i915_vma_put_fence() 2019-08-22 08:53:42 +01:00
i915_gem_execbuffer.c drm/i915: Allow parsing of unsized batches 2019-11-05 11:37:54 -08:00
i915_gem_fence.c
i915_gem_internal.c
i915_gem_ioctls.h
i915_gem_mman.c drm/i915/userptr: Never allow userptr into the mappable GGTT 2019-10-16 10:56:50 -07:00
i915_gem_object_blt.c
i915_gem_object_blt.h
i915_gem_object_types.h drm/i915/userptr: Never allow userptr into the mappable GGTT 2019-10-16 10:56:50 -07:00
i915_gem_object.c
i915_gem_object.h drm/i915/userptr: Never allow userptr into the mappable GGTT 2019-10-16 10:56:50 -07:00
i915_gem_pages.c
i915_gem_phys.c
i915_gem_pm.c drm/i915: Perform GGTT restore much earlier during resume 2019-10-07 10:44:46 -07:00
i915_gem_pm.h
i915_gem_shmem.c
i915_gem_shrinker.c
i915_gem_shrinker.h
i915_gem_stolen.c
i915_gem_stolen.h
i915_gem_throttle.c
i915_gem_tiling.c
i915_gem_userptr.c drm/i915/userptr: Never allow userptr into the mappable GGTT 2019-10-16 10:56:50 -07:00
i915_gem_wait.c
i915_gemfs.c
i915_gemfs.h
Makefile