[Intel-gfx] [PATCH v9 5/7] drm/i915: keep track of used entries in MOCS table

Chris Wilson chris at chris-wilson.co.uk
Thu Jan 24 07:44:59 UTC 2019


Quoting Lucas De Marchi (2019-01-24 00:06:02)
> Instead of considering we have defined entries for any index in the
> table, let's keep track of the ones we explicitly defined. This will
> allow Gen 11 to have it's new table defined in which we have holes of
> undefined entries.
> 
> Repeated comments about the meaning of undefined entries were removed
> since they are overly verbose and copy-pasted in several functions: now
> the definition is in the top only.
> 
> v2: add helper function to get the index (from Chris)
> 
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list