1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright �� 2022 Intel Corporation
4 */
5
6#ifndef _XE_WOPCM_TYPES_H_
7#define _XE_WOPCM_TYPES_H_
8
9#include <linux/types.h>
10
11/**
12 * struct xe_wopcm - Overall WOPCM info and WOPCM regions.
13 */
14struct xe_wopcm {
15	/** @size: Size of overall WOPCM */
16	u32 size;
17	/** @guc: GuC WOPCM Region info */
18	struct {
19		/** @guc.base: GuC WOPCM base which is offset from WOPCM base */
20		u32 base;
21		/** @guc.size: Size of the GuC WOPCM region */
22		u32 size;
23	} guc;
24};
25
26#endif
27