drm/xe: Fold GEN11_MOCS_ENTRIES into gen12_mocs_desc
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 17 Nov 2023 17:40:47 +0000 (09:40 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:44:39 +0000 (11:44 -0500)
commit8735f8616d65816fd80a4958e570d8f448a6590f
tree9daa00ac7e1228b073bde3d52ca6ba7a43ed95eb
parente7b4ebd7c6b3d25557aa83b43c3497e31ac89101
drm/xe: Fold GEN11_MOCS_ENTRIES into gen12_mocs_desc

GEN11_MOCS_ENTRIES dates back from importing the table from the i915
module. The macro was used so the it could be maintained in a single
place and platforms would just override with additional entries.

With the platforms supported by xe, each of them is just defining
individual tables without re-using this define. Move it inside
gen12_mocs_desc that is the only user.

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20231117174049.527192-1-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_mocs.c