xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/regsnv04.h (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1 #ifndef __NVKM_FB_REGS_04_H__
2 #define __NVKM_FB_REGS_04_H__
3 
4 #define NV04_PFB_BOOT_0						0x00100000
5 #	define NV04_PFB_BOOT_0_RAM_AMOUNT			0x00000003
6 #	define NV04_PFB_BOOT_0_RAM_AMOUNT_32MB			0x00000000
7 #	define NV04_PFB_BOOT_0_RAM_AMOUNT_4MB			0x00000001
8 #	define NV04_PFB_BOOT_0_RAM_AMOUNT_8MB			0x00000002
9 #	define NV04_PFB_BOOT_0_RAM_AMOUNT_16MB			0x00000003
10 #	define NV04_PFB_BOOT_0_RAM_WIDTH_128			0x00000004
11 #	define NV04_PFB_BOOT_0_RAM_TYPE				0x00000028
12 #	define NV04_PFB_BOOT_0_RAM_TYPE_SGRAM_8MBIT		0x00000000
13 #	define NV04_PFB_BOOT_0_RAM_TYPE_SGRAM_16MBIT		0x00000008
14 #	define NV04_PFB_BOOT_0_RAM_TYPE_SGRAM_16MBIT_4BANK	0x00000010
15 #	define NV04_PFB_BOOT_0_RAM_TYPE_SDRAM_16MBIT		0x00000018
16 #	define NV04_PFB_BOOT_0_RAM_TYPE_SDRAM_64MBIT		0x00000020
17 #	define NV04_PFB_BOOT_0_RAM_TYPE_SDRAM_64MBITX16		0x00000028
18 #	define NV04_PFB_BOOT_0_UMA_ENABLE			0x00000100
19 #	define NV04_PFB_BOOT_0_UMA_SIZE				0x0000f000
20 #define NV04_PFB_CFG0						0x00100200
21 
22 #endif
23