summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/lima/lima_l2_cache.h
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2023-02-23 10:57:36 -0800
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-19 18:29:42 -0500
commitd1000e3fc9fa6bfb88d37a177542b9b24802081f (patch)
tree70cce462347712bc055cc876f10ea375e8c80e48 /drivers/gpu/drm/lima/lima_l2_cache.h
parent579a6546d33c92d810d19e971fd85ee4d0b9a5ce (diff)
drm/xe/mocs: Drop xe_mocs_info_index
The values in the xe_mocs_info_index enum only match old pre-gen12 hardware not supported by the Xe driver. The only usage of this enum was to set a default value for info->unused_entries_index, but this is unnecessary since every platform in the subsequent switch statement sets a proper platform-specific value (and the XE_MOCS_PTE default doesn't even make sense since the hardware dropped the "use PAT settings" capability in gen12). v2: - Add a check that unusued_entries_index is non-zero; even for platforms where this is a valid table entry, it's never the one we want this value assigned to. (Lucas) Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_l2_cache.h')
0 files changed, 0 insertions, 0 deletions