Commit daf54f1f authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie

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=35472Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 0e90ed0e
...@@ -575,6 +575,12 @@ static void rv770_program_channel_remap(struct radeon_device *rdev) ...@@ -575,6 +575,12 @@ static void rv770_program_channel_remap(struct radeon_device *rdev)
else else
tcp_chan_steer = 0x00fac688; tcp_chan_steer = 0x00fac688;
/* RV770 CE has special chremap setup */
if (rdev->pdev->device == 0x944e) {
tcp_chan_steer = 0x00b08b08;
mc_shared_chremap = 0x00b08b08;
}
WREG32(TCP_CHAN_STEER, tcp_chan_steer); WREG32(TCP_CHAN_STEER, tcp_chan_steer);
WREG32(MC_SHARED_CHREMAP, mc_shared_chremap); WREG32(MC_SHARED_CHREMAP, mc_shared_chremap);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment