Lines Matching defs:table
51 * Size of the spec's suggested MOCS programming table. The list of
52 * table entries from the spec can potentially be smaller than the
53 * number of hardware registers used to program the MOCS table; in such
60 const struct xe_mocs_entry *table;
137 * entries will remain constant and the table will only be updated by adding new
306 drm_printf(p, "Global mocs table configuration:\n");
506 drm_printf(p, "Global mocs table configuration:\n");
522 /* MTL lncf mocs table pattern is similar to that of xehp */
549 drm_printf(p, "Global mocs table configuration:\n");
584 info->table = xe2_mocs_table;
593 info->table = pvc_mocs_desc;
602 info->table = mtl_mocs_desc;
610 info->table = dg2_mocs_desc;
622 info->table = dg1_mocs_desc;
634 info->table = gen12_mocs_desc;
640 drm_err(&xe->drm, "Platform that should have a MOCS table does not.\n");
645 * Index 0 is a reserved/unused table entry on most platforms, but
648 * to populate undefined table rows with. So if unused_entries_index
666 * Get control_value from MOCS entry. If the table entry is not defined, the
672 if (index < info->table_size && info->table[index].used)
673 return info->table[index].control_value;
674 return info->table[info->unused_entries_index].control_value;
706 if (index < info->table_size && info->table[index].used)
707 return info->table[index].l3cc_value;
708 return info->table[info->unused_entries_index].l3cc_value;
740 struct xe_mocs_info table;
742 get_mocs_settings(gt_to_xe(gt), &table);
743 gt->mocs.uc_index = table.uc_index;
744 gt->mocs.wb_index = table.wb_index;
749 struct xe_mocs_info table;
763 flags = get_mocs_settings(gt_to_xe(gt), &table);
770 __init_mocs_table(gt, &table);
772 init_l3cc_table(gt, &table);
779 struct xe_mocs_info table;
782 flags = get_mocs_settings(xe, &table);
791 table.ops->dump(&table, flags, gt, p);