drm/i915/dg1: Define MOCS table for DG1
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 7 Oct 2020 00:22:05 +0000 (17:22 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 7 Oct 2020 20:51:20 +0000 (13:51 -0700)
commit2606b269234b3180470b0408e7c2416bfc828d78
treea8aa65a1cc890ff4310d2cabc9c6152d35e786d7
parent27a6bc802bd90a08960f716e48693420226f1d03
drm/i915/dg1: Define MOCS table for DG1

DG1 has a new MOCS table. We still use the old definition of the table,
but as for any dgfx card it doesn't contain the control_value values
(these values don't matter as we won't program them).

Bspec: 45101

v2: Reword the comment to state that the last few entries are reserved
    instead of "the last two". DG1 reserves four instead of two from
    previous platforms (from Matt Roper)

Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201007002210.3678024-3-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gt/intel_mocs.c