Rev 1128 | Rev 1179 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1128 | Rev 1129 | ||
---|---|---|---|
Line 93... | Line 93... | ||
93 | /* Initialize common gart structure */ |
93 | /* Initialize common gart structure */ |
94 | r = radeon_gart_init(rdev); |
94 | r = radeon_gart_init(rdev); |
95 | if (r) { |
95 | if (r) { |
96 | return r; |
96 | return r; |
97 | } |
97 | } |
98 | // r = rv370_debugfs_pcie_gart_info_init(rdev); |
98 | r = rv370_debugfs_pcie_gart_info_init(rdev); |
99 | // if (r) { |
99 | if (r) { |
100 | // DRM_ERROR("Failed to register debugfs file for PCIE gart !\n"); |
100 | DRM_ERROR("Failed to register debugfs file for PCIE gart !\n"); |
101 | // } |
101 | } |
102 | rdev->gart.table_size = rdev->gart.num_gpu_pages * 4; |
102 | rdev->gart.table_size = rdev->gart.num_gpu_pages * 4; |
103 | r = radeon_gart_table_vram_alloc(rdev); |
103 | r = radeon_gart_table_vram_alloc(rdev); |
104 | if (r) { |
104 | if (r) { |
105 | return r; |
105 | return r; |
106 | } |
106 | } |
Line 182... | Line 182... | ||
182 | */ |
182 | */ |
183 | int r300_mc_init(struct radeon_device *rdev) |
183 | int r300_mc_init(struct radeon_device *rdev) |
184 | { |
184 | { |
185 | int r; |
185 | int r; |
Line 186... | Line 186... | ||
186 | 186 | ||
187 | // if (r100_debugfs_rbbm_init(rdev)) { |
187 | if (r100_debugfs_rbbm_init(rdev)) { |
188 | // DRM_ERROR("Failed to register debugfs file for RBBM !\n"); |
188 | DRM_ERROR("Failed to register debugfs file for RBBM !\n"); |
Line 189... | Line 189... | ||
189 | // } |
189 | } |
190 | 190 | ||
191 | r300_gpu_init(rdev); |
191 | r300_gpu_init(rdev); |
192 | r100_pci_gart_disable(rdev); |
192 | r100_pci_gart_disable(rdev); |