summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r300.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-12-04 10:55:12 -0500
committerDave Airlie <airlied@redhat.com>2009-12-08 08:51:12 +1000
commit92cde00cbaf3236ef7ea9bd4f0b43c8c4a3f507f (patch)
tree022c274b9295c3191e2c63060bb1dafa435e49cc /drivers/gpu/drm/radeon/r300.c
parent6b02af1c1f35550ce1a9873841fe9c50b1613591 (diff)
downloadblackbird-op-linux-92cde00cbaf3236ef7ea9bd4f0b43c8c4a3f507f.tar.gz
blackbird-op-linux-92cde00cbaf3236ef7ea9bd4f0b43c8c4a3f507f.zip
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.c3
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)
{
int r;
+ /* set common regs */
+ r100_set_common_regs(rdev);
+ /* program mc */
r300_mc_program(rdev);
/* Resume clock */
r300_clock_startup(rdev);
OpenPOWER on IntegriCloud