diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/r300.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r300.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/r300.c b/drivers/gpu/drm/radeon/r300.c index 2a9b59457556..6ec86fc2f474 100644 --- a/drivers/gpu/drm/radeon/r300.c +++ b/drivers/gpu/drm/radeon/r300.c | |||
@@ -323,13 +323,12 @@ void r300_gpu_init(struct radeon_device *rdev) | |||
323 | uint32_t gb_tile_config, tmp; | 323 | uint32_t gb_tile_config, tmp; |
324 | 324 | ||
325 | r100_hdp_reset(rdev); | 325 | r100_hdp_reset(rdev); |
326 | /* FIXME: rv380 one pipes ? */ | ||
327 | if ((rdev->family == CHIP_R300 && rdev->pdev->device != 0x4144) || | 326 | if ((rdev->family == CHIP_R300 && rdev->pdev->device != 0x4144) || |
328 | (rdev->family == CHIP_R350)) { | 327 | (rdev->family == CHIP_R350 && rdev->pdev->device != 0x4148)) { |
329 | /* r300,r350 */ | 328 | /* r300,r350 */ |
330 | rdev->num_gb_pipes = 2; | 329 | rdev->num_gb_pipes = 2; |
331 | } else { | 330 | } else { |
332 | /* rv350,rv370,rv380,r300 AD */ | 331 | /* rv350,rv370,rv380,r300 AD, r350 AH */ |
333 | rdev->num_gb_pipes = 1; | 332 | rdev->num_gb_pipes = 1; |
334 | } | 333 | } |
335 | rdev->num_z_pipes = 1; | 334 | rdev->num_z_pipes = 1; |