[Intel-gfx] [PATCH 03/22] drm/i915: introduce intel_memory_region
Chris Wilson
chris at chris-wilson.co.uk
Fri Sep 27 20:30:31 UTC 2019
Quoting Matthew Auld (2019-09-27 18:33:50)
> +struct drm_i915_gem_object *
> +i915_gem_object_create_region(struct intel_memory_region *mem,
> + resource_size_t size,
> + unsigned int flags)
> +{
> + struct drm_i915_gem_object *obj;
> +
> + if (!mem)
> + return ERR_PTR(-ENODEV);
What scenarios do you have in mind that this is not a programmer bug?
-Chris
More information about the Intel-gfx
mailing list