summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorBalasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>2024-04-08 22:35:38 +0530
committerMatt Roper <matthew.d.roper@intel.com>2024-04-09 14:18:48 -0700
commitbdf59bbd9aea39ce3eca088e84a01717867bd5d4 (patch)
tree5e28cbede5e20fc3cba2ee44479845bef54fad07 /drivers/gpu
parent27cc23111a664bbf086e74fd4e14d38634f4b834 (diff)
downloadlinux-stable-bdf59bbd9aea39ce3eca088e84a01717867bd5d4.tar.gz
linux-stable-bdf59bbd9aea39ce3eca088e84a01717867bd5d4.tar.bz2
linux-stable-bdf59bbd9aea39ce3eca088e84a01717867bd5d4.zip
drm/xe/bmg: Add BMG mocs table
BMG uses the same MOCS table as LNL. Bpsec: 71582 CC: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240408170545.3769566-5-balasubramani.vivekanandan@intel.com
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/xe/xe_mocs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_mocs.c b/drivers/gpu/drm/xe/xe_mocs.c
index d16fa64da881..1e92f8ee07ba 100644
--- a/drivers/gpu/drm/xe/xe_mocs.c
+++ b/drivers/gpu/drm/xe/xe_mocs.c
@@ -375,6 +375,7 @@ static unsigned int get_mocs_settings(struct xe_device *xe,
switch (xe->info.platform) {
case XE_LUNARLAKE:
+ case XE_BATTLEMAGE:
info->size = ARRAY_SIZE(xe2_mocs_table);
info->table = xe2_mocs_table;
info->n_entries = XE2_NUM_MOCS_ENTRIES;