diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-01-24 23:24:59 -0500 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2011-01-27 13:53:30 +1000 |
commit | d75ee3be44380040b9d2c7925298dc52e049768d (patch) | |
tree | b7677fdbe19922c8e226dcb1419f9d94d17c51a2 /drivers/gpu/drm/radeon/r420.c | |
parent | 9453d621186426500aa50049dfa0a8b15c86201d (diff) | |
download | blackbird-op-linux-d75ee3be44380040b9d2c7925298dc52e049768d.tar.gz blackbird-op-linux-d75ee3be44380040b9d2c7925298dc52e049768d.zip |
drm/radeon/kms: clean up some magic numbers
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r420.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r420.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r420.c b/drivers/gpu/drm/radeon/r420.c index c387346f93a9..0b59ed7c7d2c 100644 --- a/drivers/gpu/drm/radeon/r420.c +++ b/drivers/gpu/drm/radeon/r420.c @@ -96,7 +96,7 @@ void r420_pipes_init(struct radeon_device *rdev) "programming pipes. Bad things might happen.\n"); } /* get max number of pipes */ - gb_pipe_select = RREG32(0x402C); + gb_pipe_select = RREG32(R400_GB_PIPE_SELECT); num_pipes = ((gb_pipe_select >> 12) & 3) + 1; /* SE chips have 1 pipe */ |