anv: Query memory region info
Create additional memory type with DEVICE_LOCAL_BIT if we have local memory region aviable. v2 (Jason Ekstrand): - Don't leak mem_regions if the second ioctl fails Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5599>
This commit is contained in:
@@ -875,6 +875,7 @@ struct anv_memory_heap {
|
||||
};
|
||||
|
||||
struct anv_memregion {
|
||||
struct drm_i915_gem_memory_class_instance region;
|
||||
uint64_t size;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user