/* * Highest GT/tile count for any platform. Used only for memory allocation * sizing. Any logic looping over GTs or mapping userspace GT IDs into GT * structures should use the per-platform xe->info.max_gt_per_tile instead.
*/ #define XE_MAX_GT_PER_TILE 2
/* * Provide a GT structure suitable for performing non-GT MMIO operations against * the primary tile. Primarily intended for early tile initialization, display * handling, top-most interrupt enable/disable, etc. Since anything using the * MMIO handle returned by this function doesn't need GSI offset translation, * we'll return the primary GT from the root tile. * * FIXME: Fix the driver design so that 'gt' isn't the target of all MMIO * operations. * * Returns the primary gt of the root tile.
*/ staticinlinestruct xe_gt *xe_root_mmio_gt(struct xe_device *xe)
{ return xe_device_get_root_tile(xe)->primary_gt;
}
/* * Occasionally it is seen that the G2H worker starts running after a delay of more than * a second even after being queued and activated by the Linux workqueue subsystem. This * leads to G2H timeout error. The root cause of issue lies with scheduling latency of * Lunarlake Hybrid CPU. Issue disappears if we disable Lunarlake atom cores from BIOS * and this is beyond xe kmd. * * TODO: Drop this change once workqueue scheduling delay issue is fixed on LNL Hybrid CPU.
*/ #define LNL_FLUSH_WORKQUEUE(wq__) \
flush_workqueue(wq__) #define LNL_FLUSH_WORK(wrk__) \
flush_work(wrk__)
#endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.22 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.