Lines Matching +full:mutually +full:- +full:exclusive
1 /* SPDX-License-Identifier: MIT */
49 return file->driver_priv; in to_xe_file()
54 return &xe->tiles[0]; in xe_device_get_root_tile()
61 if (drm_WARN_ON(&tile_to_xe(tile)->drm, gt_id > XE_MAX_GT_PER_TILE)) in xe_tile_get_gt()
64 return gt_id ? tile->media_gt : tile->primary_gt; in xe_tile_get_gt()
73 * FIXME: This only works for now because multi-tile and standalone in xe_device_get_gt()
74 * media are mutually exclusive on the platforms we have today. in xe_device_get_gt()
82 if (drm_WARN_ON(&xe->drm, gt_id > XE_MAX_TILES_PER_DEVICE)) in xe_device_get_gt()
85 gt = xe->tiles[gt_id].primary_gt; in xe_device_get_gt()
91 drm_WARN_ON(&xe->drm, gt->info.id != gt_id); in xe_device_get_gt()
92 drm_WARN_ON(&xe->drm, gt->info.type == XE_GT_TYPE_UNINITIALIZED); in xe_device_get_gt()
98 * Provide a GT structure suitable for performing non-GT MMIO operations against
100 * handling, top-most interrupt enable/disable, etc. Since anything using the
111 return xe_device_get_root_tile(xe)->primary_gt; in xe_root_mmio_gt()
116 return !xe->info.force_execlist; in xe_device_uc_enabled()
120 for ((id__) = 0; (id__) < (xe__)->info.tile_count; (id__)++) \
121 for_each_if((tile__) = &(xe__)->tiles[(id__)])
124 for ((id__) = 1; (id__) < (xe__)->info.tile_count; (id__)++) \
125 for_each_if((tile__) = &(xe__)->tiles[(id__)])
128 * FIXME: This only works for now since multi-tile and standalone media
129 * happen to be mutually exclusive. Future platforms may change this...
132 for ((id__) = 0; (id__) < (xe__)->info.gt_count; (id__)++) \
137 return >->mmio.fw; in gt_to_fw()
149 return xe->usm.num_vm_in_fault_mode != 0; in xe_device_in_fault_mode()
154 return xe->usm.num_vm_in_non_fault_mode != 0; in xe_device_in_non_fault_mode()
159 return xe->info.has_flat_ccs; in xe_device_has_flat_ccs()
164 return xe->info.has_sriov; in xe_device_has_sriov()