Skip to content

Commit daf54f1

Browse files
agd5fairlied
authored andcommitted
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 <[email protected]> Cc: [email protected] Signed-off-by: Dave Airlie <[email protected]>
1 parent 0e90ed0 commit daf54f1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/gpu/drm/radeon/rv770.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,12 @@ static void rv770_program_channel_remap(struct radeon_device *rdev)
575575
else
576576
tcp_chan_steer = 0x00fac688;
577577

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+
578584
WREG32(TCP_CHAN_STEER, tcp_chan_steer);
579585
WREG32(MC_SHARED_CHREMAP, mc_shared_chremap);
580586
}

0 commit comments

Comments
 (0)