Commit bdf59bbd authored by Balasubramani Vivekanandan's avatar Balasubramani Vivekanandan Committed by Matt Roper

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: default avatarBalasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Signed-off-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240408170545.3769566-5-balasubramani.vivekanandan@intel.com
parent 27cc2311
...@@ -375,6 +375,7 @@ static unsigned int get_mocs_settings(struct xe_device *xe, ...@@ -375,6 +375,7 @@ static unsigned int get_mocs_settings(struct xe_device *xe,
switch (xe->info.platform) { switch (xe->info.platform) {
case XE_LUNARLAKE: case XE_LUNARLAKE:
case XE_BATTLEMAGE:
info->size = ARRAY_SIZE(xe2_mocs_table); info->size = ARRAY_SIZE(xe2_mocs_table);
info->table = xe2_mocs_table; info->table = xe2_mocs_table;
info->n_entries = XE2_NUM_MOCS_ENTRIES; info->n_entries = XE2_NUM_MOCS_ENTRIES;
......
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