[Intel-gfx] [RFC PATCH 35/42] drm/i915: Introduce GEM_OBJECT_SETPARAM with I915_PARAM_MEMORY_REGION

Chris Wilson chris at chris-wilson.co.uk
Thu Feb 14 16:20:36 UTC 2019


Quoting Matthew Auld (2019-02-14 14:57:33)
> From: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>
> 
> This call will specify which memory region an object should be placed.
> 
> Note that changing the object's backing storage should be immediately
> done after an object is created or if it's not yet in use, otherwise
> this will fail on a busy object.

We already have a generic object SETPARAM, GETPARAM. The idea was to
extend CONTEXT_SETPARAM/GETPARAM into OBJECT_SETPARAM/GETPARAM by
splitting u64 parameter into (u32 object_class, u32 parameter).
-Chris


More information about the Intel-gfx mailing list