mbox series

[0/5] drm/i915: Clean up some of the i915 uAPI (v6)

Message ID 20210317234014.2271006-1-jason@jlekstrand.net (mailing list archive)
Headers show
Series drm/i915: Clean up some of the i915 uAPI (v6) | expand

Message

Jason Ekstrand March 17, 2021, 11:40 p.m. UTC
These patches clean up some of our uAPI mess in i915.  The first patch
drops legacy execbuffer support which hasn't been used in 10 years.  The
next two drop some legacy ioctls on new platforms.  The last two drop APIs
which have never been used by userspace and shouldn't have landed in i915
in the first place.

Test-with: 20210121083742.46592-1-ashutosh.dixit@intel.com

Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Dave Airlie <airlied@redhat.com>

Ashutosh Dixit (1):
  drm/i915: Disable pread/pwrite ioctl's for future platforms (v3)

Jason Ekstrand (4):
  drm/i915/gem: Drop legacy execbuffer support (v2)
  drm/i915/gem: Drop relocation support on all new hardware (v6)
  drm/i915: Drop the CONTEXT_CLONE API
  drm/i915: Drop I915_CONTEXT_PARAM_RINGSIZE

 drivers/gpu/drm/i915/Makefile                 |   1 -
 drivers/gpu/drm/i915/gem/i915_gem_context.c   | 311 +-----------------
 .../gpu/drm/i915/gem/i915_gem_execbuffer.c    | 107 +-----
 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h    |   2 -
 drivers/gpu/drm/i915/gt/intel_context_param.c |  63 ----
 drivers/gpu/drm/i915/gt/intel_context_param.h |  14 -
 drivers/gpu/drm/i915/gt/intel_lrc.c           |   1 -
 drivers/gpu/drm/i915/i915_drv.c               |   2 +-
 drivers/gpu/drm/i915/i915_gem.c               |  14 +
 include/uapi/drm/i915_drm.h                   |  37 +--
 10 files changed, 41 insertions(+), 511 deletions(-)
 delete mode 100644 drivers/gpu/drm/i915/gt/intel_context_param.c
 delete mode 100644 drivers/gpu/drm/i915/gt/intel_context_param.h