Skip to content

Commit

Permalink
drm/xe/bmg: Add BMG mocs table
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Balasubramani Vivekanandan authored and Matt Roper committed Apr 9, 2024
1 parent 27cc231 commit bdf59bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/xe/xe_mocs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bdf59bb

Please sign in to comment.