[PATCH 2/2] drm/xe/mocs: Clarify difference between hw and sw sizes

Lucas De Marchi lucas.demarchi at intel.com
Fri Jun 28 20:53:28 UTC 2024


On Thu, Jun 27, 2024 at 01:37:43PM GMT, Matt Roper wrote:
>It's not very obvious what the difference is between the 'size' and
>'n_entries' fields of the MOCS structure.  Rename both fields slightly
>and add some comments explaining that one is the documentation-defined
>table size, while the other is the number of entries that can be
>programmed into the hardware (and the documented table size can
>potentially be smaller than the number of hardware entries).
>
>Signed-off-by: Matt Roper <matthew.d.roper at intel.com>


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

Lucas De Marchi


More information about the Intel-xe mailing list