aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/xe/xe_wopcm_types.h
blob: 486d850c408471f4397604f5f0e42674a40b5405 (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 {
		/** @base: GuC WOPCM base which is offset from WOPCM base */
		u32 base;
		/** @size: Size of the GuC WOPCM region */
		u32 size;
	} guc;
};

#endif