aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_gt_topology.h
blob: 7a0abc64084f25d7a298ef5a88d272fb2b87116f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2022 Intel Corporation
 */

#ifndef __XE_GT_TOPOLOGY_H__
#define __XE_GT_TOPOLOGY_H__

#include "xe_gt_types.h"

struct drm_printer;

void xe_gt_topology_init(struct xe_gt *gt);

void xe_gt_topology_dump(struct xe_gt *gt, struct drm_printer *p);

unsigned int
xe_dss_mask_group_ffs(xe_dss_mask_t mask, int groupsize, int groupnum);

#endif /* __XE_GT_TOPOLOGY_H__ */