summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/regs/xe_sriov_regs.h
blob: 017b4ddd1ecf4fb4f778f49774a789d87f5801fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2023 Intel Corporation
 */

#ifndef _REGS_XE_SRIOV_REGS_H_
#define _REGS_XE_SRIOV_REGS_H_

#include "regs/xe_reg_defs.h"

#define XE2_LMEM_CFG			XE_REG(0x48b0)

#define LMEM_CFG			XE_REG(0xcf58)
#define   LMEM_EN			REG_BIT(31)
#define   LMTT_DIR_PTR			REG_GENMASK(30, 0) /* in multiples of 64KB */

#define VIRTUAL_CTRL_REG		XE_REG(0x10108c)
#define   GUEST_GTT_UPDATE_EN		REG_BIT(8)

#define VF_CAP_REG			XE_REG(0x1901f8, XE_REG_OPTION_VF)
#define   VF_CAP			REG_BIT(0)

#endif