xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/regsnv04.h (revision 0898782247ae533d1f4e47a06bc5d4870931b284)
1*b7019ac5SIlia Mirkin /* SPDX-License-Identifier: MIT */
2639c308eSBen Skeggs #ifndef __NVKM_FB_REGS_04_H__
3639c308eSBen Skeggs #define __NVKM_FB_REGS_04_H__
4c39f472eSBen Skeggs 
5c39f472eSBen Skeggs #define NV04_PFB_BOOT_0						0x00100000
6c39f472eSBen Skeggs #	define NV04_PFB_BOOT_0_RAM_AMOUNT			0x00000003
7c39f472eSBen Skeggs #	define NV04_PFB_BOOT_0_RAM_AMOUNT_32MB			0x00000000
8c39f472eSBen Skeggs #	define NV04_PFB_BOOT_0_RAM_AMOUNT_4MB			0x00000001
9c39f472eSBen Skeggs #	define NV04_PFB_BOOT_0_RAM_AMOUNT_8MB			0x00000002
10c39f472eSBen Skeggs #	define NV04_PFB_BOOT_0_RAM_AMOUNT_16MB			0x00000003
11c39f472eSBen Skeggs #	define NV04_PFB_BOOT_0_RAM_WIDTH_128			0x00000004
12c39f472eSBen Skeggs #	define NV04_PFB_BOOT_0_RAM_TYPE				0x00000028
13c39f472eSBen Skeggs #	define NV04_PFB_BOOT_0_RAM_TYPE_SGRAM_8MBIT		0x00000000
14c39f472eSBen Skeggs #	define NV04_PFB_BOOT_0_RAM_TYPE_SGRAM_16MBIT		0x00000008
15c39f472eSBen Skeggs #	define NV04_PFB_BOOT_0_RAM_TYPE_SGRAM_16MBIT_4BANK	0x00000010
16c39f472eSBen Skeggs #	define NV04_PFB_BOOT_0_RAM_TYPE_SDRAM_16MBIT		0x00000018
17c39f472eSBen Skeggs #	define NV04_PFB_BOOT_0_RAM_TYPE_SDRAM_64MBIT		0x00000020
18c39f472eSBen Skeggs #	define NV04_PFB_BOOT_0_RAM_TYPE_SDRAM_64MBITX16		0x00000028
19c39f472eSBen Skeggs #	define NV04_PFB_BOOT_0_UMA_ENABLE			0x00000100
20c39f472eSBen Skeggs #	define NV04_PFB_BOOT_0_UMA_SIZE				0x0000f000
21639c308eSBen Skeggs #define NV04_PFB_CFG0						0x00100200
22c39f472eSBen Skeggs 
23c39f472eSBen Skeggs #endif
24