Rev 4304 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4304 | Rev 4315 | ||
---|---|---|---|
Line 37... | Line 37... | ||
37 | #include "config.h" |
37 | #include "config.h" |
38 | #endif |
38 | #endif |
Line 39... | Line 39... | ||
39 | 39 | ||
40 | #include |
40 | #include |
41 | #include |
- | |
42 | #include |
- | |
43 | #include |
41 | #include |
Line 44... | Line 42... | ||
44 | #include "i915_pciids.h" |
42 | #include "i915_pciids.h" |
45 | 43 | ||
- | 44 | #include "compiler.h" |
|
46 | #include "compiler.h" |
45 | #include "sna.h" |
- | 46 | ||
Line 47... | Line 47... | ||
47 | #include "sna.h" |
47 | #include |
Line 48... | Line 48... | ||
48 | #include "intel_driver.h" |
48 | #include |
49 | 49 | ||
Line 90... | Line 90... | ||
90 | int pitch, int height); |
90 | int pitch, int height); |
Line 91... | Line 91... | ||
91 | 91 | ||
92 | void kgem_close_batches(struct kgem *kgem); |
92 | void kgem_close_batches(struct kgem *kgem); |
Line 93... | Line -... | ||
93 | void sna_bo_destroy(struct kgem *kgem, struct kgem_bo *bo); |
- | |
94 | - | ||
Line 95... | Line 93... | ||
95 | const struct intel_device_info * |
93 | void sna_bo_destroy(struct kgem *kgem, struct kgem_bo *bo); |
Line 96... | Line 94... | ||
96 | intel_detect_chipset(struct pci_device *pci); |
94 | |
Line 934... | Line 932... | ||
934 | 932 | ||
935 | if(ent != NULL) |
933 | if(ent != NULL) |
936 | return (const struct intel_device_info*)ent->match_data; |
934 | return (const struct intel_device_info*)ent->match_data; |
937 | else |
935 | else |
938 | return &intel_generic_info; |
- | |
939 | - | ||
940 | #if 0 |
- | |
941 | for (i = 0; intel_chipsets[i].name != NULL; i++) { |
- | |
942 | if (DEVICE_ID(pci) == intel_chipsets[i].token) { |
- | |
943 | name = intel_chipsets[i].name; |
- | |
944 | break; |
- | |
945 | } |
- | |
946 | } |
- | |
947 | if (name == NULL) { |
- | |
948 | xf86DrvMsg(scrn->scrnIndex, X_WARNING, "unknown chipset\n"); |
- | |
949 | name = "unknown"; |
- | |
950 | } else { |
- | |
951 | xf86DrvMsg(scrn->scrnIndex, from, |
- | |
952 | "Integrated Graphics Chipset: Intel(R) %s\n", |
- | |
953 | name); |
- | |
954 | } |
- | |
955 | - | ||
956 | scrn->chipset = name; |
- | |
957 | #endif |
- | |
958 | 936 | return &intel_generic_info; |
|
Line 959... | Line 937... | ||
959 | } |
937 | } |
960 | 938 | ||
961 | int intel_get_device_id(int fd) |
939 | int intel_get_device_id(int fd) |