File Index
Files and directories
Sign in
FILE

xe_gt_sriov_pf_policy.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h C
 1/* SPDX-License-Identifier: MIT */
 2/*
 3 * Copyright © 2023-2024 Intel Corporation
 4 */
 5
 6#ifndef _XE_GT_SRIOV_PF_POLICY_H_
 7#define _XE_GT_SRIOV_PF_POLICY_H_
 8
 9#include <linux/types.h>
10
11struct drm_printer;
12struct xe_gt;
13
14int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable);
15bool xe_gt_sriov_pf_policy_get_sched_if_idle(struct xe_gt *gt);
16int xe_gt_sriov_pf_policy_set_reset_engine(struct xe_gt *gt, bool enable);
17bool xe_gt_sriov_pf_policy_get_reset_engine(struct xe_gt *gt);
18int xe_gt_sriov_pf_policy_set_sample_period(struct xe_gt *gt, u32 value);
19u32 xe_gt_sriov_pf_policy_get_sample_period(struct xe_gt *gt);
20
21void xe_gt_sriov_pf_policy_sanitize(struct xe_gt *gt);
22int xe_gt_sriov_pf_policy_reprovision(struct xe_gt *gt, bool reset);
23int xe_gt_sriov_pf_policy_print(struct xe_gt *gt, struct drm_printer *p);
24
25#endif
~/ Read-only file preview.