diff options
author | Tijl Coosemans <tijl@coosemans.org> | 2010-12-20 21:54:52 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-12-20 21:55:33 -0500 |
commit | 21719b398b0e49d21c0b9083cffd552ba28ed4af (patch) | |
tree | 0aba4c1dfa294164d04d123f08418f525a98d865 | |
parent | 57084d05379fe5c081d024006129b0565a11855f (diff) |
drm/radeon: Definition of R_0003C2_GENMO_WT seems wrong
In drivers/gpu/drm/radeon/r100d.h R_0003C2_GENMO_WT is defined as 0x3C0.
I think this should be 0x3C2.
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/radeon/r100d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r100d.h b/drivers/gpu/drm/radeon/r100d.h index b121b6c678d4..eab91760fae0 100644 --- a/drivers/gpu/drm/radeon/r100d.h +++ b/drivers/gpu/drm/radeon/r100d.h | |||
@@ -551,7 +551,7 @@ | |||
551 | #define S_000360_CUR2_LOCK(x) (((x) & 0x1) << 31) | 551 | #define S_000360_CUR2_LOCK(x) (((x) & 0x1) << 31) |
552 | #define G_000360_CUR2_LOCK(x) (((x) >> 31) & 0x1) | 552 | #define G_000360_CUR2_LOCK(x) (((x) >> 31) & 0x1) |
553 | #define C_000360_CUR2_LOCK 0x7FFFFFFF | 553 | #define C_000360_CUR2_LOCK 0x7FFFFFFF |
554 | #define R_0003C2_GENMO_WT 0x0003C0 | 554 | #define R_0003C2_GENMO_WT 0x0003C2 |
555 | #define S_0003C2_GENMO_MONO_ADDRESS_B(x) (((x) & 0x1) << 0) | 555 | #define S_0003C2_GENMO_MONO_ADDRESS_B(x) (((x) & 0x1) << 0) |
556 | #define G_0003C2_GENMO_MONO_ADDRESS_B(x) (((x) >> 0) & 0x1) | 556 | #define G_0003C2_GENMO_MONO_ADDRESS_B(x) (((x) >> 0) & 0x1) |
557 | #define C_0003C2_GENMO_MONO_ADDRESS_B 0xFE | 557 | #define C_0003C2_GENMO_MONO_ADDRESS_B 0xFE |