Lines Matching +full:mutually +full:- +full:exclusive
1 /* SPDX-License-Identifier: MIT */
53 return file->driver_priv; in to_xe_file()
58 return &xe->tiles[0]; in xe_device_get_root_tile()
65 if (drm_WARN_ON(&tile_to_xe(tile)->drm, gt_id >= XE_MAX_GT_PER_TILE)) in xe_tile_get_gt()
68 return gt_id ? tile->media_gt : tile->primary_gt; in xe_tile_get_gt()
77 * FIXME: This only works for now because multi-tile and standalone in xe_device_get_gt()
78 * media are mutually exclusive on the platforms we have today. in xe_device_get_gt()
86 if (drm_WARN_ON(&xe->drm, gt_id >= XE_MAX_TILES_PER_DEVICE)) in xe_device_get_gt()
89 gt = xe->tiles[gt_id].primary_gt; in xe_device_get_gt()
95 drm_WARN_ON(&xe->drm, gt->info.id != gt_id); in xe_device_get_gt()
96 drm_WARN_ON(&xe->drm, gt->info.type == XE_GT_TYPE_UNINITIALIZED); in xe_device_get_gt()
102 * Provide a GT structure suitable for performing non-GT MMIO operations against
104 * handling, top-most interrupt enable/disable, etc. Since anything using the
115 return xe_device_get_root_tile(xe)->primary_gt; in xe_root_mmio_gt()
120 return !xe->info.force_execlist; in xe_device_uc_enabled()
124 for ((id__) = 0; (id__) < (xe__)->info.tile_count; (id__)++) \
125 for_each_if((tile__) = &(xe__)->tiles[(id__)])
128 for ((id__) = 1; (id__) < (xe__)->info.tile_count; (id__)++) \
129 for_each_if((tile__) = &(xe__)->tiles[(id__)])
132 * FIXME: This only works for now since multi-tile and standalone media
133 * happen to be mutually exclusive. Future platforms may change this...
136 for ((id__) = 0; (id__) < (xe__)->info.gt_count; (id__)++) \
141 return >->mmio.fw; in gt_to_fw()
148 return xe->info.has_flat_ccs; in xe_device_has_flat_ccs()
153 return xe->info.has_sriov; in xe_device_has_sriov()
173 return atomic_read(&xe->wedged.flag); in xe_device_wedged()