/* SPDX-License-Identifier: MIT */ /* * Copyright © 2022 Intel Corporation */ #ifndef _XE_GGTT_TYPES_H_ #define _XE_GGTT_TYPES_H_ #include <drm/drm_mm.h> #include "xe_pt_types.h" struct xe_bo; struct xe_gt; /** * struct xe_ggtt - Main GGTT struct * * In general, each tile can contains its own Global Graphics Translation Table * (GGTT) instance. */ struct xe_ggtt { … }; /** * struct xe_ggtt_node - A node in GGTT. * * This struct needs to be initialized (only-once) with xe_ggtt_node_init() before any node * insertion, reservation, or 'ballooning'. * It will, then, be finalized by either xe_ggtt_node_remove() or xe_ggtt_node_deballoon(). */ struct xe_ggtt_node { … }; /** * struct xe_ggtt_pt_ops - GGTT Page table operations * Which can vary from platform to platform. */ struct xe_ggtt_pt_ops { … }; #endif