diff options
author | Matthew Auld <matthew.auld@intel.com> | 2022-05-24 19:26:32 +0100 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2022-06-30 12:49:22 +0100 |
commit | b0e377c287f387c19134c6a22d535d2a4e9ee97e (patch) | |
tree | d2ae59722daa338c37c794f635aa5bd50a59ffa3 /tests/i915/api_intel_allocator.c | |
parent | 0f8ecd1365837f79be13160d417ae31b62979bea (diff) |
lib/i915: add gem_create_with_cpu_access_in_memory_regions
Most users shouldn't care about such an interface, but where required,
this should be useful to aid in setting NEEDS_CPU_ACCESS for a given BO.
Underneath we try to smooth over needing to provide an explicit SMEM
region, or if this is SMEM-only, we don't want the kernel to throw an
error.
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Diffstat (limited to 'tests/i915/api_intel_allocator.c')
0 files changed, 0 insertions, 0 deletions