Lines Matching +full:mutually +full:- +full:exclusive

1 /* SPDX-License-Identifier: MIT */
55 return file->driver_priv; in to_xe_file()
60 return &xe->tiles[0]; in xe_device_get_root_tile()
67 if (drm_WARN_ON(&tile_to_xe(tile)->drm, gt_id >= XE_MAX_GT_PER_TILE)) in xe_tile_get_gt()
70 return gt_id ? tile->media_gt : tile->primary_gt; in xe_tile_get_gt()
79 * FIXME: This only works for now because multi-tile and standalone in xe_device_get_gt()
80 * media are mutually exclusive on the platforms we have today. in xe_device_get_gt()
88 if (drm_WARN_ON(&xe->drm, gt_id >= XE_MAX_TILES_PER_DEVICE)) in xe_device_get_gt()
91 gt = xe->tiles[gt_id].primary_gt; in xe_device_get_gt()
97 drm_WARN_ON(&xe->drm, gt->info.id != gt_id); in xe_device_get_gt()
98 drm_WARN_ON(&xe->drm, gt->info.type == XE_GT_TYPE_UNINITIALIZED); in xe_device_get_gt()
104 * Provide a GT structure suitable for performing non-GT MMIO operations against
106 * handling, top-most interrupt enable/disable, etc. Since anything using the
117 return xe_device_get_root_tile(xe)->primary_gt; in xe_root_mmio_gt()
122 return !xe->info.force_execlist; in xe_device_uc_enabled()
126 for ((id__) = 0; (id__) < (xe__)->info.tile_count; (id__)++) \
127 for_each_if((tile__) = &(xe__)->tiles[(id__)])
130 for ((id__) = 1; (id__) < (xe__)->info.tile_count; (id__)++) \
131 for_each_if((tile__) = &(xe__)->tiles[(id__)])
134 * FIXME: This only works for now since multi-tile and standalone media
135 * happen to be mutually exclusive. Future platforms may change this...
138 for ((id__) = 0; (id__) < (xe__)->info.gt_count; (id__)++) \
143 return &gt->pm.fw; in gt_to_fw()
150 return xe->info.has_flat_ccs; in xe_device_has_flat_ccs()
155 return xe->info.has_sriov; in xe_device_has_sriov()
160 return xe->irq.msix.nvec > 0; in xe_device_has_msix()
185 return atomic_read(&xe->wedged.flag); in xe_device_wedged()