FILE
xe_gt_sriov_vf.h
File preview with syntax highlighting.
linux-6.19.14/drivers/gpu/drm/xe/xe_gt_sriov_vf.h
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2023-2024 Intel Corporation 4 */ 5 6#ifndef _XE_GT_SRIOV_VF_H_ 7#define _XE_GT_SRIOV_VF_H_ 8 9#include <linux/types.h> 10 11struct drm_printer; 12struct xe_gt; 13struct xe_reg; 14struct xe_uc_fw_version; 15 16int xe_gt_sriov_vf_reset(struct xe_gt *gt); 17int xe_gt_sriov_vf_bootstrap(struct xe_gt *gt); 18void xe_gt_sriov_vf_guc_versions(struct xe_gt *gt, 19 struct xe_uc_fw_version *wanted, 20 struct xe_uc_fw_version *found); 21int xe_gt_sriov_vf_query_config(struct xe_gt *gt); 22int xe_gt_sriov_vf_connect(struct xe_gt *gt); 23int xe_gt_sriov_vf_query_runtime(struct xe_gt *gt); 24void xe_gt_sriov_vf_migrated_event_handler(struct xe_gt *gt); 25 26int xe_gt_sriov_vf_init_early(struct xe_gt *gt); 27int xe_gt_sriov_vf_init(struct xe_gt *gt); 28bool xe_gt_sriov_vf_recovery_pending(struct xe_gt *gt); 29 30u32 xe_gt_sriov_vf_gmdid(struct xe_gt *gt); 31u16 xe_gt_sriov_vf_guc_ids(struct xe_gt *gt); 32u64 xe_gt_sriov_vf_lmem(struct xe_gt *gt); 33 34u32 xe_gt_sriov_vf_read32(struct xe_gt *gt, struct xe_reg reg); 35void xe_gt_sriov_vf_write32(struct xe_gt *gt, struct xe_reg reg, u32 val); 36 37void xe_gt_sriov_vf_print_config(struct xe_gt *gt, struct drm_printer *p); 38void xe_gt_sriov_vf_print_runtime(struct xe_gt *gt, struct drm_printer *p); 39void xe_gt_sriov_vf_print_version(struct xe_gt *gt, struct drm_printer *p); 40 41void xe_gt_sriov_vf_wait_valid_ggtt(struct xe_gt *gt); 42 43#endif
~/
Read-only file preview.