aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/rv770.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/rv770.c')
-rw-r--r--drivers/gpu/drm/radeon/rv770.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c
index 323fa6be5082..f4bb0b129a0f 100644
--- a/drivers/gpu/drm/radeon/rv770.c
+++ b/drivers/gpu/drm/radeon/rv770.c
@@ -556,9 +556,12 @@ static void rv770_gpu_init(struct radeon_device *rdev)
556 556
557 gb_tiling_config |= BANK_SWAPS(1); 557 gb_tiling_config |= BANK_SWAPS(1);
558 558
559 backend_map = r700_get_tile_pipe_to_backend_map(rdev->config.rv770.max_tile_pipes, 559 if (rdev->family == CHIP_RV740)
560 rdev->config.rv770.max_backends, 560 backend_map = 0x28;
561 (0xff << rdev->config.rv770.max_backends) & 0xff); 561 else
562 backend_map = r700_get_tile_pipe_to_backend_map(rdev->config.rv770.max_tile_pipes,
563 rdev->config.rv770.max_backends,
564 (0xff << rdev->config.rv770.max_backends) & 0xff);
562 gb_tiling_config |= BACKEND_MAP(backend_map); 565 gb_tiling_config |= BACKEND_MAP(backend_map);
563 566
564 cc_gc_shader_pipe_config = 567 cc_gc_shader_pipe_config =