[Intel-gfx] [PATCH 12/22] drm/i915: enumerate and init each supported region
Chris Wilson
chris at chris-wilson.co.uk
Fri Sep 27 20:44:57 UTC 2019
Quoting Matthew Auld (2019-09-27 18:33:59)
> + mem->id = intel_region_map[i];
> + mem->type = type;
> + mem->instance = MEMORY_INSTANCE_FROM_REGION(intel_region_map[i]);
So why 3xu32 for a single u32 of information? Either one or two u32
would do, depending on frequency of use.
And why was it BIT(inst)?
-Chris
More information about the Intel-gfx
mailing list