summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/xe/xe_wopcm_types.h
blob: 99d34837c408a7a5035ae9b0fdfec53a612b2b0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2022 Intel Corporation
 */

#ifndef _XE_WOPCM_TYPES_H_
#define _XE_WOPCM_TYPES_H_

#include <linux/types.h>

/**
 * struct xe_wopcm - Overall WOPCM info and WOPCM regions.
 */
struct xe_wopcm {
	/** @size: Size of overall WOPCM */
	u32 size;
	/** @guc: GuC WOPCM Region info */
	struct {
		/** @guc.base: GuC WOPCM base which is offset from WOPCM base */
		u32 base;
		/** @guc.size: Size of the GuC WOPCM region */
		u32 size;
	} guc;
};

#endif