diff options
author | Abdiel Janulgue <abdiel.janulgue@linux.intel.com> | 2019-10-18 10:07:49 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-18 12:41:02 +0100 |
commit | 3aae9d08532c8e542ad2787b3f1c6b4ee14db32b (patch) | |
tree | 8919e4e352361abdaa1664302bbc7e0110fb8255 /drivers/gpu/drm/i915/intel_memory_region.h | |
parent | 253a774bb08b549488047c3fb4afc0faf6f194ae (diff) | |
download | lwn-3aae9d08532c8e542ad2787b3f1c6b4ee14db32b.tar.gz lwn-3aae9d08532c8e542ad2787b3f1c6b4ee14db32b.zip |
drm/i915: enumerate and init each supported region
Nothing to enumerate yet...
Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@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/20191018090751.28295-1-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_memory_region.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_memory_region.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_memory_region.h b/drivers/gpu/drm/i915/intel_memory_region.h index 52c141b6108c..2c165a7a5ab4 100644 --- a/drivers/gpu/drm/i915/intel_memory_region.h +++ b/drivers/gpu/drm/i915/intel_memory_region.h @@ -18,6 +18,10 @@ struct drm_i915_gem_object; struct intel_memory_region; struct sg_table; +enum intel_region_id { + INTEL_REGION_UNKNOWN = 0, /* Should be last */ +}; + #define I915_ALLOC_MIN_PAGE_SIZE BIT(0) #define I915_ALLOC_CONTIGUOUS BIT(1) |