git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/radeon/kms: clean up some magic numbers
[pandora-kernel.git]
/
drivers
/
gpu
/
drm
/
radeon
/
r420.c
diff --git
a/drivers/gpu/drm/radeon/r420.c
b/drivers/gpu/drm/radeon/r420.c
index
c387346
..
0b59ed7
100644
(file)
--- 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 */