]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/uapi: reject caching ioctls for discrete
authorMatthew Auld <matthew.auld@intel.com>
Thu, 15 Jul 2021 10:15:33 +0000 (11:15 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Tue, 20 Jul 2021 10:24:37 +0000 (11:24 +0100)
commite7737b67ab46ee0eeaa0ca1958f72d86f8d8ccf6
tree23af9b48f05b3c7ef946272acebd73a0f5d4174d
parent0c6609bb20cf473f48403763aa9a9504ff95fa0f
drm/i915/uapi: reject caching ioctls for discrete

It's a noop on DG1, and in the future when need to support other devices
which let us control the coherency, then it should be an immutable
creation time property for the BO. This will likely be controlled
through a new gem_create_ext extension.

v2: add some kernel doc for the discrete changes, and document the
    implicit rules

Suggested-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Kenneth Graunke <kenneth@whitecape.org>
Cc: Jason Ekstrand <jason@jlekstrand.net>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210715101536.2606307-2-matthew.auld@intel.com
drivers/gpu/drm/i915/gem/i915_gem_domain.c
include/uapi/drm/i915_drm.h