]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/stolen: consider I915_BO_ALLOC_GPU_ONLY
authorMatthew Auld <matthew.auld@intel.com>
Tue, 15 Mar 2022 18:14:21 +0000 (18:14 +0000)
committerMatthew Auld <matthew.auld@intel.com>
Wed, 16 Mar 2022 17:50:32 +0000 (17:50 +0000)
commitc3f6e59ecfd1a5e92e81cdfbf1e8820ab3f54402
tree70446cbd7cb08072a77225a00b497ef4641946f6
parent386732f356eeac9c2d38415c531ac5281d5691fa
drm/i915/stolen: consider I915_BO_ALLOC_GPU_ONLY

Keep the behaviour consistent with normal lmem, where we assume CPU
access if by default required.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220315181425.576828-3-matthew.auld@intel.com
drivers/gpu/drm/i915/gem/i915_gem_stolen.c