[PATCH v1 10/14] drm/xe/uapi: Document the memory_region bitmask

Lucas De Marchi lucas.demarchi at intel.com
Thu Dec 14 21:23:49 UTC 2023


On Thu, Dec 07, 2023 at 01:50:05PM +0000, Francois Dugast wrote:
>From: Rodrigo Vivi <rodrigo.vivi at intel.com>
>
>The uAPI should stay generic in regarding to the bitmask. It is
>the userspace responsibility to check for the type/class of the
>memory, without any assumption.
>
>Also add comments inside the code to explain how it is actually
>constructed so we don't accidentally change the assignment of
>the instance and the masks.
>
>No functional change in this patch. It only explains and document
>the memory_region masks. A further follow-up work with the
>organization of all memory regions around struct xe_mem_regions
>is desired, but not part of this patch.
>
>Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
>Signed-off-by: Francois Dugast <francois.dugast at intel.com>


Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>

Lucas De Marchi


More information about the Intel-xe mailing list