Subversion Repositories Kolibri OS

Rev

Rev 2325 | Rev 3243 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2325 Rev 3031
Line 62... Line 62...
62
#define I810_PTE_LOCAL		0x00000002
62
#define I810_PTE_LOCAL		0x00000002
63
#define I810_PTE_VALID		0x00000001
63
#define I810_PTE_VALID		0x00000001
64
#define I830_PTE_SYSTEM_CACHED  0x00000006
64
#define I830_PTE_SYSTEM_CACHED  0x00000006
65
/* GT PTE cache control fields */
65
/* GT PTE cache control fields */
66
#define GEN6_PTE_UNCACHED	0x00000002
66
#define GEN6_PTE_UNCACHED	0x00000002
-
 
67
#define HSW_PTE_UNCACHED	0x00000000
67
#define GEN6_PTE_LLC		0x00000004
68
#define GEN6_PTE_LLC		0x00000004
68
#define GEN6_PTE_LLC_MLC	0x00000006
69
#define GEN6_PTE_LLC_MLC	0x00000006
69
#define GEN6_PTE_GFDT		0x00000008
70
#define GEN6_PTE_GFDT		0x00000008
Line 70... Line 71...
70
 
71
 
Line 94... Line 95...
94
#define G4x_GMCH_SIZE_VT_1M	(G4x_GMCH_SIZE_1M | G4x_GMCH_SIZE_VT_EN)
95
#define G4x_GMCH_SIZE_VT_1M	(G4x_GMCH_SIZE_1M | G4x_GMCH_SIZE_VT_EN)
95
#define G4x_GMCH_SIZE_VT_1_5M	((0x2 << 8) | G4x_GMCH_SIZE_VT_EN)
96
#define G4x_GMCH_SIZE_VT_1_5M	((0x2 << 8) | G4x_GMCH_SIZE_VT_EN)
96
#define G4x_GMCH_SIZE_VT_2M	(G4x_GMCH_SIZE_2M | G4x_GMCH_SIZE_VT_EN)
97
#define G4x_GMCH_SIZE_VT_2M	(G4x_GMCH_SIZE_2M | G4x_GMCH_SIZE_VT_EN)
Line 97... Line 98...
97
 
98
 
-
 
99
#define GFX_FLSH_CNTL		0x2170 /* 915+ */
Line 98... Line 100...
98
#define GFX_FLSH_CNTL		0x2170 /* 915+ */
100
#define GFX_FLSH_CNTL_VLV	0x101008
99
 
101
 
100
#define I810_DRAM_CTL		0x3000
102
#define I810_DRAM_CTL		0x3000
Line 209... Line 211...
209
#define PCI_DEVICE_ID_INTEL_G45_HB          0x2E20
211
#define PCI_DEVICE_ID_INTEL_G45_HB          0x2E20
210
#define PCI_DEVICE_ID_INTEL_G45_IG          0x2E22
212
#define PCI_DEVICE_ID_INTEL_G45_IG          0x2E22
211
#define PCI_DEVICE_ID_INTEL_G41_HB          0x2E30
213
#define PCI_DEVICE_ID_INTEL_G41_HB          0x2E30
212
#define PCI_DEVICE_ID_INTEL_G41_IG          0x2E32
214
#define PCI_DEVICE_ID_INTEL_G41_IG          0x2E32
213
#define PCI_DEVICE_ID_INTEL_IRONLAKE_D_HB	    0x0040
215
#define PCI_DEVICE_ID_INTEL_IRONLAKE_D_HB	    0x0040
-
 
216
#define PCI_DEVICE_ID_INTEL_IRONLAKE_D2_HB	    0x0069
214
#define PCI_DEVICE_ID_INTEL_IRONLAKE_D_IG	    0x0042
217
#define PCI_DEVICE_ID_INTEL_IRONLAKE_D_IG	    0x0042
215
#define PCI_DEVICE_ID_INTEL_IRONLAKE_M_HB	    0x0044
218
#define PCI_DEVICE_ID_INTEL_IRONLAKE_M_HB	    0x0044
216
#define PCI_DEVICE_ID_INTEL_IRONLAKE_MA_HB	    0x0062
219
#define PCI_DEVICE_ID_INTEL_IRONLAKE_MA_HB	    0x0062
217
#define PCI_DEVICE_ID_INTEL_IRONLAKE_MC2_HB    0x006a
220
#define PCI_DEVICE_ID_INTEL_IRONLAKE_MC2_HB    0x006a
218
#define PCI_DEVICE_ID_INTEL_IRONLAKE_M_IG	    0x0046
221
#define PCI_DEVICE_ID_INTEL_IRONLAKE_M_IG	    0x0046
Line 232... Line 235...
232
#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_M_HB		0x0154  /* Mobile */
235
#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_M_HB		0x0154  /* Mobile */
233
#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_M_GT1_IG		0x0156
236
#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_M_GT1_IG		0x0156
234
#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_M_GT2_IG		0x0166
237
#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_M_GT2_IG		0x0166
235
#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_HB		0x0158  /* Server */
238
#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_HB		0x0158  /* Server */
236
#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_GT1_IG		0x015A
239
#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_GT1_IG		0x015A
-
 
240
#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_GT2_IG		0x016A
-
 
241
#define PCI_DEVICE_ID_INTEL_VALLEYVIEW_HB		0x0F00 /* VLV1 */
-
 
242
#define PCI_DEVICE_ID_INTEL_VALLEYVIEW_IG		0x0F30
-
 
243
#define PCI_DEVICE_ID_INTEL_HASWELL_HB			0x0400 /* Desktop */
-
 
244
#define PCI_DEVICE_ID_INTEL_HASWELL_D_GT1_IG		0x0402
-
 
245
#define PCI_DEVICE_ID_INTEL_HASWELL_D_GT2_IG		0x0412
-
 
246
#define PCI_DEVICE_ID_INTEL_HASWELL_D_GT2_PLUS_IG	0x0422
-
 
247
#define PCI_DEVICE_ID_INTEL_HASWELL_M_HB		0x0404 /* Mobile */
-
 
248
#define PCI_DEVICE_ID_INTEL_HASWELL_M_GT1_IG		0x0406
-
 
249
#define PCI_DEVICE_ID_INTEL_HASWELL_M_GT2_IG		0x0416
-
 
250
#define PCI_DEVICE_ID_INTEL_HASWELL_M_GT2_PLUS_IG	0x0426
-
 
251
#define PCI_DEVICE_ID_INTEL_HASWELL_S_HB		0x0408 /* Server */
-
 
252
#define PCI_DEVICE_ID_INTEL_HASWELL_S_GT1_IG		0x040a
-
 
253
#define PCI_DEVICE_ID_INTEL_HASWELL_S_GT2_IG		0x041a
-
 
254
#define PCI_DEVICE_ID_INTEL_HASWELL_S_GT2_PLUS_IG	0x042a
-
 
255
#define PCI_DEVICE_ID_INTEL_HASWELL_E_HB		0x0c04
-
 
256
#define PCI_DEVICE_ID_INTEL_HASWELL_SDV_D_GT1_IG	0x0C02
-
 
257
#define PCI_DEVICE_ID_INTEL_HASWELL_SDV_D_GT2_IG	0x0C12
-
 
258
#define PCI_DEVICE_ID_INTEL_HASWELL_SDV_D_GT2_PLUS_IG	0x0C22
-
 
259
#define PCI_DEVICE_ID_INTEL_HASWELL_SDV_M_GT1_IG	0x0C06
-
 
260
#define PCI_DEVICE_ID_INTEL_HASWELL_SDV_M_GT2_IG	0x0C16
-
 
261
#define PCI_DEVICE_ID_INTEL_HASWELL_SDV_M_GT2_PLUS_IG	0x0C26
-
 
262
#define PCI_DEVICE_ID_INTEL_HASWELL_SDV_S_GT1_IG	0x0C0A
-
 
263
#define PCI_DEVICE_ID_INTEL_HASWELL_SDV_S_GT2_IG	0x0C1A
-
 
264
#define PCI_DEVICE_ID_INTEL_HASWELL_SDV_S_GT2_PLUS_IG	0x0C2A
-
 
265
#define PCI_DEVICE_ID_INTEL_HASWELL_ULT_D_GT1_IG	0x0A02
-
 
266
#define PCI_DEVICE_ID_INTEL_HASWELL_ULT_D_GT2_IG	0x0A12
-
 
267
#define PCI_DEVICE_ID_INTEL_HASWELL_ULT_D_GT2_PLUS_IG	0x0A22
-
 
268
#define PCI_DEVICE_ID_INTEL_HASWELL_ULT_M_GT1_IG	0x0A06
-
 
269
#define PCI_DEVICE_ID_INTEL_HASWELL_ULT_M_GT2_IG	0x0A16
-
 
270
#define PCI_DEVICE_ID_INTEL_HASWELL_ULT_M_GT2_PLUS_IG	0x0A26
-
 
271
#define PCI_DEVICE_ID_INTEL_HASWELL_ULT_S_GT1_IG	0x0A0A
-
 
272
#define PCI_DEVICE_ID_INTEL_HASWELL_ULT_S_GT2_IG	0x0A1A
-
 
273
#define PCI_DEVICE_ID_INTEL_HASWELL_ULT_S_GT2_PLUS_IG	0x0A2A
-
 
274
#define PCI_DEVICE_ID_INTEL_HASWELL_CRW_D_GT1_IG	0x0D12
-
 
275
#define PCI_DEVICE_ID_INTEL_HASWELL_CRW_D_GT2_IG	0x0D22
-
 
276
#define PCI_DEVICE_ID_INTEL_HASWELL_CRW_D_GT2_PLUS_IG	0x0D32
-
 
277
#define PCI_DEVICE_ID_INTEL_HASWELL_CRW_M_GT1_IG	0x0D16
-
 
278
#define PCI_DEVICE_ID_INTEL_HASWELL_CRW_M_GT2_IG	0x0D26
-
 
279
#define PCI_DEVICE_ID_INTEL_HASWELL_CRW_M_GT2_PLUS_IG	0x0D36
-
 
280
#define PCI_DEVICE_ID_INTEL_HASWELL_CRW_S_GT1_IG	0x0D1A
-
 
281
#define PCI_DEVICE_ID_INTEL_HASWELL_CRW_S_GT2_IG	0x0D2A
-
 
282
#define PCI_DEVICE_ID_INTEL_HASWELL_CRW_S_GT2_PLUS_IG	0x0D3A
Line 237... Line -...
237
 
-
 
238
int intel_gmch_probe(struct pci_dev *pdev,
-
 
239
			       struct agp_bridge_data *bridge);
-
 
240
void intel_gmch_remove(struct pci_dev *pdev);
283