xref: /linux/drivers/gpu/drm/xe/xe_gt_topology.h (revision dd08ebf6c3525a7ea2186e636df064ea47281987)
1*dd08ebf6SMatthew Brost /* SPDX-License-Identifier: MIT */
2*dd08ebf6SMatthew Brost /*
3*dd08ebf6SMatthew Brost  * Copyright © 2022 Intel Corporation
4*dd08ebf6SMatthew Brost  */
5*dd08ebf6SMatthew Brost 
6*dd08ebf6SMatthew Brost #ifndef __XE_GT_TOPOLOGY_H__
7*dd08ebf6SMatthew Brost #define __XE_GT_TOPOLOGY_H__
8*dd08ebf6SMatthew Brost 
9*dd08ebf6SMatthew Brost #include "xe_gt_types.h"
10*dd08ebf6SMatthew Brost 
11*dd08ebf6SMatthew Brost struct drm_printer;
12*dd08ebf6SMatthew Brost 
13*dd08ebf6SMatthew Brost void xe_gt_topology_init(struct xe_gt *gt);
14*dd08ebf6SMatthew Brost 
15*dd08ebf6SMatthew Brost void xe_gt_topology_dump(struct xe_gt *gt, struct drm_printer *p);
16*dd08ebf6SMatthew Brost 
17*dd08ebf6SMatthew Brost unsigned int
18*dd08ebf6SMatthew Brost xe_dss_mask_group_ffs(xe_dss_mask_t mask, int groupsize, int groupnum);
19*dd08ebf6SMatthew Brost 
20*dd08ebf6SMatthew Brost #endif /* __XE_GT_TOPOLOGY_H__ */
21