]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: mark userptr objects as ALLOC_USER
authorMatthew Auld <matthew.auld@intel.com>
Mon, 18 Oct 2021 17:45:01 +0000 (18:45 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Wed, 20 Oct 2021 15:50:17 +0000 (16:50 +0100)
commite0faa1172955597e03917ccb2b1038e2394194cd
tree7c8d109cd88b7c5116dfd2c9ba00f48a3bb85297
parented7053ba635831c7ac8b8ca0c84e351b35ad0048
drm/i915: mark userptr objects as ALLOC_USER

These are userspace objects, so mark them as such. In a later patch it's
useful to determine how paranoid we need to be when managing cache
flushes. In theory no functional changes.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211018174508.2137279-2-matthew.auld@intel.com
drivers/gpu/drm/i915/gem/i915_gem_userptr.c