Rev 1125 | Rev 1129 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1125 | Rev 1128 | ||
---|---|---|---|
Line 50... | Line 50... | ||
50 | int rv515_debugfs_pipes_info_init(struct radeon_device *rdev); |
50 | int rv515_debugfs_pipes_info_init(struct radeon_device *rdev); |
51 | int rv515_debugfs_ga_info_init(struct radeon_device *rdev); |
51 | int rv515_debugfs_ga_info_init(struct radeon_device *rdev); |
52 | void rv515_gpu_init(struct radeon_device *rdev); |
52 | void rv515_gpu_init(struct radeon_device *rdev); |
53 | int rv515_mc_wait_for_idle(struct radeon_device *rdev); |
53 | int rv515_mc_wait_for_idle(struct radeon_device *rdev); |
Line 54... | Line -... | ||
54 | - | ||
55 | #if 0 |
54 | |
56 | /* |
55 | /* |
57 | * MC |
56 | * MC |
58 | */ |
57 | */ |
59 | int rv515_mc_init(struct radeon_device *rdev) |
58 | int rv515_mc_init(struct radeon_device *rdev) |
60 | { |
59 | { |
61 | uint32_t tmp; |
60 | uint32_t tmp; |
Line 62... | Line 61... | ||
62 | int r; |
61 | int r; |
63 | 62 | ||
64 | if (r100_debugfs_rbbm_init(rdev)) { |
63 | // if (r100_debugfs_rbbm_init(rdev)) { |
65 | DRM_ERROR("Failed to register debugfs file for RBBM !\n"); |
64 | // DRM_ERROR("Failed to register debugfs file for RBBM !\n"); |
66 | } |
65 | // } |
67 | if (rv515_debugfs_pipes_info_init(rdev)) { |
66 | // if (rv515_debugfs_pipes_info_init(rdev)) { |
68 | DRM_ERROR("Failed to register debugfs file for pipes !\n"); |
67 | // DRM_ERROR("Failed to register debugfs file for pipes !\n"); |
69 | } |
68 | // } |
70 | if (rv515_debugfs_ga_info_init(rdev)) { |
69 | // if (rv515_debugfs_ga_info_init(rdev)) { |
Line 71... | Line 70... | ||
71 | DRM_ERROR("Failed to register debugfs file for pipes !\n"); |
70 | // DRM_ERROR("Failed to register debugfs file for pipes !\n"); |
72 | } |
71 | // } |
Line 73... | Line 72... | ||
73 | 72 | ||
Line 128... | Line 127... | ||
128 | rv370_pcie_gart_disable(rdev); |
127 | rv370_pcie_gart_disable(rdev); |
129 | radeon_gart_table_vram_free(rdev); |
128 | radeon_gart_table_vram_free(rdev); |
130 | radeon_gart_fini(rdev); |
129 | radeon_gart_fini(rdev); |
131 | } |
130 | } |
Line 132... | Line -... | ||
132 | - | ||
Line 133... | Line 131... | ||
133 | #endif |
131 | |
134 | 132 | ||
135 | /* |
133 | /* |
136 | * Global GPU functions |
134 | * Global GPU functions |
Line 254... | Line 252... | ||
254 | DRM_UDELAY(1); |
252 | DRM_UDELAY(1); |
255 | } |
253 | } |
256 | return -1; |
254 | return -1; |
257 | } |
255 | } |
Line 258... | Line -... | ||
258 | - | ||
259 | #if 0 |
256 | |
260 | void rv515_gpu_init(struct radeon_device *rdev) |
257 | void rv515_gpu_init(struct radeon_device *rdev) |
261 | { |
258 | { |
Line 262... | Line 259... | ||
262 | unsigned pipe_select_current, gb_pipe_select, tmp; |
259 | unsigned pipe_select_current, gb_pipe_select, tmp; |
Line 286... | Line 283... | ||
286 | printk(KERN_WARNING "Failed to wait MC idle while " |
283 | printk(KERN_WARNING "Failed to wait MC idle while " |
287 | "programming pipes. Bad things might happen.\n"); |
284 | "programming pipes. Bad things might happen.\n"); |
288 | } |
285 | } |
289 | } |
286 | } |
Line 290... | Line -... | ||
290 | - | ||
Line 291... | Line 287... | ||
291 | #endif |
287 | |
292 | 288 | ||
293 | int rv515_ga_reset(struct radeon_device *rdev) |
289 | int rv515_ga_reset(struct radeon_device *rdev) |
294 | { |
290 | { |