This reworks v7 of the series (https://patchwork.freedesktop.org/series/54070/) to handle the comments there and some more of my own. Changes: - Initialize undefined entries to PTE rather than uncached (suggested by Chris) - Add a new macro to define MOCS entries: this allows to make the table more readable and to implicitly mark entries that are defined - Minor improvements to "drm/i915: cache number of MOCS entries" (suggested by Tvrtko) - Reorder patches to avoid unneeded changes (suggested by Tvrtko) Lucas De Marchi (5): drm/i915: initialize unused MOCS entries to PTE drm/i915: Simplify MOCS table definition drm/i915: use a macro to define MOCS entries drm/i915: keep track of used entries in MOCS table drm/i915: cache number of MOCS entries Tomasz Lis (2): drm/i915/skl: Rework MOCS tables to keep common part in a define drm/i915/icl: Define MOCS table for Icelake drivers/gpu/drm/i915/intel_mocs.c | 356 ++++++++++++++++++------------ 1 file changed, 211 insertions(+), 145 deletions(-) -- 2.20.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx