Commit 406be3cc authored by Matthew Auld's avatar Matthew Auld Committed by Rodrigo Vivi

drm/xe/pat: trim the xelp PAT table

We don't seem to use the 4-7 pat indexes, even though they are defined
by the HW. In a future patch userspace will be able to directly set the
pat_index as part of vm_bind and we don't want to allow setting 4-7.
Simplest is to just ignore them here.
Suggested-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Signed-off-by: default avatarMatthew Auld <matthew.auld@intel.com>
Cc: Pallavi Mishra <pallavi.mishra@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Reviewed-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: default avatarJosé Roberto de Souza <jose.souza@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent e3fee3aa
...@@ -56,10 +56,6 @@ static const u32 xelp_pat_table[] = { ...@@ -56,10 +56,6 @@ static const u32 xelp_pat_table[] = {
[1] = XELP_PAT_WC, [1] = XELP_PAT_WC,
[2] = XELP_PAT_WT, [2] = XELP_PAT_WT,
[3] = XELP_PAT_UC, [3] = XELP_PAT_UC,
[4] = XELP_PAT_WB,
[5] = XELP_PAT_WB,
[6] = XELP_PAT_WB,
[7] = XELP_PAT_WB,
}; };
static const u32 xehpc_pat_table[] = { static const u32 xehpc_pat_table[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment