summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/regs/xe_sriov_regs.h
blob: 617ddb84b7faf30b08ffbae9de50f071b91f94c8 (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 © 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 VF_CAP_REG			XE_REG(0x1901f8, XE_REG_OPTION_VF)
#define   VF_CAP			REG_BIT(0)

#endif