diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-06-30 08:59:55 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-06-30 17:29:46 -0400 |
commit | daf54f1f363a61c618662ef66d4bf09d2b090941 (patch) | |
tree | 255ddbc906264562445ddee96b22b9f2afdd3f96 /drivers | |
parent | 0e90ed0e8b9b1c25040442f1d20c799751b1e727 (diff) |
drm/radeon/kms: Fix chremap setup on RV770 CE
CE variant requires a different chremap setup.
Fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=35472
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/rv770.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c index 6f508ffd1035..8bb347d23ca6 100644 --- a/drivers/gpu/drm/radeon/rv770.c +++ b/drivers/gpu/drm/radeon/rv770.c | |||
@@ -575,6 +575,12 @@ static void rv770_program_channel_remap(struct radeon_device *rdev) | |||
575 | else | 575 | else |
576 | tcp_chan_steer = 0x00fac688; | 576 | tcp_chan_steer = 0x00fac688; |
577 | 577 | ||
578 | /* RV770 CE has special chremap setup */ | ||
579 | if (rdev->pdev->device == 0x944e) { | ||
580 | tcp_chan_steer = 0x00b08b08; | ||
581 | mc_shared_chremap = 0x00b08b08; | ||
582 | } | ||
583 | |||
578 | WREG32(TCP_CHAN_STEER, tcp_chan_steer); | 584 | WREG32(TCP_CHAN_STEER, tcp_chan_steer); |
579 | WREG32(MC_SHARED_CHREMAP, mc_shared_chremap); | 585 | WREG32(MC_SHARED_CHREMAP, mc_shared_chremap); |
580 | } | 586 | } |