]> git.baikalelectronics.ru Git - kernel.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)
commit9117fbe25883e94e2208a0cdbf3a0790fffd080d
tree23af9b48f05b3c7ef946272acebd73a0f5d4174d
parent87bbad3d53dada904535cfb8c8f1ffdefa4c4a42
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