mbox series

[v2,0/1] drm/i915/gt: Initialize reserved and unspecified MOCS indices

Message ID 20200702134903.602364-1-ayaz.siddiqui@intel.com (mailing list archive)
Headers show
Series drm/i915/gt: Initialize reserved and unspecified MOCS indices | expand

Message

Siddiqui, Ayaz A July 2, 2020, 1:49 p.m. UTC
In order to avoid functional breakage of mis-programmed applications that
have grown to depend on unused MOCS entries, we are programming
those entries to be equal to fully cached ("L3 + LLC") entry.

These reserved and unspecified entries should not be used as they may be
changed to less performant variants with better coherency in the future
if more entries are needed.

V2: As suggested by Lucas "De Marchi" to utilise __init_mocs_table for
programming default value, setting I915_MOCS_PTE index of tgl_mocs_table
with desired value.

Ayaz A Siddiqui (1):
  drm/i915/gt: Initialize reserved and unspecified MOCS indices

 drivers/gpu/drm/i915/gt/intel_mocs.c | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)