diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-12-04 10:55:12 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-07 17:51:12 -0500 |
commit | 92cde00cbaf3236ef7ea9bd4f0b43c8c4a3f507f (patch) | |
tree | 022c274b9295c3191e2c63060bb1dafa435e49cc /drivers/gpu/drm/radeon/r300.c | |
parent | 6b02af1c1f35550ce1a9873841fe9c50b1613591 (diff) |
drm/radeon/kms/legacy: set common regs to sane value
The DDX and radeonfb always set these regs to a sane value.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r300.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r300.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r300.c b/drivers/gpu/drm/radeon/r300.c index b3d1d8b9df92..86065dcc1982 100644 --- a/drivers/gpu/drm/radeon/r300.c +++ b/drivers/gpu/drm/radeon/r300.c | |||
@@ -1186,6 +1186,9 @@ static int r300_startup(struct radeon_device *rdev) | |||
1186 | { | 1186 | { |
1187 | int r; | 1187 | int r; |
1188 | 1188 | ||
1189 | /* set common regs */ | ||
1190 | r100_set_common_regs(rdev); | ||
1191 | /* program mc */ | ||
1189 | r300_mc_program(rdev); | 1192 | r300_mc_program(rdev); |
1190 | /* Resume clock */ | 1193 | /* Resume clock */ |
1191 | r300_clock_startup(rdev); | 1194 | r300_clock_startup(rdev); |