diff options
author | 2019-10-25 16:37:22 +0100 | |
---|---|---|
committer | 2019-10-25 22:55:31 +0100 | |
commit | b908be543e4441476916f2ae36cebc95cb187436 (patch) | |
tree | 601f8731b32a4022b09070583ffd4806c583682c /drivers/gpu/drm/i915/intel_region_lmem.h | |
parent | drm/i915: split gen11_irq_handler to make it shareable (diff) | |
download | wireguard-linux-b908be543e4441476916f2ae36cebc95cb187436.tar.xz wireguard-linux-b908be543e4441476916f2ae36cebc95cb187436.zip |
drm/i915: support creating LMEM objects
We currently define LMEM, or local memory, as just another memory
region, like system memory or stolen, which we can expose to userspace
and can be mapped to the CPU via some BAR.
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191025153728.23689-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_region_lmem.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_region_lmem.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_region_lmem.h b/drivers/gpu/drm/i915/intel_region_lmem.h new file mode 100644 index 000000000000..ed2a3bab6443 --- /dev/null +++ b/drivers/gpu/drm/i915/intel_region_lmem.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: MIT */ +/* + * Copyright © 2019 Intel Corporation + */ + +#ifndef __INTEL_REGION_LMEM_H +#define __INTEL_REGION_LMEM_H + +extern const struct intel_memory_region_ops intel_region_lmem_ops; + +#endif /* !__INTEL_REGION_LMEM_H */ |