summaryrefslogtreecommitdiff
path: root/lib/i915/intel_memory_region.h
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2022-05-25 18:16:21 +0100
committerMatthew Auld <matthew.auld@intel.com>2022-06-30 12:52:55 +0100
commit5692f4fea93ba0a2fa7d5c064fcf21dd2b2d71d3 (patch)
tree814719038aa6b189b5956f3fea698ab75ce86422 /lib/i915/intel_memory_region.h
parente8644e5c3c3e2a6bd3ef1618f06268d3ee9ffab1 (diff)
lib/i915/intel_memory_region: plumb through the cpu_size
Will be useful later. 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 'lib/i915/intel_memory_region.h')
-rw-r--r--lib/i915/intel_memory_region.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/i915/intel_memory_region.h b/lib/i915/intel_memory_region.h
index 40ff832d..e1bfe0ca 100644
--- a/lib/i915/intel_memory_region.h
+++ b/lib/i915/intel_memory_region.h
@@ -176,6 +176,7 @@ struct gem_memory_region {
struct drm_i915_gem_memory_class_instance ci;
uint64_t size;
+ uint64_t cpu_size;
};
struct igt_collection *