1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright �� 2022 Intel Corporation
4 */
5
6#ifndef _XE_GT_TOPOLOGY_H_
7#define _XE_GT_TOPOLOGY_H_
8
9#include "xe_gt_types.h"
10
11struct drm_printer;
12
13void xe_gt_topology_init(struct xe_gt *gt);
14
15void xe_gt_topology_dump(struct xe_gt *gt, struct drm_printer *p);
16
17unsigned int
18xe_dss_mask_group_ffs(const xe_dss_mask_t mask, int groupsize, int groupnum);
19
20bool xe_dss_mask_empty(const xe_dss_mask_t mask);
21
22bool
23xe_gt_topology_has_dss_in_quadrant(struct xe_gt *gt, int quad);
24
25#endif /* _XE_GT_TOPOLOGY_H_ */
26